Thread: Errors

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    Errors

    I am using the compiler LCC-Win32, I have added everything into my project but I keep getting the following erros.

    error project.c: 2815 undeclared identifier 'This_File'
    warning project.c: 2815 sprintf argument mismatch for format s. Expected char pointer got int
    warning project.c: 2817 sprintf argument mismatch for format s. Expected char pointer got int
    Warning project.c: 2821 missing prototype for privmsg
    Warning project.c: 2815 possible usage of 'This_File' before definition

    Can anyone tell me what I need to do in order to sort this problem out ?, thanks a lot

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    It would help if we could see the code.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    Code

    The coding is 3694 lines long, I could add the section that I am having problems with, but I doubt it would help due to I think I have messed up erlier in the code, but tried everything and cant find it.

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    PM

    I have sent you a PM, with the code, could you tell me what is wrong / correct it please ?

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    3694 lines of code and you don't know how to diagnose such an error? They look like lucid messages to me.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 03:11 PM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  3. Unknown Errors in simple program
    By neandrake in forum C++ Programming
    Replies: 16
    Last Post: 04-06-2004, 02:57 PM
  4. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 06:51 PM