Article View: bln.comp.pc
Article #32R�ckgabewerte von Program in DOS auslesen
From: Arik Messerman
Date: Fri, 10 Oct 2003 12:31
Date: Fri, 10 Oct 2003 12:31
11 lines
1376 bytes
1376 bytes
Wie ist es m�glich das Resultat eines C++ Programmes unter DOS auszuwerten ?
Bsp: test.cpp -> test.exe
int main()
{
int a; cin >> a; return a;
}
Jetzt m�chte ich unter DOS (z.B. in einer *.bat-Datei) das Programm test.exe
aufrufen und je nach R�ckgabewert weitere DOS-Anweisungen ausf�hren.
--
Arik Messerman
Antwort E-Mail: second123@freenet.de
Technical Details
Message-ID:
<bm68q4$but$05$1@news.t-online.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: 113e4c,130a832da8644a09,start X-Google-Attributes: gid113e4c,public X-Google-ArrivalTime: 2003-10-10 05:31:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Arik Messerman" <second123@gmx.de> Newsgroups: bln.comp.pc Subject: R�ckgabewerte von Program in DOS auslesen Date: Fri, 10 Oct 2003 14:31:06 +0200 Organization: T-Online Lines: 14 Message-ID: <bm68q4$but$05$1@news.t-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1065789061 05 12253 8tFKVdWTSeYfYi 031010 12:31:01 X-Complaints-To: usenet-abuse@t-online.de X-ID: Xi49MyZprehc6N5yVIUOOZq9DzUN4IwkVOdO37XkuvZq4ZKHpoKiEh X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165