CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 22

Threaded View

  1. #20
    Join Date
    Jan 2009
    Location
    IN my computer,
    Posts
    24

    Re: Complies but doesn't run

    well with out the system("pauses") you need to go into command prompt, then navigate to the executibal and run it.

    You put the pauses in places (well at least for me) when something is read out and nothing is being entered.

    example
    Code:
    void errorcm()
    {
         cout << ent << " Is Not A Command" << '\n' ;
         system("pause");
         system("cls");
    	 help();
    }
    that paused it after displaying
    "asdf" is not a command
    and the cleared it up, so the stuff in help() could be displayed more cleanly

    also im using Dev C++ and system("") is the function for that, and the <cstdio> is not the system stuff, thanks for correcting me.
    Last edited by H aun; January 24th, 2009 at 03:42 PM. Reason: stuff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured