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

post stuff that triggers /g/

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 18
Thread images: 3

File: this triggers the virgin.jpg (379KB, 1200x737px) Image search: [Google]
this triggers the virgin.jpg
379KB, 1200x737px
Why is /g/ against using the deprecated features of C if C is a deprecated language anyway?

#include <stdio.h>

int main( void )
{

puts("This triggers the C fag.");

}
>>
>>57259798
>puts
>not glorious cout
I bet you only know how to fizzbuzz in 35 obscure programming languages
>>
>>57259798
it doesn't trigger me, it just makes you look like you don't know what you're doing :^)
>>
>>57259812
>cout
>C
>>
>>57259812
cout isnt even thread safe, not to mention the ugly-ass syntax
>>
>>57259812
const char *str = "what a trivial thing to get angry about";
fwrite(str, strlen(str) + 1, 1, stdout);
>>
With Ada.Text_IO;
With Ada.Integer_Text_IO;
Use Ada.Text_IO;
>>
>>57259825
>>57259836
>>57259897
Here's your (You) for taking the bait :^)
>>
>>57259798
what's deprecated here?
>>
>>57259798
Why do people put ( void ) in their function arguments?
>>
>>57261785
Main doesn't have to return anything because it's the program, so you return void so nothing is expected to be returned.
>>
>>57261804
I mean in the argument list, not the return value
>>
>>57261785
f() means the number and type of parameters are unknown,
f(void)
means there are no parameters.

Where this matters is compiler error checking:
void a() { }
void b(void) { }

int main(void)
{
a(5); // produces no error since there is no prototype
b(5); // does not match prototype so an error is produced
}


This does not apply to C++,
void f()
 there means the same as void f(void).
>>
>>
>>57261847
Oh cool, did not know that.
>>
File: 2016-10-27.png (4MB, 1600x900px) Image search: [Google]
2016-10-27.png
4MB, 1600x900px
>>57261853
Get on my level.
>>
I prefer the iPhone over Android phones.

Linux is terrible for most people and seems to be filled with people who spend more time ricing their desktop. And like Windows, it's doomed to be a product for corporations like Dell and Valve to shit all over.

Windows is really only good for games and a few other niches. Linux is only good for servers and watching fansubbed anime.

Tablets are awesome pieces of techology.

Macs are okay computers would love to get an Air one day.

VR and 4K are retarded gimmicks.
>>
i don't use the very latest bleeding edge equipment and/or software
Thread posts: 18
Thread images: 3


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.