[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1758971932.png (3 KB, 256x256)
3 KB
3 KB PNG
>Makes C obsolete
Is Hare the most based language?
>>
Is Drew the most annoying faggot?
>>
File: 1758972410701.png (168 KB, 1896x873)
168 KB
168 KB PNG
meanwhile some random guy's compiler
>>
it's less gay to use rust at this point becausse of fag de vault
>>
>>106714992
Python can do it in 22B.
>>
File: 1226573328.jpg (55 KB, 500x500)
55 KB
55 KB JPG
>>106714992
>wisinialang
>>
harebump
>>
>>106717240
kys drew
>>
File: hare.png (5 KB, 1920x960)
5 KB
5 KB PNG
>>106714975
>>
>>106714975
Threading status?
>>
>>106717509
kek
>>
>>106714992
Don't you ever get tired of getting BTFO'd?
>>
>>106714992
>int argc, char *argv[]
>no return 0;
The fuck
>>
>>106718189
no return 0 is whatever but this signature wont compile with -Wall
>>
>>106718189
Newfag alert: "return 0;" in "main" is optional and is implied since C99.
>>106718209
wut
>>
>>106718229
I meant -Wall -Werror
>>
>>106718244
There is nothing wrong with the signature.
>>
>>106718254
there is, both variables are unused and it won't compile with -Wall -Werror
if you don't use arguments then the correct signature is
int main(void)
>>
>>106718276
Yeah, but the problem is not with the signature. There multiple ways to suppress warnings about unused variable.
You can use (void):
(void) argc, (void) argv;

You can use maybe_unused attribute (C23):
int main([[maybe_unused]] int argc, [[maybe_unused]] char *argv[])

or you can omit argument name (C23):
int main(int, char *[])
>>
>>106714975
>larping as drew
>>
>>106714975
I hate Hare.
>>
>>106719928
Why



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.