Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 sytem("pause") whats the big deal?
Index -> Programming, C++ -> C++ Help
Goto page Previous  1, 2, 3
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
md




PostPosted: Mon Nov 21, 2011 5:08 pm   Post subject: Re: sytem("pause") whats the big deal?

Velocity @ 2011-11-21, 10:49 am wrote:
they use system ("pause") because it tells you exactly where to implement your command. but if you use
#include <conio.h_> you will only be abel to do it for the whole program. So to sum it up, it will allow you to be more specific and exact about where you want to place your pause.


Not only are you wrong, but you are encouraging the use of a platform specific C library instead of using some bog standard C++. system("pause") is bad practice. using conio is even worse practice.
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Mon Nov 21, 2011 11:43 pm   Post subject: RE:sytem("pause") whats the big deal?

I am locking this topic as it is clear some of the new posters have not read the first page were this debate was finished in February.

md is correct, and if you want more detials read the first two pages.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 3 of 3  [ 32 Posts ]
Goto page Previous  1, 2, 3
Jump to:   


Style:  
Search: