Unsigned ..||.. Consoles?
Hi,
I was wondering wat is a unsigned variable?
I''ve been looking through some source codes, and most of the time I find unsigned variables. Why not use a normal var?
And although I was also working on a colored consoles (you know where you include and ), I HANDLE''d the stuff as told (The intput, output and error handling) but for a bizaar reason, errors still seem to affect my frustration. If someone could please tell me how to create those consoles or at least direct me to a tutorial, I''ll be greatfull!
Well, thanks for reading.
----------=Last Attacker=----------
ICQ: 120585863
E-mail: laextr@icqmail.com
"Take delight in the Lord and He will give you your heart's desires" - Psalm 37:4My Blog
Unsigned means that it hasn´t got the ''-'' before the number

Let´s look at the char type. It is 1 byte lenght, so it is 2^8=256. If it is signed, it goes from -127..0...128. If it is unsigned char(what is usually called byte) it range starts at the positive part 0...255.
Hope to have explained it clear...
I don´t understand your question about colored consoles...Can you explain more?
What the hells!
What the hells!
Ah man ofcource! Ok so an integer can be both (+ and -) and an unsigned int only a +. Ok.
You know when you started with VC++ you started with consoles. Well, those consoles were only in silver and black (foreground silever, background black). Now I would like to make my console more interesting by being able to change the title (wich I could) and the text fore- and back-color (wich worked but bombed out by an illegal operation). I don''t have the code anymore because of frastrasion. Well I used a VB tutorial on those consoles (now don''t think thats my whole problem, wich isn''t I only used it to check out which functions and procedures where available to use and how to use wich I translated to C++). Well I don''t know what could be wrong but if anyone can tell me how to do the basics of such consoles, please be my guest!
Thanks again!
----------=Last Attacker=----------
ICQ: 120585863
E-mail: laextr@icqmail.com
You know when you started with VC++ you started with consoles. Well, those consoles were only in silver and black (foreground silever, background black). Now I would like to make my console more interesting by being able to change the title (wich I could) and the text fore- and back-color (wich worked but bombed out by an illegal operation). I don''t have the code anymore because of frastrasion. Well I used a VB tutorial on those consoles (now don''t think thats my whole problem, wich isn''t I only used it to check out which functions and procedures where available to use and how to use wich I translated to C++). Well I don''t know what could be wrong but if anyone can tell me how to do the basics of such consoles, please be my guest!
Thanks again!
----------=Last Attacker=----------
ICQ: 120585863
E-mail: laextr@icqmail.com
"Take delight in the Lord and He will give you your heart's desires" - Psalm 37:4My Blog
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement