seems like an easy fix... (linker error)

I am trying to use a stack in a function of a class. After including the header of the stack, the program says there is a linker error... Any suggestions?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "stackType.h"

class IfxToPfx
{
public:
	IfxToPfx();
	void getInfix(string);
	string showInfix() const;
	string showPostFix() const;
	bool isOperator(const char);
	int precedence(const char, const char);
	string infixToPostfix(string);
private:
	string infix;
	string postfix;
};


error message::
Error LNK1561 entry point must be defined

Anything is appreciated.
Thank you for your time. :)
You must define and link a starting place for the program - the main function.

Last edited on
thanks mbozzi!
Topic archived. No new replies allowed.