When I did something like this in my LinesDraw.cpp:
Code:
#include "stdafx.h"
#define GLUT_DISABLE_ATEXIT_HACK
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glaux.h>
#include <GL/glut.h>
#include "LinesDraw.h"
using namespace Cosgen;

class LinesDraw{
	public: 
		LinesDraw();
		~LinesDraw();
		//void hello();
		int num;
};
LinesDraw::LinesDraw(){num=1;}
LinesDraw::~LinesDraw(){num=0;}
//void LinesDraw::hello(){ int hello_num=0; }
An error like this occurs:

------ Build started: Project: Cosgen, Configuration: Debug Win32 ------
Compiling...
LinesDraw.cpp
.\LinesDraw.cpp(23) : error C2872: 'LinesDraw' : ambiguous symbol
could be '.\LinesDraw.cpp(15) : LinesDraw'
or 'c:\sp_c++\cosgen\cosgen\LinesDraw.h(17) : Cosgen::LinesDraw'
.\LinesDraw.cpp(27) : error C2872: 'LinesDraw' : ambiguous symbol
could be '.\LinesDraw.cpp(15) : LinesDraw'
or 'c:\sp_c++\cosgen\cosgen\LinesDraw.h(17) : Cosgen::LinesDraw'
Cosgen.cpp
Generating Code...
Build log was saved at "file://c:\SP_C++\Cosgen\Cosgen\Debug\BuildLog.htm"
Cosgen - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I also tried to change things in my LinesDraw.h and Form1.h but nothing seems to work.
Also, if this would run then where would I implement the things that I want to be done?