Hello,

I've managed to get linux installed on my box. Using fedora core 3 with a full installation........ Man all those games :eek:

Anyway I'm left with a question I completed a working code in nedit and saved it has a cpp file. I open but a konsole find the directory of which ive saved that .cpp file and compile it using

g++ file1.cpp -o file1

i get the $ sign back - so far so good... when i do ls the file is there showing has an extucable. But to my horror when i type file1 it doesnt do anything......... Any ideas?

Recommended Answers

All 2 Replies

Try typing ./file1
Read this .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.