Hi,
I have got seven error and I dont find why compiler find error..
//commission class definition
#ifndef COMMISSION_H
#define COMMISSION_H
#include <string>
using std::string;
class Commission
{
public:
Commission(cons t string &,const string &,const string &,const string &,double=0.0,do uble=0.0);
void setFirstName(co nst...
User Profile
Collapse
-
Erros: Overloaded constructor not found, EOF found
-
So I don't write main function that test all of the functions but many many error occur
--------------------Configuration: ctry - Win32 Debug--------------------
Compiling...
ctry.cpp
c:\program files\microsoft visual studio\myprojec ts\contry\dosya _1.h(27) : error C2059: syntax error : 'constant'
C:\Program Files\Microsoft Visual Studio\MyProjec ts\contry\ctry. cpp(24) : error C2660: 'accept_2D_neig hboring_vector'... -
Using vectors for map coding
Hello;
I will use standard library vectors and implement simple map coloring algorithm. The goal of a map coloring problem is to color a map so that regions sharing a common border have different colors
In C++ I can represent the neighboring information using a 2D vector of booleans. For example, consider the following 2D neighbor vector:
Countries 1 2 3 4
1 - ...Last edited by sicarie; Nov 5 '07, 01:38 PM. Reason: Code tags are [code=cpp] code goes here [/code]. Please use them
No activity results to display
Show More
Leave a comment: