Thread: need help here

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    3

    Exclamation need help here

    is it possible to open another source code as a program with the current source code you are editting?

  2. #2
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    what compiler are you used, this is different with each editor and/or ide compiler.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    is it possible to open another source code as a program
    It would have to be compiled first for C.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    3
    I'm using a complier name bloodshed and i was thinking to link the two program together. Is it possible to use the compile program to run the other compile program? And what is the source code to do so......

  5. #5
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    system( "mypathandprogram" );

    This is usually not advised however.

    Quzah.
    Hope is the first step on the road to disappointment.

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    57
    Suddenly my english has become worse from bad.


    >>>>is it possible to open another source code as a program with the current source code you are editting?

    I did not understand the question.

    If that means, running a new process from a currently running process, you are looking for fork() and exec(). system() would do for you but as Quzah said not advisable. What is it on microsoft side, I have no clue.

    Anoop.

Popular pages Recent additions subscribe to a feed