ITT we make /g/ approved insults. I'll start.
If you were a method in C, you would be fgets.
Because it sounds like faggot. I told this one to be CS professor. He looked a bit weird about it, probably because he got burned. Anybody else wanna share some?
Off yourself.
Your mother is so fat, computing her weight caused a stack overflow
>>54545537
If you were a method in C, you would be fgets.
>>54545677
You're mom has printf a fgets.
Your mother programs in HTML programming language
Your mother can not even install gentoo
>>54546183
> even counting HTML as a programming language
Yo momma so dumb she uses 1's compliment.
Your mother shitposts from templeos
>>54546464
its funny because my mom literally cannot install gentoo
>>54546475
>she uses 1's compliment
Stop does the C Standard
HOLY SHIT TOP KEK M9 XDDDDDDDDD FGETS, GET IT
IT SOUNDS LIKE FAGGOTS
HOLY SHIT TOP NOTCH BANTZ M9 ThAT PROFESSOR WAS BTFO SO HARD
DANK DESU SENPAI DESU SENPAI
>>54545495
I forked your mother and reaped her process
>>54545537
Pretty good insult but not really /g/ related.
>>54546567
things you can turn on and off are technology related
>>54545495
>method
>in C
Methods belong to classes, C has functions.
You're more insecure than scanf.
>>54546600
OP here, yeah, that was bait. It took 2 threads for somebody to even catch that. And this is supposed to be the tech board. Wew lad.
>>54546650
Nice damage control OP.
>>54546600
forking fget
Your mother is an object
>>54545677
>>54546566
>>54546600
Checksum.
You fucking monoid.
>>54545559
Your insults are so poor, in the year 2016 they fail to implement arbitrary precision arithmetic.
Your mother is fatter than glibc
Your mom is so dumb, she never realized a monad is just a monoid in the category of endofunctors.
>>54546650
> And this is supposed to be the tech board.
No one returned a damn you autistic variable
eval my dick faggot
>>54546628
How is scanf insecure?
Sprintf is insecure.
>>54546600
fgets is a method of the FILE class. It's an implementation of OO in C's standard library.
>>54546813
>OO in C's standard library.
this is b8.
>>54546873
Your post is bait.
>>54546813
They both are insecure, scanf is more so because it takes user input. Literally asking for code injection.
>fgets is a method of the FILE class
FILE is an opaque pointer.
>>54546893
You're mom is b8.
>>54546895
>scanf is more so because it takes user input
What can you do with that? Besides all user input being potentially insecure, scanf doesn't cause a BOF (unless the implementation does), so it's pretty safe. On the other hand, sprintf can overflow your supplied buffer, and snprintf is the safe version.
>FILE is an opaque pointer.
Yes, it's how OO is done in C. Opaque pointers to structures.
>>54546966scanf("%s",string);
Just fuck my shit up until zero.
>>54547001
What's a safe alternative then? Fgets+sscanf?
>>54547040
fgets is fine. gcc and clang also extend scanf to support on demand allocation, like
http://ideone.com/AR0eei
It's not standard.
MSVC, on the other hand, has scanf_s.
Or just write a wrapper for "read", it's almost like fgets.