PDA

View Full Version : How do I run...



Jimmey
January 21st, 2006, 12:59 PM
How do I run a .bin that I just compiled from some simple C++ source I wrote?

Thanks

mostwanted
January 21st, 2006, 01:27 PM
Type in it's path in the terminal or navigate to the directory it's in and type


./myfile.ext

If you don't specify any names when compiling, it's usually called a.out

In some cases you might have to give the file executable rights with


chmod +x