Thread: Starting a new program

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    Correct me if I'm wrong, but I'm pretty sure that's what the system() call does... if you want a console application to open in a new window, you'll have to do something like pass cmd.exe the name of the console application as an argument.

  2. #2
    Registered User
    Join Date
    Jun 2007
    Posts
    25
    Could you give me an example.

    I thought system could only be used toaccess things like "ping" that are commonly used in command prompt. I also read elsewere on this forum that system(); isn't a good command to use.

  3. #3
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by histevenk View Post
    Could you give me an example.

    I thought system could only be used toaccess things like "ping" that are commonly used in command prompt. I also read elsewere on this forum that system(); isn't a good command to use.
    Why would it have such a limitation? You can run a GUI program from the command prompt, right? So why should system() not be able to?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting C++;First Program
    By Caliban in forum C++ Programming
    Replies: 5
    Last Post: 04-11-2009, 01:41 PM
  2. Starting a program
    By mcgeady in forum C++ Programming
    Replies: 3
    Last Post: 02-25-2006, 12:52 PM
  3. starting program
    By Ideswa in forum C++ Programming
    Replies: 3
    Last Post: 02-20-2006, 02:36 PM
  4. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM