Message from C, C++ talks

July 2019

— This function main takes some arguments... Int argc and array chars argv

— Argc stands for - arguments count (number how much arguments we are given)
argv are the values

— #include <stdio.h>
int main ( int argc, char *argv[] )

{



}

return 0;

— Structures will be something like this ?

— 

So we will convert those strings into numbers and save them into a,b,c,d. Just a warning first argument is the program name

— Yes

— You can put the a b c d definition there, the result and printf

— Return should be inside of brackets

— Oh yes you are right. Thanks

— Somebody also said using return for main is not neccesary anymore

— Idk if its true

— Its.... Ok

— We will leave it there

— #include <stdio.h>

Int a,b,c,d;

{

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




}




return 0;

}

— Yeah. It's bad practice not using it anyway