![]() |
|
#1
|
||||
|
||||
Re: Things to Avoid in C/C++ -- system("pause"), Part 4I just posted a GID Community blog entitled: Things to Avoid in C/C++ -- system("pause"), Part 4.
Quote:
Please let me know what you think. This is an auto-generated message posted by GIDNetwork™ on behalf of the author. __________________
Age is unimportant -- except in cheese |
|
#2
|
|||
|
|||
Re: Things to Avoid in C/C++ -- system("pause"), Part 4I read your article and it makes sense. But it also raises another question for me. Why does it exist?
|
|
#3
|
||||
|
||||
Re: Things to Avoid in C/C++ -- system("pause"), Part 4Because the system() function can be used to execute any operating system command, like dir, ls, rename, etc. Even shutdown given the proper command syntax.
The pause command is used in batch files to pause execution of the file. And like many things in life, you are allowed to combine things that should not be combined, like peanut butter and pickles. Both are useful, but together they suck. __________________
Age is unimportant -- except in cheese |
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Things to Avoid in C/C++ -- gets() , Part 1 | WaltP | C Programming Language | 5 | 21-Jun-2007 12:13 |
| Re: Things to Avoid in C/C++ -- feof(), Part 3 | WaltP | C Programming Language | 0 | 19-Sep-2005 20:00 |
| Re: Things to Avoid in C/C++ -- fflush(stdin), Part 2 | WaltP | C Programming Language | 0 | 17-Sep-2005 20:39 |
| Web Site Optimization - the basic things | dimos31 | Search Engine Optimization Forum | 3 | 19-Jun-2005 12:00 |
| [Tutorial] Pointers in C (Part II) | Stack Overflow | C Programming Language | 0 | 27-Apr-2005 17:36 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The