Thread: Window Tutorial

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    2

    me to :(

    i got the exact same problem, did u get it fixed cos i still get
    Untitled1.cpp:5:20: stdafx.h: No such file or directory

    thx all

    Mod
    Split from http://cboard.cprogramming.com/showthread.php?t=72520
    /Mod
    Last edited by Salem; 03-02-2006 at 06:36 AM. Reason: Split thread from the ultimate "me too" bumpage

  2. #2
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    stdafx.h are the precompiled headers from Visual C++. You can safely remove that line, it's not needed (at most it will speed up compilation a bit when using Visual C++).
    Same with that pragma, it's VC++ specific as well and will yield a warning on other compilers. If you set the correct compiler options it's not needed on VC++ either.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by Jack-Dinn
    i got the exact same problem, did u get it fixed cos i still get
    Untitled1.cpp:5:20: stdafx.h: No such file or directory

    thx all
    Please don't bump old threads - the question was answered three months ago when it was originally asked.
    Quote Originally Posted by kermi3
    Welcome to the boards. If you haven't already done so then please take some time to familiarise yourself with the faq:
    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

    Make sure you have a look at the the posting guidelines:
    http://cboard.cprogramming.com/annou...ouncementid=51
    Following the rules will ensure you get a prompt answer to your question.

    Remember, too, that the board has a search facility, a link is at the top of your screen:
    http://cboard.cprogramming.com/search.php
    It will often get you a quicker answer to your questions than waiting for a response to one you have posted.


    If you have any questions about this you may ask or you can contact one of our forum leaders:

    http://cboard.cprogramming.com/showgroups.php
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    2
    thx Jwenting for the help,

    btw i did not see a solution on the old thread, but nm i,ll search harder next time,

    thx
    Last edited by Jack-Dinn; 03-05-2006 at 05:39 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  2. how i create a window whith all it's elements
    By rasheed in forum Windows Programming
    Replies: 1
    Last Post: 05-31-2006, 06:53 PM
  3. internet
    By yeah in forum C Programming
    Replies: 16
    Last Post: 02-12-2005, 10:37 PM
  4. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 01:08 AM
  5. no errors but still errors
    By Megatron in forum Windows Programming
    Replies: 7
    Last Post: 01-12-2003, 11:21 PM