Thread: Run File?

  1. #1
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379

    Run File?

    (WinXP, Borland C++ Free Command Line Compiler)

    I'm making a console game, I have a problem though, if I send a message through cout it ends up messing with my UI (Which has to be redraw every few seconds anyway). I'm trying to avoid relying on windows.h to much (Though, I'm going to end up using it anyways.) But, I want to atleast try to make my own message box.

    So, is their some function to run an exe from a program? (Also, If I do this, is their some way to send values to it?)

    Thank you!
    Code:
    Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > So, is their some function to run an exe from a program?
    Yes, several are listed in the FAQ

  3. #3
    60% Braindead
    Join Date
    Dec 2005
    Posts
    379
    It appears I missed thoes. Looks like I'm going to have to do some reading on how parent/child processes communicate.

    Thanks salem.
    Code:
    Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM