PCH creation point

This is a discussion on PCH creation point within the C Programming forums, part of the General Programming Boards category; what is a PCH creation point and how can I have a mising semi colon before it? Thanks...

  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
    Ian
    Ian is offline
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,668
    > 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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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, 02:48 AM
  2. Drawing Program
    By Max_Payne in forum C++ Programming
    Replies: 21
    Last Post: 12-21-2007, 04:34 PM
  3. Classes & Collections
    By Max_Payne in forum C++ Programming
    Replies: 7
    Last Post: 12-11-2007, 12:06 PM
  4. floating point binary program, need help
    By ph34r me in forum C Programming
    Replies: 4
    Last Post: 11-10-2004, 06:10 AM
  5. overloading operator help
    By syrel in forum C++ Programming
    Replies: 8
    Last Post: 09-30-2004, 10:49 AM

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