Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: A C++ Homework Pin
ThatsAlok17-Dec-05 0:06
ThatsAlok17-Dec-05 0:06 
AnswerHow do I get other people to do my homework problem for me? Pin
Kevin McFarlane17-Dec-05 8:43
Kevin McFarlane17-Dec-05 8:43 
Questionchar to store < 255 or use int Pin
oversight-[project-zero]16-Dec-05 21:47
oversight-[project-zero]16-Dec-05 21:47 
AnswerRe: char to store < 255 or use int Pin
tansey416-Dec-05 22:27
tansey416-Dec-05 22:27 
GeneralRe: char to store < 255 or use int Pin
oversight-[project-zero]16-Dec-05 23:08
oversight-[project-zero]16-Dec-05 23:08 
GeneralRe: char to store < 255 or use int Pin
Gerben Jongerius16-Dec-05 23:49
Gerben Jongerius16-Dec-05 23:49 
GeneralRe: char to store < 255 or use int Pin
oversight-[project-zero]17-Dec-05 0:00
oversight-[project-zero]17-Dec-05 0:00 
GeneralRe: char to store < 255 or use int Pin
tansey416-Dec-05 23:56
tansey416-Dec-05 23:56 
oversight-[project-zero] wrote:
chars are mainly used for strings.


Not exactly true. Char's are used for lots of things, including pure data manipulation. It's simply 2 bytes which can be interpreted as an ANSII character. That said, if you're only going to be holding very small numbers like 5 and you're EXTREMELY worried about space/efficiency, you should use BYTE for values which you know will be less than 16. I'm not sure how much time this will all save you to be honest, these types of issues are normally only a passing thought in designing your application because there are so many more design issues that would likely speed up your program much more.
GeneralRe: char to store < 255 or use int Pin
oversight-[project-zero]17-Dec-05 0:41
oversight-[project-zero]17-Dec-05 0:41 
GeneralRe: char to store < 255 or use int Pin
toxcct17-Dec-05 2:10
toxcct17-Dec-05 2:10 
GeneralRe: char to store < 255 or use int Pin
toxcct17-Dec-05 2:07
toxcct17-Dec-05 2:07 
GeneralRe: char to store < 255 or use int Pin
Gerben Jongerius17-Dec-05 3:31
Gerben Jongerius17-Dec-05 3:31 
Questionhow can i get the ip of my system Pin
cancerion16-Dec-05 21:05
cancerion16-Dec-05 21:05 
AnswerRe: how can i get the ip of my system Pin
ThatsAlok16-Dec-05 21:52
ThatsAlok16-Dec-05 21:52 
Questiondirectshow sdk Pin
dolph_loe16-Dec-05 20:56
dolph_loe16-Dec-05 20:56 
AnswerRe: directshow sdk Pin
Farhat Aisha18-Dec-05 3:18
Farhat Aisha18-Dec-05 3:18 
QuestionListCtrl / gridcontrol containing tree control in VC++ Pin
doubts.vc16-Dec-05 20:16
doubts.vc16-Dec-05 20:16 
AnswerRe: ListCtrl / gridcontrol containing tree control in VC++ Pin
Ravi Bhavnani17-Dec-05 3:24
professionalRavi Bhavnani17-Dec-05 3:24 
GeneralRe: ListCtrl / gridcontrol containing tree control in VC++ Pin
doubts.vc20-Dec-05 16:43
doubts.vc20-Dec-05 16:43 
QuestionSome problem facing when using Direct show for streaming media Pin
StarMeteor16-Dec-05 19:17
StarMeteor16-Dec-05 19:17 
QuestionSending text to chat via Edit Pin
tansey416-Dec-05 17:53
tansey416-Dec-05 17:53 
AnswerRe: Sending text to chat via Edit Pin
VikramDelhi16-Dec-05 20:29
VikramDelhi16-Dec-05 20:29 
GeneralRe: Sending text to chat via Edit Pin
tansey416-Dec-05 21:43
tansey416-Dec-05 21:43 
QuestionDestroying the window Pin
chethu66516-Dec-05 17:06
chethu66516-Dec-05 17:06 
Questiondrawing HICON Pin
T1TAN16-Dec-05 15:29
T1TAN16-Dec-05 15:29 

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.