Click here to Skip to main content
15,909,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bad_alloc Pin
Hamid_RT7-Jan-08 5:26
Hamid_RT7-Jan-08 5:26 
Questionhow to set inlude of option? Pin
gentleguy4-Jan-08 22:36
gentleguy4-Jan-08 22:36 
AnswerRe: how to set inlude of option? Pin
toxcct4-Jan-08 23:36
toxcct4-Jan-08 23:36 
GeneralOff-topic Pin
CPallini5-Jan-08 0:15
mveCPallini5-Jan-08 0:15 
GeneralRe: Off-topic Pin
toxcct5-Jan-08 7:25
toxcct5-Jan-08 7:25 
AnswerRe: how to set inlude of option? Pin
CPallini5-Jan-08 0:11
mveCPallini5-Jan-08 0:11 
GeneralRe: how to set inlude of option? Pin
gentleguy5-Jan-08 1:17
gentleguy5-Jan-08 1:17 
GeneralRe: how to set inlude of option? Pin
CPallini5-Jan-08 1:30
mveCPallini5-Jan-08 1:30 
Well, IMHO, the best behaviour will be to put your Centroids.h header file inside the project source folder (where is, for instance Centroids.cpp) and then use:
#include "Centroids.h"

into Centroids.cpp.

However, if you really need to put Centroids.h in a special folder, then, adding such a folder to the VC++ include directories isn't difficult:
(1) Choose Tools->Options menu item
(2) Select Project and Solutions->VC++ Directories node.
(3) Select Include Files item in the Show Directories for list.
(4) Choose the New line (folder icon) button or press CTRL+INS key combination.
(5) Add the path of the folder wherein Centroids.h is (you can browse for).
(6) Enjoy compilation (remember the #include "Centroids.h" in the source code)

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralRe: how to set inlude of option? Pin
gentleguy5-Jan-08 1:39
gentleguy5-Jan-08 1:39 
GeneralRe: how to set inlude of option? Pin
CPallini5-Jan-08 4:22
mveCPallini5-Jan-08 4:22 
GeneralRe: how to set inlude of option? Pin
gentleguy5-Jan-08 1:44
gentleguy5-Jan-08 1:44 
GeneralRe: how to set inlude of option? Pin
gentleguy5-Jan-08 1:47
gentleguy5-Jan-08 1:47 
GeneralRe: how to set inlude of option? Pin
David Crow5-Jan-08 4:33
David Crow5-Jan-08 4:33 
JokeRe: how to set inlude of option? Pin
CPallini5-Jan-08 4:35
mveCPallini5-Jan-08 4:35 
GeneralRe: how to set inlude of option? Pin
gentleguy6-Jan-08 0:07
gentleguy6-Jan-08 0:07 
GeneralAVCODEC Pin
Girish Kumar4-Jan-08 22:24
Girish Kumar4-Jan-08 22:24 
GeneralConvert Date to EXCEL Numeric Pin
im_hoser4-Jan-08 21:10
im_hoser4-Jan-08 21:10 
GeneralRe: Convert Date to EXCEL Numeric Pin
CPallini5-Jan-08 0:50
mveCPallini5-Jan-08 0:50 
GeneralProbelm in calling ActiveX VB dll Pin
manoharbalu4-Jan-08 19:35
manoharbalu4-Jan-08 19:35 
Generalurgent help Pin
gentleguy4-Jan-08 19:22
gentleguy4-Jan-08 19:22 
QuestionRe: urgent help Pin
CPallini4-Jan-08 23:09
mveCPallini4-Jan-08 23:09 
GeneralRe: urgent help Pin
gentleguy5-Jan-08 1:20
gentleguy5-Jan-08 1:20 
GeneralRe: urgent help Pin
Joan M5-Jan-08 2:14
professionalJoan M5-Jan-08 2:14 
QuestionProblem with using SENS and the COM Event System in VC++ Pin
ashishbhatt4-Jan-08 17:40
ashishbhatt4-Jan-08 17:40 
GeneralRe: Problem with using SENS and the COM Event System in VC++ Pin
David Crow4-Jan-08 17:50
David Crow4-Jan-08 17:50 

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.