Help me to this please I'm begging..

This is a discussion on Help me to this please I'm begging.. within the C Programming forums, part of the General Programming Boards category; wow. How did you indent that so fast? Is there any software to indent already existing programs?...

  1. #16
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    498
    wow. How did you indent that so fast?
    Is there any software to indent already existing programs?
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  2. #17
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    And at least option == 6 is now broken, because it uses arr[] which is of type float, not double [and the format specifier is %lf, which is used for "long double", so in some compilers it will print incorrect data].


    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #18
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by stevesmithx View Post
    wow. How did you indent that so fast?
    Is there any software to indent already existing programs?
    Visual studio, Dev-C++, Emacs and many others can indent code for you.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #19
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,620
    Quote Originally Posted by stevesmithx View Post
    wow. How did you indent that so fast?
    Is there any software to indent already existing programs?
    I simply pasted it into Visual Studio with Visual Assist X installed and the copied it back and pasted it here.
    Otherwise it's also possible to select all the code and press Alt+F8 to indent it all.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #20
    Nub SWE
    Join Date
    Mar 2008
    Location
    Dallas, TX
    Posts
    133
    Quote Originally Posted by matsp View Post
    Visual studio, Dev-C++, Emacs and many others can indent code for you.

    --
    Mats
    Eclipse also has a "Correct Indentation" function, as does VisualSlickEdit (Beautify Source).

  6. #21
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by JDGATX View Post
    Eclipse also has a "Correct Indentation" function, as does VisualSlickEdit (Beautify Source).
    Yes, that would come under "many others". We could probably spend the rest of the year enumerating ALL editors that have this capacity.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #22
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    498
    Thanks for that tip everyone.
    I needed one such s/w for so many months.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  8. #23
    Registered User
    Join Date
    Feb 2008
    Posts
    23
    Thank you for all of your HELP!!! thank so much guys... thanks.... GOD BLESS all of you...

  9. #24
    Registered User
    Join Date
    Feb 2008
    Posts
    23
    your a legend.. so many thanks..!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help A Noob Here (plz Im Begging You)
    By bobbie18 in forum C Programming
    Replies: 97
    Last Post: 03-28-2008, 03:38 AM
  2. Begging on wall street
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-04-2004, 04:50 PM
  3. Replies: 3
    Last Post: 08-18-2004, 07:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21