Strange Error!

This is a discussion on Strange Error! within the C++ Programming forums, part of the General Programming Boards category; Hello, i am a beginner in c++, and here is my program. i'm using Visual c++ 6.0, and i have ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    56

    Strange Error!

    Hello, i am a beginner in c++, and here is my program.

    i'm using Visual c++ 6.0, and i have no error during "compiling", unfortunately, i got 2 errors during "building".

    it is the first time that having error while "building".
    please help me.

    here is my program.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Oct 2002
    Posts
    56
    and here is the file that the program need to read into it.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    595
    You omitted the second & in the function prototype on line 15 of your program.

    Should be:
    void fillArrays(ifstream&,int,int,int&,skater[]);

    Fix that & it compiles & runs fine. (I didn't check the arithmetic.)

    When you get an "unresolved external" error, look for a problem in a function signature.

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    56
    thanks a lot.
    the program works now

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  2. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  3. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 11:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21