SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   General Topics (https://www.subsim.com/radioroom/forumdisplay.php?f=175)
-   -   Funny Picture Thread (https://www.subsim.com/radioroom/showthread.php?t=163913)

TLAM Strike 04-23-11 02:34 PM

Quote:

Originally Posted by DarkFish (Post 1649453)
Because C++ is easier to program while being almost as efficient? Besides, I don't think you can learn C++ without learning C as C++ is essentially just an extension to C.

When I was in school we went right from BASIC to C++ (then on to Visual BASIC). we never did C. :03:

frau kaleun 04-23-11 02:42 PM

:hmmm:


Looks like we're gonna need a bigger holding pen.


:O:

DarkFish 04-23-11 03:57 PM

Quote:

Originally Posted by TLAM Strike (Post 1649485)
When I was in school we went right from BASIC to C++ (then on to Visual BASIC). we never did C. :03:

Basic sucks:O:
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:

#include <stdio.h>
#include <stdlib.h>
int main(){
void*mem=calloc(1,5);
char*cmem=(char*)(mem);
int*imem=(int*)((int)mem+1);
while((*cmem)++<255){
printf("The fail level of BASIC equals %d\n",++(*imem));
}
scanf("%d",imem);
free(mem);
return 1;
};

Quote:

Originally Posted by frau kaleun (Post 1649490)
Looks like we're gonna need a bigger holding pen.

cout<<"damn you, programming n00b!"<<endl;
:O:

Jimbuna 04-23-11 04:35 PM

http://cheezcomixed.files.wordpress....b7a65a004b.jpg

the_tyrant 04-23-11 05:02 PM

Quote:

Originally Posted by frau kaleun (Post 1649422)

it could have been soo much worse, threesome.avi could have come from japan

Quote:

#include <stdio.h>
#include <stdlib.h>
int main(){
void*mem=calloc(1,5);
char*cmem=(char*)(mem);
int*imem=(int*)((int)mem+1);
while((*cmem)++<255){
printf("The fail level of BASIC equals %d\n",++(*imem));
}
scanf("%d",imem);
free(mem);
return 1;
};
this is why i use visual basic:O:

DarkFish 04-23-11 05:55 PM

Quote:

Originally Posted by the_tyrant (Post 1649559)
this is why i use visual basic:O:

I could have done it a 1000 times simpler:O:
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

Sailor Steve 04-23-11 08:20 PM

Quote:

Originally Posted by frau kaleun (Post 1649490)
:hmmm:


Looks like we're gonna need a bigger holding pen.


:O:

Yep, nothing sillier than using a joke about computers to start an argument over whose computer fu is stronger. :D

Jimbuna 04-24-11 11:17 AM

http://cheezcomixed.files.wordpress....9b9d927928.jpg

frau kaleun 04-25-11 09:29 PM

http://cheezfailbooking.files.wordpr...ial-empire.jpg

http://cheezfailbooking.files.wordpr...dle-earth2.jpg

frau kaleun 04-26-11 10:43 AM

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

Jimbuna 04-26-11 03:01 PM

http://cheezcomixed.files.wordpress....nd-he-buys.jpg

nikimcbee 04-26-11 03:12 PM

Jim.....I'm watching you
http://img525.imageshack.us/img525/9...iderq28tw1.jpg

jumping spider in an electron microscope.

Jimbuna 04-27-11 12:25 PM

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

frau kaleun 04-27-11 08:49 PM

http://chzsomuchpun.files.wordpress....d-tap-that.jpg

Chad 04-27-11 10:46 PM

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.