Thread: PCH creation point

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    10

    PCH creation point

    what is a PCH creation point and how can I have a mising semi colon before it?


    Thanks

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    I'll assume you got this as a compile time error?

    That being the case, I'll also assume PCH is something you've declared in your code.

    In either case, this should be giving you a line number. Look at the code a few lines up, and look for some place where you've forgotten to use a semicolon at the end of a line. (Such as when declaring a variable, or defining a structure. That sort of thing.)

    Without seeing more, it's hard to say.

    Quzah.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    21
    I believe I used to get that error when I forgot to put a semicolon after the closing brace of a class.


    class blah
    {
    };

    Then again, maybe it was for some other reason....

    (: Ian

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > what is a PCH creation point
    PCH = Pre Compiled Header

    A mechanism which allows VC++ to compile at something approaching normal speed, because of the impact of including so many windows.h files.

    How you use / fix it, I've no idea.

    Ask in the windows room - I imagine they use the compiler a lot.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    10
    thanks to everyone that replied. I finally gotr it fixed when i went through the program and took out all the semicolons and put them back 2 at a time. Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. instantiation point discussion
    By George2 in forum C++ Programming
    Replies: 1
    Last Post: 03-08-2008, 03:48 AM
  2. Drawing Program
    By Max_Payne in forum C++ Programming
    Replies: 21
    Last Post: 12-21-2007, 05:34 PM
  3. Classes & Collections
    By Max_Payne in forum C++ Programming
    Replies: 7
    Last Post: 12-11-2007, 01:06 PM
  4. floating point binary program, need help
    By ph34r me in forum C Programming
    Replies: 4
    Last Post: 11-10-2004, 07:10 AM
  5. overloading operator help
    By syrel in forum C++ Programming
    Replies: 8
    Last Post: 09-30-2004, 10:49 AM