GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Feb-2008, 06:05
pino pino is offline
New Member
 
Join Date: Feb 2008
Posts: 3
pino is on a distinguished road

Nesting CASE in IF ( or ) Nesting IF in CASE


Nesting CASE in IF ( or ) Nesting IF in CASE

Does anybody knows some theoretical info on the problem when I have CASE and IF but I don't know what to check first. Should I first make CASE statement, and then in every CASE a lot of IF's or the second approach: first IF and then CASE?

How to decide when to do what?
  #2  
Old 16-Feb-2008, 02:03
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,373
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: Nesting CASE in IF ( or ) Nesting IF in CASE


Depends completely on what you are attempting to accomplish. Maybe you should describe the problem in detail.
__________________

The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
 
 

Recent GIDBlogInstall Adobe Flash - Without Administrator Rights by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ to C amitgoyal84 C Programming Language 0 28-Feb-2007 23:24
Problem with one variable bretter C++ Forum 1 16-May-2005 07:20
Compiling Errors ToddSAFM C++ Forum 22 18-Dec-2004 11:42
there has to be a better way dabigmooish C++ Forum 8 17-May-2004 10:24
C++ file I/O CronoX C++ Forum 36 09-Mar-2004 17:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:27.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.