Undefined reference C++

后端 未结 2 1173
清酒与你
清酒与你 2020-12-01 23:42

I\'m trying to compile my first legit program that I\'m converting from Java (I ran a test hello world type program to check my compiler and it works). There are three files

2条回答
  •  失恋的感觉
    2020-12-02 00:13

    You may be compiling skewNormal.cpp to a .o file, but you're not including it when you compile main.cpp.

提交回复
热议问题