Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
U

User 10414686

@User 10414686
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error in Visual 2012 Running an MFC apps
    U User 10414686

    thank you very much. it helps me. :D

    C / C++ / MFC c++ csharp visual-studio algorithms help

  • Error in Visual 2012 Running an MFC apps
    U User 10414686

    I'm running an MFC apps in Visual 2012 for Genetic Algorithm Timetable.

    c:\users\zahrina\documents\visual studio 2012\projects\gaschedule\gaschedule\gaschedule.h(6): fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH"
    main.cpp
    c:\users\zahrina\documents\visual studio 2012\projects\gaschedule\gaschedule\gaschedule.h(6): fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH"
    GaScheduleDoc.cpp
    c:\users\zahrina\documents\visual studio 2012\projects\gaschedule\gaschedule\gaschedule.h(6): fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH"
    GaSchedule.cpp
    c:\users\zahrina\documents\visual studio 2012\projects\gaschedule\gaschedule\gaschedule.h(6): fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH"
    CourseClass.cpp

    Here is the coding for gaschedule.h

    // GaSchedule.h : main header file for the GaSchedule application
    //
    #pragma once

    #ifndef __AFXWIN_H__
    #error "include 'stdafx.h' before including this file for PCH"
    #endif

    #include "resource.h" // main symbols

    // CGaScheduleApp:
    // See GaSchedule.cpp for the implementation of this class
    //

    class CGaScheduleApp : public CWinApp
    {
    public:
    CGaScheduleApp();

    // Overrides
    public:
    virtual BOOL InitInstance();

    // Implementation

    public:
    afx_msg void OnAppAbout();
    DECLARE_MESSAGE_MAP()
    };

    extern CGaScheduleApp theApp;

    C / C++ / MFC c++ csharp visual-studio algorithms help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups