<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'program to execute another program' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'program to execute another program' posted on the 'C and C++' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 20:41:12 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 20:41:12 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/331934/program-to-execute-another-program/</link>
      <description>Is there a way to write a program to execute another program. I'm trying to start a game without me actually having to double click the icon. I tried writing a program below to just open the file game.exe but that doesn't work.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
#include &amp;lt;iostream&amp;gt;
#include &amp;lt;fstream&amp;gt;
using namespace std;
int main(){
    ifstream inFile;
    inFile.open("game.exe");
    if(!inFile){
      
      cout&amp;lt;&amp;lt;"Cannot open file bish."&amp;lt;&amp;lt;endl;
      system("pause");
      return 1;
      }
    
    system("pause");
}&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/331934/program-to-execute-another-program/</guid>
      <pubDate>Mon, 13 Mar 2006 23:35:56 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/331949/re-program-to-execute-another-program/#331949</link>
      <description>: Is there a way to write a program to execute another program. I'm trying to start a game without me actually having to double click the icon. I tried writing a program below to just open the file game.exe but that doesn't work.&lt;br /&gt;
: &lt;br /&gt;
: &lt;pre class="sourcecode"&gt;
: #include &amp;lt;iostream&amp;gt;
: #include &amp;lt;fstream&amp;gt;
: using namespace std;
: int main(){
:     ifstream inFile;
:     inFile.open("game.exe");
:     if(!inFile){
:       
:       cout&amp;lt;&amp;lt;"Cannot open file bish."&amp;lt;&amp;lt;endl;
:       system("pause");
:       return 1;
:       }
:     
:     system("pause");
: }&lt;/pre&gt;&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nothing wrong with .bat files... but if you want to do this from a program you could either use system("game.exe") or a Win API function like ShellExecute().&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/331949/re-program-to-execute-another-program/#331949</guid>
      <pubDate>Tue, 14 Mar 2006 02:13:43 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/331953/re-program-to-execute-another-program/#331953</link>
      <description>: : Is there a way to write a program to execute another program. I'm trying to start a game without me actually having to double click the icon. I tried writing a program below to just open the file game.exe but that doesn't work.&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;pre class="sourcecode"&gt;
: : #include &amp;lt;iostream&amp;gt;
: : #include &amp;lt;fstream&amp;gt;
: : using namespace std;
: : int main(){
: :     ifstream inFile;
: :     inFile.open("game.exe");
: :     if(!inFile){
: :       
: :       cout&amp;lt;&amp;lt;"Cannot open file bish."&amp;lt;&amp;lt;endl;
: :       system("pause");
: :       return 1;
: :       }
: :     
: :     system("pause");
: : }&lt;/pre&gt;&lt;br /&gt;
: : &lt;br /&gt;
&lt;br /&gt;
You could use :-&lt;br /&gt;
&lt;br /&gt;
system("./game");&lt;br /&gt;
&lt;br /&gt;
or whatever the file is called, but system will not return until the game has finished running (basically the C code will pause here untill the game has finished). If you still want control of the C code then I would do this:-&lt;br /&gt;
&lt;br /&gt;
int i;&lt;br /&gt;
&lt;br /&gt;
i = fork();&lt;br /&gt;
&lt;br /&gt;
if (i == 0){&lt;br /&gt;
     system("whatever command you use to run the game..");&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
     rest of your program here&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
..........I think :-s&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/331953/re-program-to-execute-another-program/#331953</guid>
      <pubDate>Tue, 14 Mar 2006 03:32:01 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/331961/re-program-to-execute-another-program/#331961</link>
      <description>: : : Is there a way to write a program to execute another program. I'm trying to start a game without me actually having to double click the icon. I tried writing a program below to just open the file game.exe but that doesn't work.&lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;pre class="sourcecode"&gt;
: : : #include &amp;lt;iostream&amp;gt;
: : : #include &amp;lt;fstream&amp;gt;
: : : using namespace std;
: : : int main(){
: : :     ifstream inFile;
: : :     inFile.open("game.exe");
: : :     if(!inFile){
: : :       
: : :       cout&amp;lt;&amp;lt;"Cannot open file bish."&amp;lt;&amp;lt;endl;
: : :       system("pause");
: : :       return 1;
: : :       }
: : :     
: : :     system("pause");
: : : }&lt;/pre&gt;&lt;br /&gt;
: : : &lt;br /&gt;
: &lt;br /&gt;
: You could use :-&lt;br /&gt;
: &lt;br /&gt;
: system("./game");&lt;br /&gt;
: &lt;br /&gt;
: or whatever the file is called, but system will not return until the game has finished running (basically the C code will pause here untill the game has finished). If you still want control of the C code then I would do this:-&lt;br /&gt;
: &lt;br /&gt;
: int i;&lt;br /&gt;
: &lt;br /&gt;
: i = fork();&lt;br /&gt;
: &lt;br /&gt;
: if (i == 0){&lt;br /&gt;
:      system("whatever command you use to run the game..");&lt;br /&gt;
: }&lt;br /&gt;
: else{&lt;br /&gt;
:      rest of your program here&lt;br /&gt;
: }&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: ..........I think :-s&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Don't use fork() in Windows... get some handle to the game (with EnumWindows, FindWindow etc) and poll that handle now and then from your program. Or make a thread executing the system() / ShellExecute() call.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/331961/re-program-to-execute-another-program/#331961</guid>
      <pubDate>Tue, 14 Mar 2006 04:49:05 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/331992/re-program-to-execute-another-program/#331992</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by jedi06 at  2006-3-14 15:16:57&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
&lt;br /&gt;
: Don't use fork() in Windows... get some handle to the game (with EnumWindows, FindWindow etc) and poll that handle now and then from your program. Or make a thread executing the system() / ShellExecute() call.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
I definitely don't want code to stop becuase I want it to execute multiple instances of the game.  I have heard of fork, never used it.&lt;br /&gt;
&lt;br /&gt;
When I try to execute the game with system("game.exe") it works within the game folder. But if i try to put the complete path of game.exe it does not work I think becuase windows has spaces in all its folders.&lt;br /&gt;
so the pathname is "C:\Program Files\Diablo II\game.exe" &lt;br /&gt;
error tells me 'C:Program' is not recognized as an internal or external command, operable program or batch file.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/331992/re-program-to-execute-another-program/#331992</guid>
      <pubDate>Tue, 14 Mar 2006 12:31:02 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332018/re-program-to-execute-another-program/#332018</link>
      <description>: I definitely don't want code to stop becuase I want it to execute multiple instances of the game.  I have heard of fork, never used it.&lt;br /&gt;
: &lt;br /&gt;
: When I try to execute the game with system("game.exe") it works within the game folder. But if i try to put the complete path of game.exe it does not work I think becuase windows has spaces in all its folders.&lt;br /&gt;
: so the pathname is "C:\Program Files\Diablo II\game.exe" &lt;br /&gt;
: error tells me 'C:Program' is not recognized as an internal or external command, operable program or batch file.&lt;br /&gt;
: &lt;br /&gt;
&lt;span style="color: Purple;"&gt;&lt;br /&gt;
u can try this pathname: "C:\\\"Program Files\"\\\"Diablo II\"\\game.exe"&lt;br /&gt;
or: "C:\\Progra~1\\Diablo~1\\game.exe" if Diablo II is the only folder that starts with Diablo. otherwise, i think u need to use Diablo~2 or something like this.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;span style="color: Purple;"&gt;~Donotalo()&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332018/re-program-to-execute-another-program/#332018</guid>
      <pubDate>Tue, 14 Mar 2006 20:56:34 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332048/re-program-to-execute-another-program/#332048</link>
      <description>: : I definitely don't want code to stop becuase I want it to execute multiple instances of the game.  I have heard of fork, never used it.&lt;br /&gt;
: : &lt;br /&gt;
: : When I try to execute the game with system("game.exe") it works within the game folder. But if i try to put the complete path of game.exe it does not work I think becuase windows has spaces in all its folders.&lt;br /&gt;
: : so the pathname is "C:\Program Files\Diablo II\game.exe" &lt;br /&gt;
: : error tells me 'C:Program' is not recognized as an internal or external command, operable program or batch file.&lt;br /&gt;
: : &lt;br /&gt;
: &lt;span style="color: Purple;"&gt;&lt;br /&gt;
: u can try this pathname: "C:\\\"Program Files\"\\\"Diablo II\"\\game.exe"&lt;br /&gt;
: or: "C:\\Progra~1\\Diablo~1\\game.exe" if Diablo II is the only folder that starts with Diablo. otherwise, i think u need to use Diablo~2 or something like this.&lt;br /&gt;
: &lt;/span&gt;&lt;br /&gt;
: &lt;hr /&gt;&lt;span style="color: Purple;"&gt;~Donotalo()&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
With ANSI C and Windows, the correct path should be&lt;br /&gt;
&lt;br /&gt;
"C:\\Program Files\\Diablo II\\game.exe"&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332048/re-program-to-execute-another-program/#332048</guid>
      <pubDate>Wed, 15 Mar 2006 02:53:12 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332051/re-program-to-execute-another-program/#332051</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by stober at  2006-3-15 3:24:6&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: &lt;br /&gt;
: I definitely don't want code to stop becuase I want it to execute multiple instances of the game. &lt;br /&gt;
&lt;span style="color: Blue;"&gt;Then use win32 api function CreateProcess() which will let your program continue after the game has started&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: I have heard of fork, never used it.&lt;br /&gt;
&lt;span style="color: Blue;"&gt;fork() is a unix function and not supported in MS-Windows operating system.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
: When I try to execute the game with system("game.exe") it works within the game folder. But if i try to put the complete path of game.exe it does not work I think becuase windows has spaces in all its folders.&lt;br /&gt;
: so the pathname is "C:\Program Files\Diablo II\game.exe" &lt;br /&gt;
: error tells me 'C:Program' is not recognized as an internal or external command, operable program or batch file.&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;span style="color: Blue;"&gt;I play Diablo II a lot too.  The game will not allow multiple instances of the game on the same computer.  There is really no point in doing that because, like most games, it takes over the entire monitor for game play.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332051/re-program-to-execute-another-program/#332051</guid>
      <pubDate>Wed, 15 Mar 2006 03:23:44 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332083/re-program-to-execute-another-program/#332083</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by jedi06 at  2006-3-15 11:35:35&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by jedi06 at  2006-3-15 11:28:15&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by jedi06 at  2006-3-15 11:27:6&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: &lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by stober at  2006-3-15 3:24:6&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : I definitely don't want code to stop becuase I want it to execute multiple instances of the game. &lt;br /&gt;
: &lt;span style="color: Blue;"&gt;Then use win32 api function CreateProcess() which will let your program continue after the game has started&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: : I have heard of fork, never used it.&lt;br /&gt;
: &lt;span style="color: Blue;"&gt;fork() is a unix function and not supported in MS-Windows operating system.&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: : &lt;br /&gt;
: : When I try to execute the game with system("game.exe") it works within the game folder. But if i try to put the complete path of game.exe it does not work I think becuase windows has spaces in all its folders.&lt;br /&gt;
: : so the pathname is "C:\Program Files\Diablo II\game.exe" &lt;br /&gt;
: : error tells me 'C:Program' is not recognized as an internal or external command, operable program or batch file.&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: &lt;span style="color: Blue;"&gt;I play Diablo II a lot too.  The game will not allow multiple instances of the game on the same computer.  There is really no point in doing that because, like most games, it takes over the entire monitor for game play.&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
"C:\\Program Files\\Diablo II\\game.exe" -did not work&lt;br /&gt;
"C:\\\"Program Files\"\\\"Diablo II\"\\game.exe" -worked&lt;br /&gt;
&lt;br /&gt;
What is up with all the slashes and quotes. What are they doing?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
stober, do I need a certain header for win32 api function CreateProcess()?&lt;br /&gt;
&lt;br /&gt;
stober, I load up 40 instances of d2 using d2loader on 3 comps and play them in window mode with the -w command after the target in the shortcut properties.&lt;br /&gt;
&lt;br /&gt;
I'm just tired loading them all up all the time. I thought this might be an easy program to make. I just need them to load up just like i was double clicking the shortcuts, its a little more complicated than that but that would be a great start.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332083/re-program-to-execute-another-program/#332083</guid>
      <pubDate>Wed, 15 Mar 2006 11:15:44 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332116/re-program-to-execute-another-program/#332116</link>
      <description>: : &lt;br /&gt;
: "C:\\Program Files\\Diablo II\\game.exe" -did not work&lt;br /&gt;
: "C:\\\"Program Files\"\\\"Diablo II\"\\game.exe" -worked&lt;br /&gt;
&lt;span style="color: Blue;"&gt;You need something like this:  The outmost quotes are for the C compiler and are not passed to the system() function.  &lt;/span&gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
   system("\"D:\\Program Files\\Diablo II\\game.exe\"");
&lt;/pre&gt;&lt;br /&gt;
: &lt;br /&gt;
: What is up with all the slashes and quotes. What are they doing?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
you need double quote when you wnat a literal slash in the string.  Otherwise the C compiler will attempt to interpret the next character as an escape character, such as '\n', '\r', '\t' and others.&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
: stober, do I need a certain header for win32 api function CreateProcess()?&lt;br /&gt;
: &lt;br /&gt;
&lt;span style="color: Blue;"&gt; include windows.h&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: stober, I load up 40 instances of d2 using d2loader on 3 comps and play them in window mode with the -w command after the target in the shortcut properties.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
The below worked on my computer, where I installed Diablo on drive D:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
STARTUPINFO sinfo;
PROCESS_INFORMATION pinfo;
memset(&amp;amp;sinfo,0,sizeof(STARTUPINFO));
memset(&amp;amp;pinfo,0,sizeof(PROCESS_INFORMATION));
sinfo.cb = sizeof(STARTUPINFO);

if( CreateProcess(0,"\"D:\\Program Files\\Diablo II\\game.exe\"", 0,0,0,0,0,0,&amp;amp;sinfo,&amp;amp;pinfo)== 0)
{
   printf("Create Process failed\n");
}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332116/re-program-to-execute-another-program/#332116</guid>
      <pubDate>Wed, 15 Mar 2006 17:55:44 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/332716/re-program-to-execute-another-program/#332716</link>
      <description>&lt;br /&gt;
&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;
&amp;lt;process.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int i;&lt;br /&gt;
......&lt;br /&gt;
......&lt;br /&gt;
i=spawnl(P_WAIT,"mano.exe",NULL);&lt;br /&gt;
&lt;br /&gt;
if(i=-1)&lt;br /&gt;
 {&lt;br /&gt;
printf("Invalid File calling operation...");&lt;br /&gt;
exit(1);&lt;br /&gt;
}&lt;br /&gt;
.....&lt;br /&gt;
.....&lt;br /&gt;
&lt;br /&gt;
Here mano.exe should be present in the current working directory.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/332716/re-program-to-execute-another-program/#332716</guid>
      <pubDate>Tue, 21 Mar 2006 14:24:14 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/430236/re-program-to-execute-another-program/#430236</link>
      <description>Here is the function which runs the 3th party application with the given program argument. (if exists):&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://codetechnic.blogspot.de/2012/01/run-3th-party-application-from-your.html"&gt;http://codetechnic.blogspot.de/2012/01/run-3th-party-application-from-your.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/430236/re-program-to-execute-another-program/#430236</guid>
      <pubDate>Tue, 13 Nov 2012 01:23:13 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/430358/re-program-to-execute-another-program/#430358</link>
      <description>http://referraltask.com/ref.php?page=act/ref&amp;amp;invcod=41403&lt;br /&gt;
&lt;br /&gt;
check thz!!!!!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/430358/re-program-to-execute-another-program/#430358</guid>
      <pubDate>Thu, 22 Nov 2012 00:16:31 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: program to execute another program</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/331934/430359/re-program-to-execute-another-program/#430359</link>
      <description>http://referraltask.com/ref.php?page=act/ref&amp;amp;invcod=41403&lt;br /&gt;
&lt;br /&gt;
check thz!!!!!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/331934/430359/re-program-to-execute-another-program/#430359</guid>
      <pubDate>Thu, 22 Nov 2012 00:18:21 -0700</pubDate>
      <category>C and C++</category>
    </item>
  </channel>
</rss>