Click here to Skip to main content
15,914,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Formating text from a .txt file Pin
Nish Nishant2-Jun-02 0:11
sitebuilderNish Nishant2-Jun-02 0:11 
GeneralRe: Formating text from a .txt file Pin
2-Jun-02 7:27
suss2-Jun-02 7:27 
Generalviews from menu Pin
ram9712311-Jun-02 21:45
ram9712311-Jun-02 21:45 
GeneralRe: views from menu Pin
Joel Holdsworth1-Jun-02 22:38
Joel Holdsworth1-Jun-02 22:38 
GeneralAnother Question Pin
Joel Holdsworth1-Jun-02 20:46
Joel Holdsworth1-Jun-02 20:46 
GeneralRe: Another Question Pin
Bugra Barin1-Jun-02 22:09
Bugra Barin1-Jun-02 22:09 
GeneralRe: Another Question Pin
Joel Holdsworth1-Jun-02 22:25
Joel Holdsworth1-Jun-02 22:25 
General"stdafx.h" Pin
WREY1-Jun-02 16:55
WREY1-Jun-02 16:55 
This is so weird, I cannot explain.

In my Microsoft Visual Studio directory, the VC98 subdirectory comprises other numerous subdirectories, of which one is "Include". This is where all the '#include' header files are located. However (and this is the strange part), in this subdirectory, there is no 'stdafx.h' file present!! None!!

Yet! some programs which calls for this file get executed while some don't! But as if that's not bad enough, there is one program in particular (which is a Console Application program) that uses "stdafx.h" that wouldn't get 'Build' sometimes because the compiler says it cannot open the "stdafx.h" file.

In the directory where the application program is located, there is a 'stdafx.h' and a 'stdafx.cpp' file. So, I cannot understand why the compiler is saying it couldn't find it to open it.

Lastly, if from the Build menu I were to do a compile (Ctrl F7), it gets compiled cleanly, and then if I were to do a 'Build' (F7), I'd get a clean result: no errors, no warnings, and the program would run beautifully. No problem!

The problem would start over if I were to make changes to the code and then try to compile. Things would start back again with the same old error.

Resetting or rearranging the path directories doesn't seem to help. Does anybody know why this might be happening and have a suggestion?

Thanks!

Confused | :confused:

William
GeneralRe: "stdafx.h" Pin
Nish Nishant1-Jun-02 18:05
sitebuilderNish Nishant1-Jun-02 18:05 
GeneralRe: "stdafx.h" Pin
WREY1-Jun-02 20:39
WREY1-Jun-02 20:39 
GeneralRe: "stdafx.h" Pin
Joel Holdsworth1-Jun-02 21:04
Joel Holdsworth1-Jun-02 21:04 
GeneralRe: "stdafx.h" Pin
WREY1-Jun-02 21:43
WREY1-Jun-02 21:43 
GeneralRe: "stdafx.h" Pin
Brian Delahunty2-Jun-02 4:59
Brian Delahunty2-Jun-02 4:59 
GeneralAnimateWindow(), problem Pin
MaTrIX2k21-Jun-02 11:16
MaTrIX2k21-Jun-02 11:16 
GeneralRe: AnimateWindow(), problem Pin
Paul M Watt1-Jun-02 18:09
mentorPaul M Watt1-Jun-02 18:09 
GeneralRe: AnimateWindow(), problem Pin
MaTrIX2k21-Jun-02 18:49
MaTrIX2k21-Jun-02 18:49 
GeneralDetecting connections... Pin
einst9921-Jun-02 10:30
einst9921-Jun-02 10:30 
GeneralRe: Detecting connections... Pin
Rama Krishna Vavilala1-Jun-02 12:19
Rama Krishna Vavilala1-Jun-02 12:19 
QuestionWhere can I get masm? Pin
1-Jun-02 10:29
suss1-Jun-02 10:29 
AnswerRe: Where can I get masm? Pin
Tim Smith1-Jun-02 10:38
Tim Smith1-Jun-02 10:38 
GeneralRe: Where can I get masm? Pin
1-Jun-02 10:53
suss1-Jun-02 10:53 
AnswerRe: Where can I get masm? Pin
Nish Nishant1-Jun-02 18:14
sitebuilderNish Nishant1-Jun-02 18:14 
AnswerRe: Where can I get masm? Pin
David_LoveCpp17-Mar-10 22:32
David_LoveCpp17-Mar-10 22:32 
Questionwhich way is better? Pin
pnpfriend1-Jun-02 9:24
pnpfriend1-Jun-02 9:24 
AnswerRe: which way is better? Pin
Brian Delahunty1-Jun-02 10:24
Brian Delahunty1-Jun-02 10:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.