Int main(int argc, char** argv)

int main(int argc, char** argv)

Attached: good.png (1066x600, 276K)

Other urls found in this thread:

kernel.org/doc/html/v4.10/process/coding-style.html
godbolt.org/g/pzCrco
godbolt.org/g/ign6RH
twitter.com/NSFWRedditGif

Quality fucking thread OP

what should it be?

int main(integer argumentCount, character **argumentVector)

>camelCase in C
fuck off faggot

int main(size_t argc, char *argv[])

Attached: 1520453157964.jpg (758x974, 122K)

int main(int argc, char *argv[])

what's the advantage?

there's nothing you can do about it betamale

it doesn't look like shit. Plus asterisk always goes with variable name

auto main(const std::vector args) -> uint8_t

Attached: 1518179797618.png (500x720, 215K)

i-is that legal?

>basedCase fag calling anyone a beta
kek

no

Attached: tumblr_nklxgaMeXp1t5cczno1_400.gif (400x225, 1.99M)

>Plus asterisk always goes with variable name

Attached: brainlet0.jpg (500x595, 217K)

Is Sakurako legal?

dumb bratposter

>When declaring pointer data or a function that returns a pointer type, the preferred use of * is adjacent to the data name or function name and not adjacent to the type name. Examples:

>char *linux_banner;
>unsigned long long memparse(char *ptr, char **retptr);
>char *match_strdup(substring_t *s);

t. kernel.org/doc/html/v4.10/process/coding-style.html

Sakurano posters are the most intelligent creatures on earth.

Attached: images.jpg (300x168, 7K)

Linux coding style also recommends using 8 spaces for indentation and that you should declare all your variables in the beginning of a scope C90-style. Not exactly something I would recommend for a personal project. The type is a char pointer pointer, that was one of the big mistakes C made.

But since you bring it up, Linux discourage char *argv[]

and encourage
char **argv

Attached: 1504769798548.gif (540x300, 2.59M)

>Linux coding style also recommends using 8 spaces for indentation and that you should declare all your variables in the beginning of a scope C90-style
That's the only sane way of koding

main(int argc, char** argv)
to discourage sepples fags from compiling your code.

Why not
main(argc, argv)
int argc;
char** argv;
{
}

Because C is not a backwards compatible language

Implicit return type deduction is invalid C99 too, I don't see your point.

Valid in C90.
Invalid C99.

That is valid C90 though.

>he compiles stuff for C99
fucking nu-males. reeeeeeeeeeeeeeeeeeeeee

Linux coding style is still stuck in the 70's grandpa.
When I see char* string; I read the char* as a standalone type, namely a pointer to a character.

global variable

Is she doing GNU routine?

kys yourself

compiles on both ANSI and C11

While technically true, the number of times they've broken backwards compatibility is extremely small, and modern compilers will still accept the old code (possibly with a warning).

proof?

DELET

what case do people use in C? snek case? if so imma learn C straight away.

cute slut

just tried it

int main(int argc, char* argv[], char* envp[], char* apple[]);

that's not a proof, that's just another claim.

int main()

fite me

Attached: HOjbEaOZ.jpg (227x222, 8K)

int main(int argc, char **argv)

ANSI godbolt.org/g/pzCrco
C11 godbolt.org/g/ign6RH

int main(void)

at least be human.

who gives a shit you absolute fucking moron. the fact you even use C is indicative of your low IQ.

func main() {
//WOW SO HARD
}
it just works. it's why i have a career and you do not.