That helps! Thanks again everyone. :)
-JMB
Type: Posts; User: JMB
That helps! Thanks again everyone. :)
-JMB
I guess what I'm asking is... Fordy said that in the case of declaring an automatic c-string variable, the bytes are copied to the stack. This makes sense, of course. But what I'm wondering -- is the...
Interesting. I wonder why they do it that way?
I come from a background in Pascal, where there is no "automatic duration", unless you want to count function data variables that are pushed onto the stack when the function is called. Static...
I think I'll use CBuilder -- the command-line tools are free at the moment. Sounds good.
Thanks a lot!
I have read the Programming FAQ, to no avail. I have been using Dev-C++ and MinGW for a month now, and lately I have been very unhappy with MinGW. Firstly, I am not currently interested in...
Hammer,
Thank you for the clarification. How can I use ifstream in binary mode so that I get the file exactly byte-for-byte? I thought get() would solve that problem but apparantly not...
-JMB
So am I to understand that the file stream swallow the CR/LF characters and replaced it with one character?
With a background in DOS, I always understood that newlines in text files required TWO characters rather than one like on UNIX. So if I'm reading one character at a time using get(), how can I check...