ECE 2524: C++

Hi everyone, This week we started on C++. We learned about G++ and GCC compilers.
I programmed in C++ before but using MS Visuals. So the commands like -Wall -g were
new to me. However, I found it simple. ‘-Wall’ just turns on the warning when
compiling the c++ code. We also learned about argc and argv. The thing that I was confused on was
that argv is an array of arguments including the name of the executable cpp file. I
thought it was just the arguments. However, it was arguments with the name of the
executable.

Leave a Reply

Your email address will not be published. Required fields are marked *