Community discussion forum

Programming in C++

This is a comment thread discussing Programming in C++
  • 9 years ago

    This thread is for discussions of Programming in C++.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 5 years ago

    if you remove the " return 0; " part on the second page of your tutorial, it stops, with the line it doesnt. I use win xp, could it be that whats making it work bad?

  • 5 years ago

    Thank you jawsper for noticing the mistake in the tutorial. In the program example on the second page, you can either remove 'return 0;' or simply place 'system("PAUSE");' directly before the 'return 0;' statement. Currently, I have 'return 0;' before 'system("PAUSE");' and it is causing your compiler to "break" out of program execution before pausing the output stream to display output. I will be sure to remove the error the next time I update the tutorial. Thanks again. Your input is much appreciated.

  • 5 years ago

    How come when i visit these pages i can never view the examples? is this just to get people really annoyed??

  • 2 years ago

    Have copied and pasted your program into DevC++, compiled with DevC++ compiler with no errors. I have run the program and been most careful to type in full paths of files but the program ends without doing anything. Sometimes it ends after I have typed in the first path, sometimes the third. I don't know enough to fathom what's wrong with it. Can you advise?

Post a reply

Enter your message below

Sign in or Join us (it's free).