Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Borland C++ 6 problem

j9678j9678 Member Posts: 16
everyone know system("pause") and getchar() can pause the DOS screen after compile.
It was no problem when I using Borland C++ 6 serveral yrs ago on WinMe.
But today, there's no more PAUSE again running on WinXP.
That's strange.
Anyone have a clue ?

Comments

  • LundinLundin Member Posts: 3,711
    Sure there is a pause command in Win XP. But it isn't good programming-practice to rely on the system() function, since it is by definition platform-specific. Use getchar() instead.
  • j9678j9678 Member Posts: 16
    : Sure there is a pause command in Win XP. But it isn't good
    : programming-practice to rely on the system() function, since it is
    : by definition platform-specific. Use getchar() instead.

    Hey guys ! Find out what cause the problem. I should choose 'Console Wizard' instead of 'C File' when open new file. My own mistake, please ignore this thread. ^o^
Sign In or Register to comment.