> I've got to try and remember C now! If you have: > > long i = 10; > scanf( buffer, "%c", i ); // scanf equiv to format
Modern compilers like VC7+ and gcc give a warning on that code, but I agree wholeheartedly to Paul. All the functions expecting a 'format string' had better be replaced by more advanced C++ typed constructs. As an example, I like the Standard C++ I/O Stream library <iostream> a lot. ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [EMAIL PROTECTED] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] "The brightest future will always be based on a forgotten past."
