The program must contain function main
. Add it to existing .cpp file or add new .cpp file to the project, something like this:
int main(int argc, char** argv)
{
// use List class here
return 0;
}
Function main
is the program start point. Linker expects this function to be defined in one of source files.