what does this mean?
tmh88
Pittsburgh / Athens, OH
Im new to c++ and i see this at the beginning of every program my book shows. It clearly explains everything but these few pieces of hte code. What do they mean, can guess the one is for standard spacing or something, but what about the includes and the intmain thing. thanks
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
0
Comments
#include <iostream> /*iostream and several other parts are the main library files that are used in c++ and the file between the symbols is the specified library. */
int main(int nNumberofArgs, char* pszArgs[])
/*this is intitiating functions that are nessesary for the program to run, they arent called that nessesarally, but there will be functions that are defined. */
/* */ means a comment, the code is excluded from the compilation
I would suggest investing in a book for this you will learn this sorta stuff in chapter one or two but probably one. Im not too big on programming however I want to get good eventually.