general C++ help - compilers, file access etc
i'm pretty new to C++ and currently my programming is very much a crude mixture of C with some C++ elements as i'm still trying to get my head around object orientated programming. Firstly i was wondering if anyone had any suggestions of which compiler to use...
I have been using mainly the Borland C++ V4.51 IDE for my compiling as i had previously used it for C coding, but i notice it doesn't want to let my use the namespacing features of C++ - does anyone know why this is!?? I presume it could be that its compliant with an earlier standard of C++ as borland is now 10 years old!
So, I have also tried (and failed!) the Visual Studio .NET 2003 but thats pretty confusing and doesn't seem to let me use some of the standard include files... does anyone know of a good tutorial? the help isn't very helpful i find.
anyway, this brings me to a programming question about file handling.
if say, i have this snippit in my program how do i reset the file pointer to the begenning (or end) of the file so i can read it again? - i want to scan the entire file for the last entry as i need to use that before i use the rest of the data.
outfile << ch;
i tried using the fseek function but thats a C, not a C++ function isn't it?
Appologies for the lame questions, but any help will be thankfully received.