Std strings. I fixed it with an if statment before the line that prints to the file, though.
EDIT: Typing the code tags in Quick Reply doesn't work ?
Type: Posts; User: Loknar Gor
Std strings. I fixed it with an if statment before the line that prints to the file, though.
EDIT: Typing the code tags in Quick Reply doesn't work ?
Okay, there is another problem I don't know how to solve.
I use a while loop to dictate wether to continue asking the user for input, or end at their request. If they type the number 1, the loop...
Ok, thanks. I was just using C style because I didn't know how to get input to C++ style strings
I am trying to make a text editor using console and char array[100] strings.
If this isn't possible, tell me now :D My error code is as follows:
char fileName[100];
cout << "What...
I am 12 OMG!
Crazy IM moment over. I started programming Basic at 10 or 11, decided I wanted to make bigger, more intresting programs. Switched to C++ last Christmas, been using it ever since.
ahh...
Another thing learned. I really should read the FAQ.
main
{
//code
Isn't an int needed in front of main?
Thanks for your input! Classes seem the better choice. I am in the process of implementing some classes now :)
I am creating a game with several others and am putting myself on a crash course on C++ game design. I made a post in the Project forums. I have most of the basic skills and a very simple idea of...
Hello,
I am the 'leader' of a project to develop an RPG game. We only have two dedicated programmers, myself and another team member. If you are intrested and would like more information, email...