Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionA simple tab question Pin
kevincwong15-Jan-06 19:51
kevincwong15-Jan-06 19:51 
AnswerRe: A simple tab question Pin
Owner drawn15-Jan-06 19:54
Owner drawn15-Jan-06 19:54 
AnswerRe: A simple tab question Pin
Saurabh.Garg15-Jan-06 19:57
Saurabh.Garg15-Jan-06 19:57 
GeneralRe: A simple tab question Pin
kevincwong15-Jan-06 20:28
kevincwong15-Jan-06 20:28 
GeneralRe: A simple tab question Pin
Saurabh.Garg15-Jan-06 21:28
Saurabh.Garg15-Jan-06 21:28 
QuestionWhat is #if 0 Pin
Imtiaz Murtaza15-Jan-06 19:21
Imtiaz Murtaza15-Jan-06 19:21 
AnswerRe: What is #if 0 Pin
Prakash Nadar15-Jan-06 19:26
Prakash Nadar15-Jan-06 19:26 
GeneralRe: What is #if 0 Pin
Imtiaz Murtaza15-Jan-06 19:34
Imtiaz Murtaza15-Jan-06 19:34 
Mr.Prakash wrote:

it simply means the code in side the block is ignore for compilation and will not appear in the final build.


Then what is the purpose of the code inside that block ?
For example, if the code is written in #ifdef DEBUG block, it is skipped in the release builds but its purpose is clear and that is: it will be compiled in debug builds. So what is the purpose of writing code in #if 0 when i'll never be present in the executable.
GeneralRe: What is #if 0 Pin
kevincwong15-Jan-06 19:45
kevincwong15-Jan-06 19:45 
GeneralRe: What is #if 0 Pin
Stephen Hewitt15-Jan-06 19:55
Stephen Hewitt15-Jan-06 19:55 
GeneralRe: What is #if 0 Pin
toxcct15-Jan-06 21:51
toxcct15-Jan-06 21:51 
GeneralRe: What is #if 0 Pin
Prakash Nadar15-Jan-06 21:52
Prakash Nadar15-Jan-06 21:52 
GeneralRe: What is #if 0 Pin
kvprasad15-Jan-06 22:07
professionalkvprasad15-Jan-06 22:07 
GeneralRe: What is #if 0 Pin
David Crow16-Jan-06 3:06
David Crow16-Jan-06 3:06 
GeneralRe: What is #if 0 Pin
Stephen Hewitt16-Jan-06 11:27
Stephen Hewitt16-Jan-06 11:27 
GeneralRe: What is #if 0 Pin
Phil J Pearson17-Jan-06 3:09
Phil J Pearson17-Jan-06 3:09 
GeneralRe: What is #if 0 Pin
Shraddhan22-Jan-06 22:42
Shraddhan22-Jan-06 22:42 
GeneralRe: What is #if 0 Pin
Prakash Nadar22-Jan-06 23:29
Prakash Nadar22-Jan-06 23:29 
Answer[Message Deleted] Pin
Divyang Mithaiwala15-Jan-06 22:04
Divyang Mithaiwala15-Jan-06 22:04 
GeneralRe: What is #if 0 Pin
Maximilien16-Jan-06 1:11
Maximilien16-Jan-06 1:11 
QuestionWEBSERVER for ASP Pin
shadrach_india15-Jan-06 18:41
shadrach_india15-Jan-06 18:41 
AnswerRe: WEBSERVER for ASP Pin
Prakash Nadar15-Jan-06 19:27
Prakash Nadar15-Jan-06 19:27 
GeneralRe: WEBSERVER for ASP Pin
shadrach_india15-Jan-06 19:47
shadrach_india15-Jan-06 19:47 
GeneralRe: WEBSERVER for ASP Pin
Prakash Nadar15-Jan-06 21:51
Prakash Nadar15-Jan-06 21:51 
Questionhelp needed for VS2005 add-in using native c++ Pin
Saurabh.Garg15-Jan-06 18:26
Saurabh.Garg15-Jan-06 18:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.