C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2009, 02:19 AM   #1
Registered User
 
Join Date: Sep 2009
Posts: 9
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 ..................
the_contractor is offline   Reply With Quote
Old 11-05-2009, 02:24 AM   #2
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 10,368
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
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 11-05-2009, 02:25 AM   #3
Registered User
 
Join Date: Oct 2009
Location: While(1)
Posts: 316
i think you should use tab this is what you are looking for
RockyMarrone is offline   Reply With Quote
Old 11-05-2009, 02:31 AM   #4
Registered User
 
Join Date: Sep 2009
Posts: 9
so ?
there's no such thing ?

thank you .
the_contractor is offline   Reply With Quote
Old 11-05-2009, 02:32 AM   #5
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 10,368
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
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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