*BSD News Article 93967


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news3.cac.psu.edu!usenet
From: Jacob Weeks <jaw181@psu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with a.out
Date: Sat, 19 Apr 1997 23:32:13 -0400
Organization: Penn State University, Center for Academic Computing
Lines: 21
Message-ID: <33598E3D.41C67EA6@psu.edu>
References: <3355973C.429F@charlotte.infi.net>
NNTP-Posting-Host: access-hbgts1p8.hbg.psu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39372


drdan wrote:
> 
> I am trying to write small programs in C++. I have been compiling with
> g++ and it gives me a file a.out I assume this is a executable.
> Although, when I type a.out I get an error message that says that
> command a.out is not found.  I must be forgetting to do somthing simple,
> please help me.

-- Make sure that the directory that a.out is in is in you path.  Try
just typing the full path name then a.out (i.e.
/usr/home/joe/blow/a.out) this should execute a.out 

Hope I helped.

___________________________________
Jacob A. Weeks	(A.K.A Jonah)
www: HTTP://cs.hbg.psu.edu/~jaw181
E-Mail jaw181@psu.edu

BSD RULES !!!!!!!
___________________________________