how do i fix this
here is all my code from my header file and cpp file
#include "Counter.h"
#include<iostream>
using namespace std;
Counter::Counter(int c)
{
Add = 1;
Total += Add+Add;
cout << "your number is "<< Total << " enjoy." <<endl;
}
Counter::~Counter(void)
{
}
__________________________________________________ _______
#pragma once
class Counter
{
int Total;
int Add;
public:
Counter(int c);
~Counter(void);
};
__________________________________________________ _______
and this is the errors i keep getting
1>------ Build started: Project: counter, Configuration: Debug Win32 ------
1> Counter.cpp
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>c:\documents and settings\wigundlach\my documents\visual studio 2010\Projects\counter\Debug\counter.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
please help