Thread: Ambiguous call to overloaded function and more

  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.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> 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