|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Quick C question
Hey guys
sorry to bother but I'm coding in C and I came across a symbol that I don't recognize... Mind you I haven't used C since my first year of university so that's over 2 years ago.. :P nFrame << 5 What does the "<<" mean/do ?! I can't find it in any of my books! edit: Bit shift... grrr sorry about that! |
|
#2
|
||||
|
||||
|
I did some searching and found nothing. Perhaps it's a typo?
|
|
#3
|
||||
|
||||
|
he posted the answer, BBD:
Quote:
the "<<" is actually operator like "+", "-" and "*" - it shift all the bits in the number and returns the result: http://www.phim.unibe.ch/comp_doc/c...hift.html#shift |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Quick C question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|