View Full Version : C appreciation thread
C is what God programmed our universe in. Post your C appreciation, hints, tips, & tricks itt
When Bjarne Stroustrup used to talk about the free-store I always thought new was overloaded to just use malloc. Then I discovered the main difference between new and malloc(): the C function doesn't set up C++ virtual tables so you get a read violation
here's a neat trick for detecting big endian system
const union { long one; char little; } is_endian = {1};
if (!is_endian.little)
SELECT finger FROM hand WHERE id = 3
Visual
04-10-2014, 03:36 AM
http://s3.amazonaws.com/rapgenius/article_gangCrips.jpg
BigHurb
04-10-2014, 06:47 AM
Cunt
BigHurb
04-10-2014, 06:48 AM
one little two little three little endians four little fix little six little endians seven little eight little nine little endians
10 little endian boys
ps: you dont sound smart using other peoples ideas, thats not computer science thanks bye moron
also in further experimentation just as I suspected malloc() will not implicitly call a constructor/destructor
but who needs C++ when you can just make a few ugly macros, polymorph some typdeffed structs with void pointers, and declare some globals static?
also
https://www.youtube.com/watch?v=H4YRPdRXKFs
SamwiseRed
04-10-2014, 09:48 AM
C is what God programmed our universe in. Post your C appreciation, hints, tips, & tricks itt
When Bjarne Stroustrup used to talk about the free-store I always thought new was overloaded to just use malloc. Then I discovered the main difference between new and malloc(): the C function doesn't set up C++ virtual tables so you get a read violation
here's a neat trick for detecting big endian system
const union { long one; char little; } is_endian = {1};
if (!is_endian.little)
SELECT finger FROM hand WHERE id = 3
What you have just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.
radditsu
04-10-2014, 10:01 AM
https://m.youtube.com/watch?v=ClP8n6asn3w
Azure
04-10-2014, 10:35 AM
Naw, Fortran!
Raavak
04-10-2014, 10:57 AM
C is for Cookie (https://www.youtube.com/watch?v=BovQyphS8kA)
BigHurb
04-10-2014, 02:03 PM
In the solution to the Schrodinger equation for the hydrogen atom, three quantum numbers arise from the space geometry of the solution and a fourth arises from electron spin. No two electrons can have an identical set of quantum numbers according to the Pauli exclusion principle , so the quantum numbers set limits on the number of electrons which can occupy a given state and therefore give insight into the building up of the periodic table of the elements.
look how cool i am!
Raavak
04-10-2014, 02:16 PM
You took high school physics? Sounds like you listened at least :P Quantum mechanics shouldn't even be called "modern physics" anymore imho.
https://www.youtube.com/watch?v=RxP8UpPgiSM
BigHurb
04-10-2014, 02:29 PM
no i copied and pasted something like root does
BigHurb
04-10-2014, 02:29 PM
plus they use that more in chemistry high school physics is classical mechanics n light n magnets n e-
Raavak
04-10-2014, 03:05 PM
Yeah, I guess. I learned quantum mechanics in h.s. chemistry but it was covered again in my college modern physics class. I jumbled it.
this is the C appreciation thread not BigHurb attention thread
BigHurb
04-10-2014, 03:38 PM
go have sex w a girl u hetero
surron
04-10-2014, 04:03 PM
C is what God programmed our universe in.
does God use vi or is he soft and use one of those fancy IDEs?
God prefers visual studio on windows and qt creator on linux
but seriously on the whole vi vs emacs thing, I have found they are both SHIT
BigHurb
04-10-2014, 07:57 PM
God prefers visual studio on windows and qt creator on linux
but seriously on the whole vi vs emacs thing, I have found they are both SHIT
__________________
Last edited by r00t; Today at 02:24 PM..
how smart did you sound before the edit
dennis ritchie level of smart
BigHurb
04-10-2014, 10:42 PM
suck my penis please
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.