Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Banaticus

List of system calls?

This topic is 5248 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone have a list of system calls? Things such as: system("pause"); //outputs a message saying, //"press any key to continue" //and waits until any key is pressed system("cls"); //clears output window etc. (requires cstdlib header) I''m told that these are DOS 6.3 functions, and since Windows has a DOS emulator, some of them work in C++ programs on windows. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by Banaticus
I''m told that these are DOS 6.3 functions, and since Windows has a DOS emulator, some of them work in C++ programs on windows.
Yes. They''re also disgusting, and there''s hardly any reason to use them. CLS, for example, prints 25 newlines in a standard Windows command shell. PAUSE can be handled by normal I/O blocking (cin, scanf, getch - though getch is non-standard), etc.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!