www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/29/14:36:31

Lines: 22
X-Admin: news AT aol DOT com
From: tchasiii AT aol DOT com (TCHASIII)
Newsgroups: comp.os.msdos.djgpp
Date: 29 Dec 2000 19:33:10 GMT
Organization: AOL http://www.aol.com
Subject: Follow up to 'Rookie question'
Message-ID: <20001229143310.08852.00000352@ng-ff1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Some one requested that I post my source code that was giving me trouble. Well,
so far none of them have worked but here is the simplest one:
#include<stdio.h>
#include<iostream.h>

int main(int arg, char* pszArgs[])
{

   cout << "This is a test";
   return 0;
   exit (0);
}
 
The message window at the bottom says:
compiling: tester.cpp
bad command or file name
no errors

And when I try to run I get a window that says:
Program exit code: -1 (0xffffffff)

Thanks for your help! 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019