.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
Re: Binary numbers
Old
  (#11)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: Binary numbers - 03-04-2004

Oh well, converting isn't hard at all I just didn't want to do it. Thanks for all of the info.

[ Added ]
koraX, I was displaying a character, not a number in binary format.

Last edited by Lazy; 03-04-2004 at 13:18..
  
Reply With Quote
Re: Binary numbers
Old
  (#12)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Binary numbers - 03-04-2004

with a bit of practice you get used to hex numbers -> no need for binary representation in C/C++


  
Reply With Quote
Re: Binary numbers
Old
  (#13)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: Binary numbers - 03-04-2004

Quote:
Originally Posted by Lazy
koraX, I was displaying a character, not a number in binary format.
character is also a number in computer's memory


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)
  
Reply With Quote
Re: Binary numbers
Old
  (#14)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: Binary numbers - 03-04-2004

I know
I thought I had pasted the whole source file and got a little confused.

It was simply printf( "%c\n", charupper( 'z' ) ); but it worked as expected printing out an uppercase Z.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com