Oh my; I'm losing my mind! Help!!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Oh my; I'm losing my mind! Help!!

  1. #1
    Join Date
    Dec 2009
    Posts
    2

    Unhappy Oh my; I'm losing my mind! Help!!

    I attatched the code I'm compiling as a zip

    Here is the output from my compiler (using eclipse)

    Code:
    Building target: css342hw7
    Invoking: MacOS X C++ Linker
    g++ -arch x86_64 -o "css342hw7"  ./driver.o   
    Undefined symbols:
      "LongInt::operator>(LongInt const&) const", referenced from:
          _main in driver.o
      "LongInt::operator+(LongInt const&) const", referenced from:
          _main in driver.o
          _main in driver.o
          _main in driver.o
      "LongInt::operator>=(LongInt const&) const", referenced from:
          _main in driver.o
      "LongInt::~LongInt()", referenced from:
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
          _main in driver.o
    Someone help please? : )
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2009
    Posts
    2

    Re: Oh my; I'm losing my mind! Help!!

    Anybody help?

  3. #3
    Join Date
    Jan 2004
    Location
    Düsseldorf, Germany
    Posts
    2,401

    Re: Oh my; I'm losing my mind! Help!!

    You might want to explain to us, what you are trying to do. Why is one of your files called .cpp.h? Why haven't you finished implementing this (there are functions in there with return type bool that don't return anything)?

    If you read the output you are posted, you will find it does not come from your compiler.

    I suggest you first finish your coding, then make sure all your files are named correctly, then try again to build the program.
    More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf

    Premature optimization is the root of all evil --Donald E. Knuth


    Please read Information on posting before posting, especially the info on using [code] tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center