Is there any method to find what is the error while Executing System() function?
Recommended Answers
Jump to PostThis is a typical answer that can be found through 2 seconds of googling.
http://www.cplusplus.com/reference/clibrary/cstdlib/system/
Though I generally think calling system() is a bad design, the overhead is massive and mostly there are much better alternatives.
Jump to PostApplication that use system() to clear the screen are a downright pain in the ass, excuse my language.
As a user of the application, I might have some 'important' information on the console before running the application, if the application 'clears' the screen with system() all of this is …
All 5 Replies
thelamb
163
Posting Pro in Training
pspwxp fan
1
Junior Poster in Training
thelamb
163
Posting Pro in Training
William Hemsworth
commented:
Yup yup.
+5
Ancient Dragon
commented:
good point :)
+25
pspwxp fan
1
Junior Poster in Training
thelamb
163
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.