Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-8081-

Opinions on a quick C tutorial

Name: Anonymous 2013-03-17 22:03

http://wololo.net/talk/viewtopic.php?f=37&t=6236

Shoot it up and I'll let the author know.

Name: Anonymous 2013-03-17 22:04

Name: Anonymous 2013-03-17 23:15

http://wololo.net/talk/viewtopic.php?f=37&t=6245

One important thing to note is that in C everything is a number. Even a character is a number (its ASCII code is stored). This is because for computers everything are numbers too. Keep this awake in your mind forever when dealing with computers.

On a programmer's point-of-view, C distinguishes basically between 2 types of data: numbers and characters (and strings of characters). Let's begin with the numbers.

This is a rather bold claim. Though that crazy-shit ass language lets you treat just about any region of memory as containing an unrelated value, and you can seemingly cast function types (not even pointers) to goddamn longs, from a cursory glance on the standard, those values are defined to be... characters! This based on the language used to describe the memset function on the C99 standard, item §7.21.6.1.

Better refrain from trying to sum up the language's semantics as with ``everything is an x''. That's almost always wrong.

Name: Anonymous 2013-03-17 23:17

anus anus anus

Name: Anonymous 2013-03-18 0:00

>>3
One of the best arguments against making assumptions about how C implements its data types would be to look at how pcc generated C code for the PDP-10. On a word oriented machine, all the usual assumptions about how array access is done no longer hold.

Name: Anonymous 2013-03-18 1:53

Damn, I want to make vidya, but tinyscheme can't...

; tree.scm
(define (spawn h)
  (if (= 0 h)
      '()
      (cons h
            (cons (spawn (- h 1))
                  (spawn (- h 1))))))

(define (sum x)
  (if (null? x)
      0
      (+ (car x)
         (sum (car (cdr x)))
         (sum (cdr (cdr x))))))

(display (sum (spawn 23)))


$ tinyscheme tree.scm
No memory!


But lua works fine!

-- tree.lua
local function spawn(h)
    if h > 0 then
        return { n=h, a=spawn(h-1), b=spawn(h-1) }
    end
    return nil
end

local function sum(node)
    if node then
        return node.n + sum(node.a) + sum(node.b)
    end
    return 0
end

print(sum(spawn(23)))


result             time(s)
luajit-2.0.1        4.159
racket-5.3.3        4.460
lua-5.1.5          10.280
tinyscheme-1.40      :(


squirrel next?

Name: Anonymous 2013-03-18 2:10

Well, increased the static CELL_NSEGMENT, and now it runs, but takes 12.655s for n=15. :(

Name: Anonymous 2013-03-18 5:33

http://wololo.net/talk/viewtopic.php?f=37&t=6236
Not going to look. I know it is a troll thread already.

Name: Anonymous 2013-03-18 14:37

>>8
lol
EOL

Name: Anonymous 2013-03-18 15:41

>>6
Your implementation of sum is really IHNBT

Name: L. Arthur Calculus 2013-03-18 18:26

AUTHOR AINT RED DA FUCKIN STANDARD, AND I AINT RED ALL OF HIS STUPID TUTORIAL BUT LOOK AT DIS SHIT:

http://wololo.net/talk/viewtopic.php?f=37&t=11984

WHO DA FUCK PRETENDS A POINT IS A FUCKING int/unsigned int? DA NOOB DOESNT EVEN FUCKING CAST IT TO THOSE TYPES OR ANYTHING. IF YAIN'T CASTING TO TO A void * AND USING %p, UR DOING IT WRONG YA STUPID FUCK.

Character strings are actually pointers.

R U FUCKING STUPID? GO READ DA FUCKING STANDARD BEFORE WRITING DONKEY POOP.

Name: Anonymous 2013-03-18 19:00

>>11 s/POINT/POINTER/

N LOOK AT HOW DEY DONT EVEN CHECK DA RETURN VALUE OF malloc.  DEY CUD BE DEREFERENCING NULL POINTERS FOR ALL DA STANDARD CAREZ!

And the address being a number (an int in x86-32) we can have more fun, like:
GIT FARKED. AINT A FUCKIN int ANYWHERE YA DUMB RASCAL.

BACK WEN I WAS A BOY ALL WE HAD WAS KERNYAN AND RICKY NUMBER ONE TO LERN C FRUM, WOTS ALL DIS TUTORIAL BEES WAX ABOOT?

Name: Anonymous 2013-03-18 20:08

>>11
>>12

What about his Advanced topics? (  http://wololo.net/talk/viewtopic.php?f=37&t=10045 )

Looks interesting, I was thinking about learning from them before K&R. Just don't want to learn anything bad for me...

Name: Anonymous 2013-03-18 20:15

>>1
Powered by phpBB® Forum Software © phpBB Group
C/C++
Posts: 463
Location: The North Pole
$ apt-get install build-essential
Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
My forum: Console Heaven
My Homebrews: pyMenu 0.3.1, multiBootMenu V2, PSvid 3.0, PSP Tools 0.2


Please don't do this anymore. I just vomited all through my fucking genius keyboard.

Name: Anonymous 2013-03-18 20:20

>>6
that is fucking 2^23. try http://en.wikipedia.org/wiki/Memoization

Name: Anonymous 2013-03-18 20:23

>>15
YHBT

Name: Anonymous 2013-03-18 23:07

>>10,15
I can't post actual code on /brog/, this is just a toy example.

fucking 2^23
...and?

Name: Anonymous 2013-03-19 0:55

>>13
DONKEY EXCREMENT. HIGH CLASS DONKEY EXCREMENT. DA IDEA OF CALLING A FUNCTION WITH FANCY HACKS IS AS RELEVANT TO C AS SHOVING A CACTUS UP SOMEONE'S ANUS TO GET THEM TO SAY WORDS IS TO ENGLISH. C DONT NEED TO BE IMPLEMENTED WITH A COMPILER, JUST AS ENGLISH DONT NEED TO BE SPOKEN. AND USING A STACK AINT NECESSARY FOR A COMPILER, JUST AS HAVING A SENSITIVE ANUS THAT CAUSES YOU TO SAY WORDS AINT NECESSARY FOR SPEAKING ENGLISH.

STACK BOYS AINT RED DA FUCKIN STANDARD.

Name: Anonymous 2013-03-19 1:35

>>18
Y'know, more people would be tricked into reading your shitposts if they weren't in all caps. tl;dr, man.

Name: Anonymous 2013-03-19 2:51

>>19
Teach me your ways, oh grand manipulator of readers.

Name: L. Arthur Calculus 2013-03-19 3:13

>>19
DUMB DONKEYS CANT EVEN REED DA STANDARD

I TYPE IN CAPS WEN IM ANGRY

Name: L. Arthur Calculus 2013-03-19 7:04

*TAKES A DEEP BREATH AND CALMS DOWN*

#include <stdio.h>
#include <stdlib.h>

void trick(void)
{
   printf("Magic trick!\n");
   exit(0);
}

int main()
{
   int *p = (int*)((int)&p + 0x10);
   *p = (int)&trick;
   printf("I don't know what will happen...\n");
   return 0;
}


This trick takes advantage of the way function calls are implemented by a certain compiler. If you use a compiler that implements them a different way or enable various optimisations with the same compiler, chances are it's not going to work.

Compiling such code might call "trick" successfully on one C implementation, it may give you a fancy error message telling you you're an idiot on another, or something entirely different might happen on some other one. In any case, such code yields undefined behaviour and your C implementation needn't do anything meaningful during its interpretation.

This crappy method of teaching C, perhaps similar to Zed Shaw's "Learn C the Hard Way", is based around "try something and see what happens." This may be a valid way to learn languages that have a single implementation, but you simply can't learn C like this since it's a standardised language with many different implementations.

To cut a long story short, you'd be better off reading a C reference that discusses the language rather than a certain C implementation, like K&R2. N GO REED DA FUCKIN STANDARD SO U DONT BECOME A STUPID STACK BOY.

Name: 22 2013-03-19 7:10

FUCKIN @>>13

Name: Anonymous 2013-03-19 10:23

>>22
I love you, Lambda Arthur Calculus! Please post more!

Name: Anonymous 2013-03-19 21:27

>>22

K&R also says sometimes things like: "Now try to change the variable from integer to a floating point and see what happens".

Name: Anonymous 2013-03-19 23:59

>>22
I cannot riddle this tonight. Taking the address of trick causes it to be dereferenced, because the compiler is fooled into thinking this will not produce any side effects?

Name: Anonymous 2013-03-20 0:01

>>25
Hopefully in the sense of "Say that to my face fucker and not online and see what happens".

Name: Anonymous 2013-03-20 0:55

>>25
K&R2 certainly has its flaws. It's by no means perfect, but I think it does a better job than most others for teaching the fundamentals of C. DEY DIDNT KEEP IT UP TO DATE WITH DA LATER STANDARDS CUZ DEM ISO FAT CATS JUST WANTED TO RUIN DA LANGUAGE DAT DEANIS RICKY LOVED.

>>26
It's magic. Actually, they just write the value of trick sixteen bytes ahead of where p is stored. If the author of that code were more familiar with C they'd probably have written it like this instead:

int *p;
*(void (**) (void)) ((char *) &p + 16) = trick;


But if that were so, I don't think they'd have written it in the first place.

>>27
I'm thinking about writing a C reference with a similar tone. FUKIN STACK BOYS GOTTA LEARN SOMEHOW.

Name: 28 2013-03-20 1:00

Or something like this:
*(void (**) (void)) ((char *) &p + 12 + sizeof p) = trick;

Name: Anonymous 2013-03-20 2:56

>>28
I still don't see how that results in trick being called without a call operator appearing anywhere...
(**)
That's it; I'm out.

Name: Anonymous 2013-03-20 3:09

>>30
It just takes advantage of how the C implementation performs function calls.
See http://en.wikipedia.org/wiki/Stack_frame#Structure

Name: Anonymous 2013-03-20 3:14

>>31
Ah shit, should've seen
exit(0);
that's eeevil.

Name: Anonymous 2013-03-20 4:25

When call is performed, it pushes eip (rip on 64bits) and jmp on the adress of the function called. The trick is just overwriting that return adress on the stack, so that instead of returning to the parent function (aka main) it will return to a different function, aka the trick.

Name: Anonymous 2013-03-25 19:32

Why doesn't /prog/ write a concise, yet complete and enlightening, C tutorial?

Name: Anonymous 2013-03-25 19:49

youtube.com/watch?v=psW2T4BxyYQ

Name: Anonymous 2013-03-25 19:49

youtube.com/watch?v=psW2T4BxyYQ

Name: Anonymous 2013-03-25 20:23

when will all those mental midgets finally stop writing shitty and utterly wrong tutorials about C, and go back to scrubbing toilets?
they're only misleading newcomers with their false notions of memory, representations, and whatnot.

I'm also looking at you, zed.

Name: Anonymous 2013-03-25 20:24

>>34
It's called K&R.

If you don't know C and Scheme, you don't belong here.

Name: Anonymous 2013-03-30 11:25

>>38

K&R is great, but not really concise.

The idea is something like OP's post but by an EXPERT C PROGRAMMER

Name: m0skit0 2013-04-02 3:57

Yo, really diz much tokin' 'bout mah shitty 'torials? C'mon, man...

Ok, so about the first one (http://wololo.net/talk/viewtopic.php?f=37&t=6236).

This is NOT a C tutorial, but a tutorial on programming using C as a tool. My main aim there was to introduce programming to people that know absolutely nothing about it, and link it to how a computer works at low level. Those forums are basically about PSP hacking, and as one of the authors of one of those hacks (HBL) I had to answer a lot of people wanting to start such "hackings". So I decided to write a simple tutorial about how to start programming. I think C is a good language for that kind of introduction since the audience wants low-level knowledge.

I'm by no means a C expert, although I've read K&R and the C standard, but of course I don't remember them since 1) I don't work with C professionally since 10 years now and 2) the C standard changes too fast to keep up if you don't use it daily.

And about "everything in C is a number", what I really meant was that everything in a computer is a number (and as such, ultimately everything in any programming language is a number).

Now about the other one (http://wololo.net/talk/viewtopic.php?f=37&t=10045), I'm already stating that "Please note that this tutorial is based on a 32-bit systems". I should have added that it's on x86-32 or IA32. This tricks of course could not work on different architectures, but the point again is linking C to low-level and introduce people to assembly and architecture.

Have fun!

Name: Anonymous 2013-04-02 8:46

>>39
K&R is 250 pages including appendices, you fucking moron

Name: m0skit0 2013-04-02 12:17

U mad?

Name: Anonymous 2013-04-02 17:37

>>40

Thank you for the clarifications.

Some posts in this thread could still be taking into account for improving your tutorial, though. Beneath all the peculiarities, there are some knowledge people around here.

Also, if you can bear all the trolling, you might even enjoy this place. Most of us are LISP lover; Knights of the Lambda Calculus.

Name: Anonymous 2013-04-02 20:29

>>43
You and I both know that >>40 disregards these posts, probably thinks he is better than average /prog/rider, and will never participate in such an orgy that 4chan/prog is.

Also, keep the cocksucking faggotry to yourself.

Name: m0skit0 2013-04-03 4:56

I do not disgregard these posts, otherwise I wouldn't have answered, nor I do think I'm better programmer than anyone (like some comments here definitely do). I just try to do my best and share my limited knowledge.

This said, I'm in no mood for for sexually frustrated assholes like >>44 and the likes, that hide under cyberanonimity can insult people without being punched in da face.

Anyway, have a nice day everyone, gotta some awful programming to do.

Name: Anonymous 2013-04-03 5:26

>>45
You are also protected by your own cyberanonimity from being punched in da face. As am I, for now.

Name: Anonymous 2013-04-03 6:11

>>45
go fuck yourself with a rake you subhuman piece of shit, die in a fire

Name: Anonymous 2013-04-03 6:37

>>45
are you Jewish?

Name: Anonymous 2013-04-03 7:02

sage this shit

Name: m0skit0 2013-04-09 5:42

>>46 >>47 >>48 >>49
Stop trying to make it look like you're several different people, you racist anti-semitic fatto. Get a fuckin' life and stop F5-ing... I'll tell you a lil' secret: there's real life besides your screen. Even a human kind of person named "GIRL". Yeah, trust me, just go outside... don't hurt yourself with the sun though.

And have fun!

Name: Anonymous 2013-04-09 6:12

[QUOTE]This is NOT a C tutorial, but a tutorial on programming using C as a tool.[/QUOTE]
WELL IT AINT RIGHT.

#include <stdio.h>
#include <stdlib.h>

int main()
{
   int *a = (int*) malloc(sizeof(int));   // Allocating sizeof(int) bytes of space
   int b = 2251;
   *a = b;                           // Copying content of b to a
   printf("%d\n", *a);                 
   free(a);                        // Free a's reserved memory
   return 0;
}


YOU WAIT FOR DAT BAD BOY malloc TO RETURN A NULL POINTER N SEE WAT HAPPENS. IT'S LIKE TEACHIN' PEOPLE TO USE A HACKSAW AND CHOPPING OFF YOUR DOODLE WHEN UR TRYING TO CHOP OFF A PIECE OF WOOD. YA DON'T DEREFERENCE NULL POINTERS JUST AS YOU DON'T CHOP OFF YOUR DOODLE.

N WAT ABOUT DAT KOOL HACK FOR CALLING A FUNCTION? DAS LIKE SAYING: "WANT A FISH? WELL, WE HAVE PLENTY OF FISH OVER HERE THAT YOU COULD TAKE, SURE, BUT I SUGGEST WALKING INTO THAT FUCKING VOLCANO AND FINDING A FISH IN THERE. IT'LL BE KOOL."

[QUOTE]I think C is a good language for that kind of introduction since the audience wants low-level knowledge.[/QUOTE]
AINT NO LOW-LEVEL COOKIE-CUTTER LANGUAGE.

[QUOTE]I'm by no means a C expert, although I've read K&R and the C standard,[/QUOTE]
YAINT RED DA FUCKIN STANDARD. I CAN FUCKIN TELL. I WALK INTO A ROOM AND IMMEDIATELY I KNO WHO'S RED DA STANDARD N WHO HASN'T. JUST CUMS NATURALLY FOR ME. YOU SIR, YOU MAY HAVE TAKEN A FEW GLIMPSES OF DA STANDARD, BUT U SURE AS HELL AINT RED IT.

[QUOTE]C standard changes too fast to keep up if you don't use it daily.[/QUOTE]
ONCE A FUKIN DECADE. YA CUDDA KEPT IT ANSI C; COMPLIANT WIT DA STANDARD DEANIS RICKY LOVED, IF DA LATER STANDARDZ ARE A PROBLEM FER YA AS DEY WERE FOR DEANIS RICKY WHO DID HIMSELF IN OVER THE CHANGES IN C11.

LAMBDA ARTHUR FUCKING CALCULUS SIGNING OFF!

Name: Anonymous 2013-04-09 6:12

O SHIT DER ARENT QUOTE TAGS ON HERE R DER? FERGOT ME GREETER DEN

Name: Anonymous 2013-04-09 8:18

>>52
LEL newfag lern2quote or /polecat kebabs/!

Name: Anonymous 2013-04-09 9:20

>>53
IVE BEEN QUOTIN WITH GREATER-THANS SINCE BEFORE YOU WERE BORN U DUM NOOB. IM JUST GETTING FORGETFUL IN MY OLD AGE. SHOW SUM RESPECT FOR UR ELDERS.

Name: Anonymous 2013-04-09 9:29

>>54
There's no need to shout!

Name: Anonymous 2013-04-09 21:58

>>55
Nice dubs, bro!

Name: Anonymous 2013-04-10 1:27

>>55
I BEEN SHOUTIN AT PEOPLE SINCE BEFORE U WERE BORN U DUM NOOB. IF I WANNA SHOUT IM GUNNA SHOUT! I BET UR ONE OF THOSE ISO HYENAS DAT KICKED ME OUT OF DA C COMMITTEE FOR SHOUTIN AT SUM FUCKER WHO HAINT RED DA FUKIN STANDARD ARENT U? UR DA REASON DEANIS RICKY'S DEAD.

Name: Anonymous 2013-04-10 10:14

DEANIS RICKY
That one that died together with grandmaster Steve Jobs?

Name: Lambda A. Calculus 2013-04-10 10:25

>>58
HE DIDNT DIE WIT STEVE JOBS, HE DIED RITE DER IN MY ARMS AS HE DID HIMSELF IN WIT A PISTOL TWO DAYS AFTER DA FINAL DRAFT REVIEW OF C11. DAT FINAL DRAFT IS EXACTLY WAT LED HIM TO SUICIDE. DEM GREEDY, MENACING HYENAS AT ISO WHO RUINED DA LANGUAGE DEANIS RICKY LOVED. DEY'RE DA REASON DEANIS RICKY DID HIMSELF IN, DEY'RE WHAT MADE HIM DEPRESSED OVER DA YEARS, AND DEY'RE DA GREEDY FATCATS WHO TURNED C FROM DA LANGUAGE OF KINGS TO A STEAMING PILE OF SHIT WITH DER GOOTCHY rsize_t TYPE, DER WUNDERFUL THREAD LIBRARY, AND ALL DAT OTHER BULLSHIT. CAN YA BLAME RICKY FOR DOIN' HIMSELF IN WHEN THE WORLD'S FILLED WITH DEEZ FILTHY SCOUNDRELS WHO WILL TAKE A BRIGHT, BEAUTIFUL FLOWER LIKE C89 AND TURN IT INTO A PERVERTED STEAMING PILE OF SHIT LIKE C11?

WHY DA FUCK DO YOU CUNTS THINK THERE WAS NO K&R3 TO COVER C99? WHEN DEANIS RICKY SAW C99 HE SPENT DA WHOLE NIGHT THROWIN' UP. C11 WAS DA LAST FUCKIN STRAW. DA NAIL IN DA FUCKIN COFFIN. I KNOW THIS BECAUSE I WAS DER. I'M DA GUY WHO WROTE MOST OF DA string.h FUNCTIONS DAT YOU SEE NOW IN DA STANDARD C LIBRARY. I KNOWN RICKY SINCE BEFORE C WAS EVEN STANDARDISED. HELL, I KNEW HIM SINCE BEFORE HE EVEN PLANNED ON DESIGNING C.

Name: 59 2013-04-10 10:32

I'M DA GUY WHO WROTE MOST OF DA string.h FUNCTIONS DAT YOU SEE NOW IN DA STANDARD C LIBRARY.
N IF YA DONT FUCKIN BELIEVE ME, ASK ME A QUESTION BOUT ANY ABBREVIATED NAMES USED IN DA C LANGUAGE OR STANDARD C LIBRARY AND I'LL TELL YA EXACTLY WHAT DEY MEAN. DOSE DEFINITIONS HAVE BEEN LOST OVER DA YEARS AND I'M ONE OF DA ONLY PEOPLE LEFT WHO REMEMBER EM.

Name: Anonymous 2013-04-10 11:18

CMON YA COWARDS

Name: Anonymous 2013-04-10 14:46

Lambda Arthur Calculus = Ken Thompson?

Name: Anonymous 2013-04-11 0:51

>>62 NO, BUT I KNO OLD KENNY.

Name: Anonymous 2013-04-11 1:05

>>63
Who are you?

Name: Anonymous 2013-04-11 1:43

>>64
I'M LAMBDA ARTHUR CALCULUS. DAS WHO I AM. I KNOWN DAT SINCE DAY #1. HOW BOUT U? HUH? U PROBABLY THINK UR ANONYMOUS OR SUMFIN CUZ U DONT KNO WHO U R.

Name: Anonymous 2013-04-11 2:19

>>60
calloc, strpbrk, strcspn, setvbuf?

Name: Anonymous 2013-04-11 2:22

>>66
CHARACTER ALLOCATE, STRING POINTER BREAK, STRING COMPLEMENT SPAN, SET VARIABLE BUFFER. DEM ISO FATCATS WUDNT EVEN PUT DAT IN DA FUCKIN STANDARD WUD DEY?

Name: Anonymous 2013-04-11 2:22

NEXT

Name: Anonymous 2013-04-11 2:40

CHARACTER ALLOCATE
STRING COMPLEMENT SPAN
Bullshit. http://www.roesler-ac.de/wolfram/acro/Fct.htm

Name: Anonymous 2013-04-11 2:53

>>69

calloc DONT CLEAR SHIT AND calloc DONT COUNT SHIT. SETS DAT SHIT TO 0. CANT USE IT FOR NULL POINTERS, CAN'T USE IT FOR ZERO FLOATING POINT VALUES, FUCKIN USELESS FOR EVERYTHING ASIDE FROM INTEGER TYPES. TAKE A LOOK AT STRNCPY, BUDDY. ZERO! ZERO! ZERO! PADS THAT SHIT WITH ZERO. AND DATS WHAT DEY DID WITH FILENAMES, DEY FUCKIN calloc'ed EM WHEN DEY NEEDED A VARIABLE-LENGTH LIST OF EM. DATS HOW DEY FIRST USED IT AND I KNOW THTIS COS I WAS THERE. THOSE FAT CATS ON comp.lang.c DON'T WANT YOU TO KNOW ABOUT strncpy. THEY THINK IT'S BAAAAAD PRACTICE. THAT'S WHY THEY CREATED THAT BULLSHIT NAME "clear alloc". I LAUGH AT DAT SHIT. I KNOW HOW TO USE strncpy AND I KNOW HOW TO USE strncmp! I FUCKIN WROTE THOSE FUNCTIONS.

"string character span" - YEA SURE. WHY DA FUCK WOULD I HAVE CALLED IT "string character span" WHEN IT DOES DA FUCKIN OPPOSITE OF "string span"? THEY BOTH ACCEPT TWO FUCKING STRINGS FOR FUCKS SAKE. COMMON SENSE ALONE'LL TELL YA DATS A LOAD OF SHIT. I KNEW WHAT I WAS DOIN DEN AND I KNO WAT I'M DOIN NOW. WUD I HAVE GIVEN strcspn SUCH A STUPID MEANINGLESS NAME? FUK NO.

NEXT!

Name: Anonymous 2013-04-11 2:56

OH YEAH, AND JUST A NOTE FOR ALL YOU FUCKS WHO THINK DA SECOND PARAMETER OF calloc WAS USED TO SPECIFY THE SIZE OF A TYPE, DIS IS HOW IT WAS USED:

calloc(desired_list_size, filename_length);

CHARACTER ALLOC! NO FUCKING SHIT. THEY HAD FIXED FILENAMES BACK THEN.

Name: Anonymous 2013-04-11 3:00

>>71
s/TYPE/SCALAR TYPE

Name: Servant m0skit0 2013-04-11 4:11

Name: Anonymous 2013-04-11 4:16

>>73
HAVE YOU FIXED UR STUPID TUTORIAL YET?

Name: Anonymous 2013-04-11 20:36

STILL WAITIN MOSQUITO, U FUCKIN STACK BOY.

Name: Anonymous 2013-04-11 21:16

>>75
Fag mosquito doesn't give a fuck, let him die already.

But why did you allow char *gets(char *)?

(in silverman c-refcard it's char *gets(char *s, size_t max))

Name: Anonymous 2013-04-11 21:20

CHECK 'EM FAGGOTS

TWICE IN A ROW!

Name: Anonymous 2013-04-11 21:31

TWO IN AW RICE!

Name: Anonymous 2013-06-30 17:07

How about this tutorial? Any good?

http://c.learncodethehardway.org/book/

Name: Anonymous 2013-06-30 17:20

>>79
http://c.learncodethehardway.org/book/ex8.html treats results of sizeof as long ints rather than being of type size_t. Well...

Name: Anonymous 2013-07-01 20:42

Name: Anonymous 2013-07-01 20:47

Name: Anonymous 2013-07-01 20:53

Name: Anonymous 2013-07-01 20:58

Name: Anonymous 2013-07-02 0:22

Name: Anonymous 2013-07-02 0:27

Name: Anonymous 2013-07-02 0:32

Name: Anonymous 2013-07-02 4:01

spambegone

Name: Anonymous 2013-07-02 4:02

spambegone

Name: Anonymous 2013-07-02 4:02

spambegone

Name: Anonymous 2013-07-02 4:02

spambegone

Name: Anonymous 2013-07-02 4:02

spambegone

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-07-02 5:28

>>76
I NEVER SAID I WROTE DA stdio.h FUNCTIONS.

>>79
I AIN'T EVEN GONNA GET STARTED ON DAT BULLSHIT. ZED SHAW'S JUST ANOTHER STUPID STACK BOY WHO AIN'T RED DA FUCKIN STANDARD.

Name: Anonymous 2013-07-02 5:33

>>93
LOOK AT DIS FUCKIN STACK BOY:
http://c.learncodethehardway.org/book/ex17.html
JUST REED DA FUCKING TITLE

Name: Anonymous 2013-07-02 5:58

>>93,94
Damn, /u/POLITE_ALLCAPS_GUY, you make this feel just like the old Reddit ;) Keep it on, old boy!

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-07-02 6:00

>>95
OUTTA MY THRED YA RETOID

Name: Anonymous 2013-07-02 6:19

>>96
Haha, the sudden touch of IMPOLITE spices up your shtick delightfully, you're awesome!

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-07-02 8:00

>>97
U HAVE ME CONFUSED WITH SOMEBODY ELSE. LEEV ME ALONE.

Name: Anonymous 2013-07-03 12:38

check'em

Name: Anonymous 2013-07-03 12:38

check'em

Name: Anonymous 2013-09-14 9:21

If you SIR are still waiting for me to fix a shitty tutorial I wrote like 4 years ago in a shitty site... well just sit and wait.

Name: Anonymous 2013-09-14 9:31

>>99
>>100
checked

check out my /g/uotes

Name: m0skit0 2013-10-04 14:59

I just come back from time to time to check this shit. Wassup, no more comments, you tired sir Lambda Fucking Calculus? Come on dude, a guy like you with soooooo many medals cannot give up so easy. Bring it on, dude! I want some serious fight, the internets is getting so damn boring these days! Here is more stuff for you to get cocky: http://wololo.net/talk/viewtopic.php?f=37&t=10045 I'm sure you'll fucking love it. Hope to hear from you soon, bitch!

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-10-05 5:47

>>103
I'M WAITIN FOR U TO START ACTIN LIKE A FUCKIN JACKASS. GET TO IT, RETOID. I AIN'T GONNA GO LOOKING FOR UR SHIT. U BRING UR SHIT INTO MY THRED AND I MAKE U EAT IT. DAT'S DA WAY IT WORKS, AND DAT'S HOW IT'S GONNA KEEP WORKIN.

I THINK IT'S TIME U SHOVED AN ASSEMBLER UP UR ASS, STACK BOI.

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-10-05 6:02

AHAHAHAHA. ONE FUCKIN GLIMPSE AT UR SHITTY TUTORIAL AND I CUDN'T FUCKIN RESIST.

HE CALLS DIS SHIT 'Advanced C (II)':

Ok so now that we know variables are stored into the stack
AHAHAHAHAA

WAT ABOUT 'VARIABLES' WITH STATIC STORAGE DURATION, YA FUCKIN RETOID? EVER THINK ABOUT DEM? LMFAO

WAT ABOUT DA 'VARIABLES' WITH AUTOMATIC STORAGE DURATION DAT GET OPTIMISED UP AND R STORED ONLY IN REGISTERS? HAHAHAHAHAHA

YAINT RED DA STANDARD, UR A FAILURE AT BEING A STACK BOI, AND WAT UR IDEA OF 'ADVANCED C PROGRAMMING' IS JUST POKING AROUND MEMORY LIKE A FUCKIN MONKEY.

SOME DAY I'LL SHOVE A STACK UP UR ASS AND ALLOCATE A LOCAL VARIABLE AS WIDE AS UR MUM'S PUSSY SO IT OVERFLOWS INTO UR FUCKING BRAIN, AND DEN I'LL memcpy DA FUCKIN STANDARD TO IT SO U BECOME A DECENT FUCKIN PROGRAMMER FOR ONCE.

C/C++ is just an annoying language to fight against for the simplest task...

AHAHAHHAA. DESPITE A COMPLETE LACK OF INSIGHT, U'VE STUMBLED UPON A PERFECT ILLUSTRATION FOR A DAY IN DA LIFE OF UR TYPICAL STACK BOI.

Name: Anonymous 2013-10-05 6:59

>le pedophile standard
Real programmers don't need to be forced to work within a set of constraints. Real programmers use everything at their disposal to make the most interesting code possible. I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don't think we are. I think we're responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun. Above all, I hope we don't become missionaries. Don't feel as if you're Bible salesmen. The world has too many of those already. What you know about computing other people will learn. Don't feel as if the key to successful computing is only in your hands. What's in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more.

Name: Anonymous 2013-10-05 10:04

progriders.org

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-10-05 18:08

>>106
GO WORK ON UR SPARROW OS PIECE OF SHIT, TERRY. I THINK IT'S TIME FOR U TO EITHER START TAKING UR FUCKIN MEDS, OR GET KIDNAPPED AND TAKEN TO A STRANGE PLACE THEN THROWN IN A FUCKIN CESSPOOL AND REBUILT FROM THERE. EITHER WAY, GET DA FUCK OUT OF MY THRED, YA RETOID.

UR OPERATING SYSTEM'S A HUNK OF CRAP. YAINT A REAL PROGRAMMER, UR JUST A FUCKIN FAIRY BOI RETOID.

DO ANY OF UR FUTURE MAINTAINERS A FAVOUR AND STAY DA FUCK AWAY FROM STANDARDISED PROGRAMMING LANGUAGES.

Name: m0skit0 2014-01-02 10:44

>>106
You seriously arguing with a lambda troll? ROFL! Watch out, he might closure on you.

>>104
I AIN'T GONNA GO LOOKING FOR UR SHIT
>>105
ONE FUCKIN GLIMPSE AT UR SHITTY TUTORIAL

So you ate my shit, huh bitch? I'm sure it tasted fine for you, since you probably have that for lunch, LMFAO! Go get a life SIR!

Name: Anonymous 2014-01-02 11:35

>>109
me I have not looked at your tuto not a fuckin glimpse
because its shit
and I know its shit beacause your a loser

Name: Anonymous 2014-01-04 1:32

d-bus

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2014-01-09 23:21

>>109
LERN TO REED YA FUKIN RETOID. LERN TO QUOTE TEXT TOO. I DON'T EET UR SHIT, I THROW IT BAK IN UR FACE. KNO WHY? COS I'VE ACTUALLY RED DA FUKIN STANDARD.

AND WEN U LEARN TO REED, GO REED KERNYAN N RICKY 2, REED DA FUKIN STANDARD, DEN GET DA GOOD MIND TO DELETE UR SHITTY TUTORIAL BEFORE U BREED MORE SHIT-GOBBLING STAK BOIS.

I CUM BAK FROM HAWAII AND I GOTTA DEAL WITH ALL DESE NINCOMPOOPZ. NOT TO MENTION DA FUKIN CAPTCHAZ

Name: Anonymous 2014-01-10 20:51

LOUD NOISES!!!!!!!!!!

Don't change these.
Name: Email:
Entire Thread Thread List