小编Dan*_*ple的帖子

VS Code will not build c++ programs with multiple .ccp source files

Note that I'm using VS Code on Ubuntu 17.10 and using the GCC Compiler.

I'm having trouble building a simple program which makes use of additional .ccp files. I'm probably missing something obvious here as I'm fairly new to programming but I'll explain what I've done so far. This is something that is stopping me from continuing with a tutorial I'm doing.

I have written a very simple program to demonstrate my point as follows.

main.ccp


#include <iostream>
#include "Cat.h" …
Run Code Online (Sandbox Code Playgroud)

c++ linux ubuntu gcc visual-studio-code

5
推荐指数
5
解决办法
6767
查看次数

标签 统计

c++ ×1

gcc ×1

linux ×1

ubuntu ×1

visual-studio-code ×1