OH- See -_-
Type: Posts; User: The7thCrest
OH- See -_-
I didn't use /n anywhere, in my text or my code, however I do know that '/n' is a new line tag. Like
cout<<("Hello World \n") says output to the screen and then move to the nest line
I understand that I need double slashes now, but I still don't understand the explanation of how or why I do.
I did include <fstream>, but I don't understand what you mean by escape your backlashes.
I'm sorry, but I have no idea what you just said, however I did just discover that even if I slightly alter the tutorial, it still does not work.
#include <fstream>
#include <iostream>
using...
MY PROBLEM IS STILL UNSOLVED... If anyone can help I would appreciate it
That means I misspelled the error, but in the program my command is ofstream, spelled correctly
I didn't misspell, trust me that was the first thing I checked, the tutorial reference that I am using has ofstream, i'll go and check to make sure that is the right command
For some reason my ofstream command isn't working, I can't run my program
#include <iostream>
#include <fstream>
int Main()
{
ofstream a_file ("C:\users\jason\excess\testfile.txt");
...
Ok, Thanks
I just got done reading the file I/O tutorial, and i'm wondering, since the functions just create, add to, clear, or open files. Where do I need to place my files. I'm sorry I'm probably very...
I think I need a better understanding of how C++ before I figure this out can someone volunteer to add me to AIM and try and explain somewhat how to do this and why I have to do it this way?
...
Yes I did, I understand that C++ has no screen function because of the fact that it is multiplatform (understated)
I'm still a bit lost
Will it help people to know that my programming background is in basic? I'm looking for a kind of clear screen like the Cls command in Basic
I have been programming games for a little over a year now. I have only been programming in Basic4GL which is a Basic context language with an IDE that is built for openGl.
I have recently started...
good lord...
Why is everything so much harder in C++???
I'm using dev-C++ the most recent version, and I'm making a standard windows program, how do I clear the screen without changing...
Is there a clear screen command in C++ because I need one and I have yet to find it.
Nice ty, It works now, very helpful information. Thanks
I'm confused, I know that = and == are not the same, but if I do:
while ( retry == "Y"||"y" );
Then I get an error:
ISO C++ forbids comparison between pointer and interger
I'm sorry, I'm green as grass to C++. I do have experience with Basic4Gl and some regular and visual Basic. I have a small test program set up to test out the things i've learned from the 1st 3...