CPP Skills

 

Compile

  1. Compile file:
    gcc {FileName} -o {outputFile}
  1. Compile multi file:

    If all the cpp file is in the same folder, use:

     gcc *.cpp -o {outputFile}
    

    If they are not under the same folder, try:

    gcc {FileName1} {FileName2} ... {FileNameN} -o {outputFile}
    

    Or writing a makefile is also a good choice. Guidance