How to execute one emacs created program?

Asked by Glen Preibisch Lecha

Hy!
I am now for the first time in the university and one of my subjects is informatic, there we create ese programs.
I downloaded linux ubuntu to can practice at home but it doesnt work like in the uni.
For the moment I only installed the package to can use emacs.
but then i use the comand gcc -Wall filename.c -o filename and it creates the executable program. But then to used its not posible for me. In the console i put in the filename and it doesnt work like in the university.
So what can i do to execute one emacs filename.c?

Question information

Language:
Spanish Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joe (jgsylvesterjr) said :
#1

You should be able to run the program as follows:
$ ./filename

where filename is the compiled program created by gcc.
Hope this helps.
Joe

Can you help with this problem?

Provide an answer of your own, or ask Glen Preibisch Lecha for more information if necessary.

To post a message you must log in.