Redefined Error

So I'm writing a program that's a little late so any help would be sweet!!! Here's the error:

Error : object 'numbers::numbers()' redefined
numbers.cpp line 4 {

Error : object 'numbers::index(int)' redefined
numbers.cpp line 9 {

Error : object 'numbers::insertNum(int)' redefined
numbers.cpp line 21 {

Error : object 'numbers::print()' redefined
numbers.cpp line 38 {

All of these refer to classes. What can I change to get this thing to work?? Thanx in advance

Comments

  • : So I'm writing a program that's a little late so any help would be sweet!!! Here's the error:
    :
    : Error : object 'numbers::numbers()' redefined
    : numbers.cpp line 4 {
    :
    : Error : object 'numbers::index(int)' redefined
    : numbers.cpp line 9 {
    :
    : Error : object 'numbers::insertNum(int)' redefined
    : numbers.cpp line 21 {
    :
    : Error : object 'numbers::print()' redefined
    : numbers.cpp line 38 {
    :
    : All of these refer to classes. What can I change to get this thing to work?? Thanx in advance
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion