How to compile and execute a C program in Emacs

preview_player
Показать описание
How to compile and execute a C program in Emacs.
Рекомендации по теме
Комментарии
Автор

Thank you!! Helped me to understand the general working with emacs.
Greetings from Germany

martinkeppler
Автор

Your video couldn't directly but helped me. Thanks

showkatali
Автор

Nice video, I don't know about M-x compile command, makes works with C easier. But I have feeling that must by more compact way to do it in Emacs. More Emacs way.

kamilziemian
Автор

Great! I do have a couple questions:
1) Can you compile into an external directory (eg ../build/)
2) Can you change the name from a.out to something else?
3) Is it possible to make an emacs shortcut key to compile quickly for debugging?

Thanks :D

phraggers
Автор

How did you change windows between the source file and the shell? Did you do an option+click?

parsonsa
Автор

If you are executing the a.out file with shell, why don’t you just use shell for the gcc command as well?

ianpan
welcome to shbcf.ru