Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Similarities & Differences<br />
S Look at basic.cpp for example C++ program<br />
S Operators, if/else, loops, commenting are the same as Java<br />
S Variables are not by default zero-initialized!<br />
S You need a main function:<br />
int main() { !<br />
… !<br />
return 0; //success !<br />
}<br />
11