c++调用其他源文件函数 Error Link2019

在c++中,主函数调用另一个cpp文件中的funcm函数,一种方法为,在自建头文件中声明该函数,并且在描述funcm函数实体的cpp文件中引用头文件。具体示例如下: //主函数源文件SummerSchool.cpp #include "stdafx.h" #include<iostream> #include"Account.h" #include<Windows.h> int main() {
相关文章
相关标签/搜索