Beginners - June 2010 (Page 3)

how can i write to file with out carriage return
 
hi all .. i'm trying to write to file ok then i used a streamwrtier then try to write to file some...
[3 replies] Last: This is a C++ forum. (by helios)
I ran into a roadblock called THE STRING.
 
Hello, I am new to C++ and have ran into a road block; I hope you guyes would assist me in discoveri...
[7 replies] Last: I get an error for line 3 which is #include <string> The error reads... (by moorecm)
Random Array
 
I'm writing a program that will show a unit and the user must confirm if its right or wrong. #in...
[7 replies] Last: Sure. I think I should check the links you gave to me. I have to start... (by mainframe639)
unsgined char array
 
Hi guys, I've initialized a couple of unsigne char array like this eye_frame = new unsigned c...
[5 replies] Last: @Galik. yep, I know it: one of the hyp. is that 0 is encoded as end of... (by tinauser)
by tj513
undeclared identifier
 
New to C++ and getting "undeclared identifier" on "course" and "gpa". Jut trying to write simple ar...
[9 replies] Last: @R0mai: ok, then i'll just use std::... etc :) @tj513: next time you ... (by kaduuk)
Problems with classes i think
 
Hi, I have tried to create a simple console game in C++ by watching game dev tutorial videos but i ...
[no replies]
Review my "draw triangle out of signs" code (absolute beginner)
 
I've just started learning C++ and I decided to make a program that asks user for a length of a tria...
[no replies]
Problems with char arrays in dynamic memory...
 
I can't seem to pin down why my program, when run, will puke out this: ... omitted ... a.cpp:...
[3 replies] Last: Apperently, the cpp was really an exe, it somehow got renamed to .cpp.... (by RyanCaywood)
by adny
[Linker error] undefined reference to `WinMain@16'
 
I've just learned how to split a program in more subprograms and how I can create header files, but ...
[7 replies] Last: Thanks a lot for helping me with this. Not the console closing was the... (by adny)
I have a few errors that I can't figure out
 
Well I'm having quite a bit of errors with my code and have tried figuring out how to fix it, but I...
[2 replies] Last: hi i guess you can not use radius and diameter and circumference and ... (by sourena)
Recursion depth
 
Hi, I am in the process of developing a c++ software and one of the requirements is to build a tree...
[2 replies] Last: Thanks helios, It is certainly helpful to know that i could go that d... (by kishor8dm)
functions
 
i'm just starting to learn about functions and i can't figure out what i did wrong here... help? ...
[5 replies] Last: thanks for the help! (by madelineosman)
Push_back for Vector in Vector
 
I have a class defined as class Employee { public: //need constructor void processTimeCar...
[1 reply] : Since you made pIn/pOut private members, you can't access them directl... (by firedraco)
Trying to create a buy/sell program
 
I've decided to write a program as an exercise to understand switches. Since I'm going into programm...
[6 replies] Last: Okay. Thanks for all the help. (by feelinGood)
How to download an exe file from the internet
 
Hello, I am trying to find a way to download an .exe file from the internet. I already know how t...
[18 replies] Last: OK that compiles correctly. I think that's it. when I'm done I w... (by adam8797)
Attempting to read data from a file line by line
 
I am entirely new to programming in C++ but have coded to a reasonable extent within python. I am at...
[8 replies] Last: Hi Galik, Thank you so much for all your help. Managed to get it wo... (by herbie13)
preprocessor
 
what is the difference between: #define getMax1(a,b) a>b?a:b and #define getMax2(a,b) ((...
[7 replies] Last: According to the C++ standard, it is not defined as to when x is post ... (by jsmith)
is it possible?
 
i wrote a code that shows a RHOMBIC with equal diameters... is it possible to show a RHOMBIC with d...
[2 replies] Last: Hi, do you program like this? Cause this way kinda sucks... Could ... (by kaduuk)
Superscript
 
hi! can we show chars in sub/superscript in console (MS-DOS)? like 2x3 -> 2x 3 ? thnx
[1 reply] : I think those are not part of the standard windows font (ASCII charset... (by RedX)
Best method for baseball program
 
Im an amateur programmer so be kind. I assistant coach a baseball team here in town, lately the h...
[6 replies] Last: I couldn't resist taking a crack at this problem. Here is a program wh... (by closed account D80DSL3A)
June 2010 Pages: 12345... 26
  Archived months: [may2010] [jul2010]

This is an archived page. To post a new message, go to the current page.