c++ programming question

Vincent Russell Vatter vattervi@pilot.msu.edu
Sun, 31 Dec 2000 15:43:50 -0500 (EST)


Don,

Have you tried ./a.out ??

Vince

>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_000B_01C0733F.9EDD21C0
> Content-Type: text/plain;
>     charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I was playing around this morning, and I wrote and compiled
> a c++ program. I compiled it from an Xterm by typing:
> g++ test.cpp
> It compiled ok, but I could not execute it like I did on
> the CSE system, i.e. type;
>  a.out
> Can you tell me what I am supposed to type to
> execute this program?
>
> Thanks,
> Don
>
> ------=_NextPart_000_000B_01C0733F.9EDD21C0
> Content-Type: text/html;
>     charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>I was playing around this morning, and =
> I wrote and=20
> compiled</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>a c++ program. I compiled it from an =
> Xterm by=20
> typing:</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>g++ test.cpp</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>It compiled ok, but I could not execute =
> it like I=20
> did on</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>the CSE system, i.e. type;</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>&nbsp;a.out</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Can you tell me what I am supposed to =
> type=20
> to</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>execute this program?</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Don</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_000B_01C0733F.9EDD21C0--
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>