Ambiguous call to overloaded function and more

This is a discussion on Ambiguous call to overloaded function and more within the C++ Programming forums, part of the General Programming Boards category; Hey, I'm writing an appilication for the Windows console and I would really appreciate it if some people would just ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    6

    Ambiguous call to overloaded function and more

    Hey,

    I'm writing an appilication for the Windows console and I would really appreciate it if some people would just look at it and comment on it since I don't have anyone else that can give me tips and point me in the right direction.

    The application is going to be a filesearcher that uses a database with a complete list of files on your harddisks for its search. It's far from finished though.

    Apart from just random comments/tips, I would like to know the following:

    -Why does it say ambiguous call to overloaded function (multiple times) when I try to compile it?
    -Why doesn't the subdirectory-deleting part work in NextDir() from create.cpp?
    -For some reason I'm really losing overview over my application. How can I do this better?

    But really, any tips are GREATLY appreciated

    Thanks for the help,

    Joris

  2. #2
    Registered User
    Join Date
    Dec 2003
    Posts
    6
    Hmmm... I guess something went wrong with the attachment. Hope it works this time.
    Attached Files Attached Files

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,652
    >> void newstrcpy(char* &c, char* &d)
    >> ...
    >> void newstrcpy(char*, char*);

    Types don't match.
    All your "ambiguous call" errors or due to this type of mistake.

    gg

Popular pages Recent additions subscribe to a feed

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