Re: [問題]linux 底下寫C++
man gcc or g++
file.h
C, C++, Objective-C or Objective-C++ header file to be turned into
a precompiled header.
file.cc
file.cp
file.cxx
file.cpp
file.CPP
file.c++
file.C
C++ source code which must be preprocessed. Note that in .cxx,
the last two letters must both be literally x. Likewise, .C
refers to a literal capital C.
不過也有一些奇怪的啦,像 boost 就是像 hpp
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.124.160.118
推
07/10 16:44, , 1F
07/10 16:44, 1F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):
問題
6
29