deepakrathore23 wrote:the main terminal cant be used to write programs...am i correct?
Moggertron wrote:Two books I've read recently recommended using VI for writing my bash scripts and programming. Am I missing something? I would have thought gedit like mentioned above would be a more user friendly alternative. Is there something special about VI that I should stick with it and learn to use it? Sorry about hijack but may also assist original poster
Am I missing something?
thaimann wrote:For an editor I like BlueFish, but gedit will work. As your programs get bigger you will appreciate the feature set in BlueFish though. So just enter your basic program in the editor of your choice and then save it to some subdirectory like ~/Documents/MyCPrg" then start a Bash prompt and do a cd to that directory and just issue a command similar to "gcc -o myprg myprg.c".
If there are no compile errors you can then run it with a "./myprg"
Users browsing this forum: No registered users and 1 guest