PDA

View Full Version : c++ tutors


Apol6
2003-08-20, 03:25 PM
hi...


where to find
c++ tutorials
???
anyone know?

Chruser
2003-08-20, 03:32 PM
Any specific kind of tutorials you're looking for?

Hades-Knight
2003-08-20, 04:00 PM
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?

Randuin
2003-08-20, 09:39 PM
a formula? wouldn't this be a for loop situation?

badboy
2003-08-20, 09:46 PM
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.

Hades-Knight
2003-08-21, 02:09 PM
the formula was any number moddulus nine plus one

#%9 = # +1

drivehappy
2003-08-29, 12:22 AM
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 have to disagree with you here.

Binary: DiabloII saved games use bitfields for character stats
Decimal: Always
Hex: Memory offsets, etc
Octal: Never used it, so that's one.

Demosthenes
2003-09-16, 05:09 PM
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.

WetWired
2003-09-17, 10:18 AM
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.