Mike_3915 wrote: The result was a file, a.out. I then typed (whilst in the same directory as the file) a.out, and got an error, however dragging the file to the console did run it. any ideas why? What is a .out file anyway? Is it the alternative to an exe?
sudo chmod +x theexecutable
gcc hello.c -o theexecutable
<this location you are currently at>/a.out
Python is called a scripting language (dynamic), like Ruby or like bash is: bash shell is the closest to being only a scripting languageMike_3915 wrote:On a more productive note I am impressed with the programming support from Mint. Java was a lot easier than in windows, and the terminal is excellent (So good in fact that I now consider Java programming in windows a bit of a chore). And python is looking good too
You could try lazarus the delphi like pascal ide..Mike_3915 wrote:However my old favorite pascal is confusing me. I installed FPC from the software manager, made a file called new.pas and it seemed to just leave it as a text file (Where as cpp, java, and py files add a little icon)
Users browsing this forum: No registered users and 27 guests