fix lines visual c++ 2008

This is a discussion on fix lines visual c++ 2008 within the C Programming forums, part of the General Programming Boards category; how to fix the lines ? i mean that if Code: void func(){ if(exp) inst1; else inst2; } after fixing ...

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    24

    fix lines visual c++ 2008

    how to fix the lines ?

    i mean that


    if
    Code:
    void func(){
    if(exp)
    inst1;
    else
    inst2;
    }

    after fixing
    Code:
    void func(){
    	if(exp)
    		inst1;
    	else
    		inst2;
    }

    is there any button fix that ?


    TNX ..................

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,307
    There should be an even faster short-cut, but a quick check shows: CTRL-A followed by CTRL-K followed by CTRL-F (the latter two being available from Edit -> Advanced -> Format Selection).
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    While(1)
    Posts
    377
    i think you should use tab this is what you are looking for

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    24
    so ?
    there's no such thing ?

    thank you .

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,307
    Quote Originally Posted by the_contractor
    so ?
    there's no such thing ?
    What do you mean? I have shown you one way. I just commented that I think that should be an even more convenient way, but if it exists then it has slipped my mind.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. writing a dll in visual studio 2008
    By xixpsychoxix in forum Windows Programming
    Replies: 4
    Last Post: 09-14-2009, 04:13 AM
  2. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 01:17 AM
  3. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  4. Functions in C
    By shoobsie in forum C Programming
    Replies: 15
    Last Post: 11-17-2005, 01:47 PM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM

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