Trying to build a project containing header files/accomplish modularity. As I attempt to compile, the following error pops up:
school5.cpp(11) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Looking on other forums, there might need to be some reconfiguring with the current sdk. Any tips for this tyro? The unruly code is pasted below.
// =====================================================================
// school5.cpp
// Constructors, Destructors, and Projects
// =====================================================================
#include <iostream>
using namespace std;
#include "course5.h"
#include "tom.h"
main()
{
cout << TITLE << endl << endl;
do
{
CCourse course;
course.Report();
}
while (tget("\n\nEnter another course") == 'Y');
cout << "Press ENTER to end ";
cin.ignore();
cin.get();
return 0;
}
school5.cpp(11) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Looking on other forums, there might need to be some reconfiguring with the current sdk. Any tips for this tyro? The unruly code is pasted below.
// =====================================================================
// school5.cpp
// Constructors, Destructors, and Projects
// =====================================================================
#include <iostream>
using namespace std;
#include "course5.h"
#include "tom.h"
main()
{
cout << TITLE << endl << endl;
do
{
CCourse course;
course.Report();
}
while (tget("\n\nEnter another course") == 'Y');
cout << "Press ENTER to end ";
cin.ignore();
cin.get();
return 0;
}