![]() |
Quote:
|
:hmmm:
Looks like we're gonna need a bigger holding pen. :O: |
Quote:
Three quarters of C++ is C. The main difference is the inclusion of classes, which makes object-oriented programming possible. All the rest is mainly the same, C++ is backwards compatible with C. Anyways, you pass the Official Subsim C exam if you can find where the next program goes wrong:yeah: (just wrote it, I compiled it under MSVC++ with Vista as it might make a difference in this case) Quote:
Quote:
:O: |
|
Quote:
Quote:
|
Quote:
Like this: void*mem=calloc(1,5); char*cmem=(char*)(mem); int*imem=(int*)((int)mem+1); is basically the same as char cmem=0; int imem=0; Just wanted it to look hard:O: Basically what I've done is allocate enough RAM to hold a character and an integer, then saving the address of the allocated RAM into the address of the char and int (with the size of a char added to the address to prevent the char from overwriting the int). Anyway, in order not to *completely* hijack the thread, http://www.socaltrailriders.org/gall...ackOnecopy.jpg |
Quote:
|
|
|
WHY I OUGHTA... okay maybe not.
http://chzgifs.files.wordpress.com/2...4ad99ab36b.gif Edit: and also, http://graphjam.files.wordpress.com/...y-graphs89.png |
|
Jim.....I'm watching you
http://img525.imageshack.us/img525/9...iderq28tw1.jpg jumping spider in an electron microscope. |
So that's what you dropped in the lap of the waitress when we were at that TexMex restaurant in order to make your escape without leaving a tip :hmmm:
http://img825.imageshack.us/img825/8426/p1000129.jpg I also noticed (well it was Lehmann and Chad actually) you dropped yer guts in order to leave a smokescreen behind you that nobody would dare enter or follow :DL |
|
http://img825.imageshack.us/img825/8426/p1000129.jpg
Wow this is an old picture! If this was when we were paying, I remember Lehmann pointing out a few good looking chicas. Don't remember what Niki was up to though. |
All times are GMT -5. The time now is 04:28 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.