[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
ITT we make /g/ approved insults. I'll start. If you were
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 37
Thread images: 4
File: fgets.jpg (8 KB, 173x156) Image search: [Google]
fgets.jpg
8 KB, 173x156
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
>>
File: .jpg (40 KB, 530x352) Image search: [Google]
.jpg
40 KB, 530x352
>>54545495
>method
>in C
Methods belong to classes, C has functions.
>>
File: .gif (2 MB, 320x180) Image search: [Google]
.gif
2 MB, 320x180
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.
>>
File: .png (133 KB, 313x382) Image search: [Google]
.png
133 KB, 313x382
>>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.
>>
>>54546966
scanf("%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.
Thread replies: 37
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.