![]() |
c++ tutors
hi...
where to find c++ tutorials ??? anyone know? |
Any specific kind of tutorials you're looking for?
|
Im taking c++ at school....we spent a whole week learning base convertion(binary,decimal,hex,octal) for nothing coz you dont use it often in programming =(
i need help with this HW for tomorrow: I need a formula (can be anything) that gives result 1-9, no zero or above nine, just 1-9...any help ? chruser? |
a formula? wouldn't this be a for loop situation?
|
I'm pretty sure you wouldn't use a for-loop statement on this. It's probably something simple like adding the numbers together and excluding any above or below. I don't really want to get back into all the stuff cause it gets really complicated and since I'm not taking it at school anymore I'm happy.
|
the formula was any number moddulus nine plus one
#%9 = # +1 |
Quote:
Binary: DiabloII saved games use bitfields for character stats Decimal: Always Hex: Memory offsets, etc Octal: Never used it, so that's one. |
u can find c++ articles at www.1cplusplusstreet.com
any specifics ur looking for if u ever decide to learn or work with assembly ur going 2 be working with hex a LOT. |
Binary to hexadecimal and hex to binary are very usefull to know and easy enough to learn. Decimal to hexidecimal and hexidecimal to decimal are useful for looking and memory dumps and such, but are too complicated to bother doing in your head; that's what I have a calculator for.
|
All times are GMT -6. The time now is 02:17 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.