See here, this is from ultra compare
http://s951.photobucket.com/albums/ad358/sig3444/?action=view¤t=thisiswhatImean_1.jpg
Type: Posts; User: sting777
See here, this is from ultra compare
http://s951.photobucket.com/albums/ad358/sig3444/?action=view¤t=thisiswhatImean_1.jpg
Sorry the examples I've been using aren't the best and often times don't have enough real world examples of usage, the book I've been reading loves using while loops to write files and that's where...
Ok this code read the file but I had to insert an if statement in their or else the files near the end would not be written properly when I did a text file comparison to see if they were exact.
If...
Sec I may have found the prob.
I am trying to parse a code textfile using getline but it always discards the newline character and inserts a null, I want to know if their is an easy way to append a newline to the end of the string...
I've been noticing the gap between characters read and the file size on my XP system with a loop I just have go through a text file and read characters.
Is EOF OS/Implementation specific? So far...
I still have address issues with some parts of the code, note that this code is just me tooling around with reading files.
The main function is in rput_readfile, the line that prints addresses is:...
Oops new problem, the code now crashes at the end of the program, the program finishes and then I get an error in the visual C dll.
Your code worked!
Here's the code, I made it as simple as possible, just run the exe and get the error, and it prints the address, I also swapped cerr with cout and still got the same error.
int _tmain(int...
The following code prints the address instead of a string in VC ++ 2010 I'm new do I have to do a conversion, is this a bug with VC++?
cout<<"usage: "<< argv[0] <<" <filename>\n";
I...