Sorting in Visual Studio C++

edited June 2005 in Internet & Media
I currently wrote a program with three searching algorithms (sequence, ordered, and binary) I can compile the file fine but it will not run. Would someone mind looking at the program for me? Please let me know and I will send the source code via email.

mike012477@yahoo.com

Thanks
Mike

Comments

  • edited June 2005
    Before I see the code maybe you can you provide a bit more information about the compiler and the error you are getting when you run the program?

    Is the compiler Visual studios 6, .Net or something else?

    Are you able to compile and run "Hello World"?

    What happens when you run the executable from the command line?

    CSwett
  • mmonninmmonnin Centreville, VA
    edited June 2005
    You could post it here and we could try on our own systems.
  • edited June 2005
    I am using visual studio 2003 for the environment. (Visual studio 7 .net)
    When I compile, I do not get any errors, it succeeds. Yet when I run it, I just get a quick dos window. When I run it from a cmd line, I get nothing. The code is a little much to post (it is 7 files linked together) I would rather zip the bunch and forward them. If posting is not a problem, then I can do that too. Let me know.

    Thanks for the quick responses. :thumbsup:
  • mmonninmmonnin Centreville, VA
    edited June 2005
    Is there any user input to the program? IE does the program just run thru some stuff, print it out and finish all on its own?

    system("pause");

    That should make the program pause until the user enters a key.
Sign In or Register to comment.