View Single Post
Old 02-09-2007, 08:00 PM   #18 (permalink)
Yamaraj
The Lord of Death
 
Yamaraj's Avatar
 
Join Date: May 2005
Location: यमलोक
Posts: 253
Default Re: Post ur C/C++ Programs Here

Quote:
Originally Posted by xbonez
@yamraj : what was wrong with my prog?? it seemed to run perfectly fine
Using implementation dependent libraries and functions like clrscr(), and the nonstandard "void main()" violates the rules of the ISO C++ standard. Your executable may run fine on a system, but your code needs more love.

I recommend a decent and recent C++ book, like C++: How To Program, C++ Primer, 4th/e or C++ Primer Plus.
Yamaraj is offline