Saturday, January 14, 2012
C language error, What's wrong with my code?
The others are right about the error, but don't listen to them about system("pause"), it's fine. There is nothing wrong with writing platform specific code. Especially if you are just learning the language. It's not like you actually plan on distributing this program to a wide audience. As long as you are aware that "pause" is a windows specific command, and I'm sure you are, there's nothing wrong with using it. And if someone has a command "pause" that deletes files, they deserve to have their whole hard drive erased and to be banned from ever using a computer again.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment