OT: este na temu C vs. zvysok sveta (Re: B&W svet)

Jan Waclawek wek@evona.sk
Úterý Březen 7 10:38:57 CET 2006


Marek Sembol wrote:
> range" a rotace (navic k posuvu))

Hehe, >> je jedna z tych veci co robia z C zly vtip. Citujem z K&R:
"Right shifting a signed quantity will fill with bit signs (``arithmetic 
shift'') on some machines and with 0-bits (``logical shift'') on others."

Toto je len o nieco slabsie ako fakt, ze v Ccku si clovek nikdy nie je 
isty, co znamena int, takze to pokojne moze byt napr. aj 36 bitov...

Este jeden krasny citat, ked uz sme pri K&R:
"Nevertheless, C retains the basic philosophy that programmers know what 
they are doing; it only requires that they state their intentions 
explicitly. "


wek



Další informace o konferenci Hw-list