Most of you will answer this question with "Go read a book" or "Don't you own a c/c++ book?"
k. The question is simple: When should I use a long, int, char, unsigned/signed variables?? K, thas very blunt, but this should narrow it down...
When I declare a variable "unsigned;" what did I do it???
Why would I delcare an integer "long" or "short" ( unsigned or signed)??
Any examples of when things like "unsigned", "long", "short" etc... should, and shouldn't be used???
One more thing; I noticed a lot of the code I see IN MSVC++ has variables with these "pre-fixes", for instance "Cdialog" (notice the C in front of the word Dialog) or "nResponse" ( notice the 'n' in front of Response ), or things like m_nResponse (notice the "m_n" in front of the word "Response") are these prefixes suppposed to represent things?
I know these may seem like stupid questions, i have been programming for awhile.. theses are just things that I comme across at time.
Help will be appreciated.