User Profile

Collapse

Profile Sidebar

Collapse
mersinli
mersinli
Last Activity: Mar 14 '08, 07:43 PM
Joined: Apr 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mersinli
    started a topic Erros: Overloaded constructor not found, EOF found
    in C

    Erros: Overloaded constructor not found, EOF found

    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...
    See more | Go to post

  • mersinli
    replied to Using vectors for map coding
    in C
    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'...
    See more | Go to post

    Leave a comment:


  • mersinli
    started a topic Using vectors for map coding
    in C

    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 - ...
    See more | Go to post
    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
Working...