[ Ubuntu-BD ] *.cpp
shiplu
shiplu.net at gmail.com
Fri Jul 4 18:16:52 BST 2008
On Fri, Jul 4, 2008 at 1:15 PM, shiplu <shiplu.net at gmail.com> wrote:
>
>
> On Fri, Jul 4, 2008 at 6:58 AM, nasir khan <nasir8891 at gmail.com> wrote:
>
>> i can not run the .cpp files in ubuntu8.04
>>
>> please help me to solve the problem
>>
>>
> :D
> Saikat,
> .cpp files are not executable. they are compilable.
>
> follow the commands bellow. first line compiles the sample.cpp file and
> generates sample.out file which is executable. second line just executes the
> sample.out file.
>
> $ gcc sample.cpp -o sample.out
> $ ./sample.out
>
Sorry for the spelling mistake in the name. :-S
--
A K M Mokaddim
http://talk.cmyweb.net/
Stop Top Posting !!
More information about the ubuntu-bd
mailing list