|
-
July 31st, 2008, 12:47 PM
#1
Need Ideas for this problem please thanks!
Hi all,
I have a C++ program which sort of displays a questinnaire to the user .........These q's are sort of yes/no questions. I am currently using bits to represent the answers they chose .... like 0 - indicates No, and 1 - indicates Yes. For this Im using an integer (32bits) ... so i can atmost make use of 32 answres(like each bit representing a questions..).....but what if I need to specify more than 32 ? Are there any other easy ways of representing these selections?
I was wondering how to go about doing tht? Any ideas or insights is really helpful.
Thanks all!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|