unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tidy up code
@ 2007-12-21  9:04 Umar
  2007-12-21  9:29 ` Jason Rumney
  0 siblings, 1 reply; 11+ messages in thread
From: Umar @ 2007-12-21  9:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am new to emacs. I want to tidy up my code so that it is more
readable. For example:

int main(void)
{
  int a = 1;
     if (a == 1)
   cout << "true" << endl;
  else
        cout << "false" << endl;
    return 0;
       }

to become

int main(void)
{
  int a = 1;
  if (a == 1)
    cout << "true" << endl;
  else
    cout << "false" << endl;
  return 0;
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-12-26  3:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-21  9:04 tidy up code Umar
2007-12-21  9:29 ` Jason Rumney
2007-12-21 10:23   ` Umar
2007-12-21 10:41     ` Torben Knudsen
2007-12-21 11:00       ` Umar Said
2007-12-21 11:18     ` Martin Bealby
2007-12-21 11:23       ` Umar Said
2007-12-21 12:07         ` nullius.filius
2007-12-21 12:30           ` Umar Said
2007-12-23  6:01             ` Gabriel Parrondo
     [not found]             ` <mailman.5343.1198389653.18990.help-gnu-emacs@gnu.org>
2007-12-26  3:02               ` Umar Said

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).