Sorry guys, but I'm not used to use gedit, so I use emacs instead
The problem with emacs is that I don't know how to set properly the .emacs file in order to indent lines properly.
Can anyone help me?
Thank you for your help
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Sign up to join this communityYou will probably find all the details in the emacs wiki, particularly this page: Indenting for C
There's a search bar there too for other questions.
vim
but that doesn't mean it's suitable just because it's more powerfull.