Thread: Possibly simple question

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    40

    Possibly simple question

    Hey again lol,

    I can't figure out how, or know if it's possible, to have one program that's running in console to run another program that also runs in console (via "system()"), and having the programs run side-by-side, instead of the second program run as if you had called it like a function.

    Specifically, I'm writing a chat program to run over my school's network, and it operates by saving text to a chat log file. I was hoping to have one program completely dedicated to fetching new lines of text from the file, while the other program still accepted text and wrote it to the file.

    Help anyone?

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    40
    Sorry, google delivered. Too hasty in posting here. For future wonderers, to run "chatmaindisplay" in a different window from the rest:
    Code:
    system("chatmaindisplay.bat");
    
    Code:
    //chatmaindisplay.bat
    start chatmaindisplay.exe

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question regarding variables
    By Flakster in forum C++ Programming
    Replies: 10
    Last Post: 05-18-2005, 08:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM