pl help how to convert a cc file to a object file.what is the command need for that and in which environ开发者_运维百科ment it will work
A .cc
file is a typical extension for a C++ source code file (some others include .cxx
and .cpp
). A compiler is needed to turn it into an object file. One very popular encoder is g++
:
g++ -c -o something.o something.cc
精彩评论