I just started to learn c++ and I wanted to show an arry in promt but i get this weird error
this is my code:
#include "stdafx.h"
#include "conio.h"
#include <iostream>
using namespace std;
void _show(char a[10][10])
{
int i,j;
for(i=0;i<10;i++)
for(j=0;j<10;j++)
cout<<a[i][j];
}
void _main(int argc, _TCHAR* argv[])
{
char a[10][10];
int i,j;
for(i=0;i<10;i++)
for(j=0;j<10;j++)
a[i][j]=0;
_show(a);
}
and this is the error:
Error 1 error LNK2019: unresolved external symbol _main referenced in function
Error 2 error LNK1120: 1 unresolved externals