Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DATABASE W ITH MFC Pin
David Crow10-Mar-09 3:54
David Crow10-Mar-09 3:54 
QuestionCView problem Pin
prithaa9-Mar-09 20:19
prithaa9-Mar-09 20:19 
AnswerRe: CView problem Pin
Code-o-mat9-Mar-09 22:51
Code-o-mat9-Mar-09 22:51 
GeneralRe: CView problem Pin
prithaa9-Mar-09 23:47
prithaa9-Mar-09 23:47 
QuestionCan I change defined value or const value? Pin
z01e9-Mar-09 20:17
z01e9-Mar-09 20:17 
AnswerRe: Can I change defined value or const value? Pin
Hamid_RT9-Mar-09 20:20
Hamid_RT9-Mar-09 20:20 
AnswerRe: Can I change defined value or const value? Pin
Cedric Moonen9-Mar-09 21:42
Cedric Moonen9-Mar-09 21:42 
AnswerRe: Can I change defined value or const value? Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:07
Iain Clarke, Warrior Programmer10-Mar-09 1:07 
As Cedric said, think about what the compiler sees.

#define numpic 2
...
numpic = numpictest;

becomes:
2 = numpictest;

You would not expect that to work.

As for the other option...

Look up the work "constant" in the dictionary.

If you want it to be casually changable, that is the exact opposite of a constant. A Variable.

I'm not sure how to give a more helpful / friendly answer, as it will depend a lot on the rest of your application, and how you're interacting from different programs. Do you want to pass a number as a parameter?

ie:
myalgorithmapp.exe /pi=7.2

?

Iain.

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

AnswerRe: Can I change defined value or const value? Pin
KarstenK10-Mar-09 2:12
mveKarstenK10-Mar-09 2:12 
QuestionCan we capture sound using c++? Pin
Markandaiya Harsh9-Mar-09 20:17
Markandaiya Harsh9-Mar-09 20:17 
AnswerRe: Can we capture sound using c++? Pin
Hamid_RT9-Mar-09 20:19
Hamid_RT9-Mar-09 20:19 
GeneralRe: Can we capture sound using c++? Pin
ShiXiangYang9-Mar-09 21:25
ShiXiangYang9-Mar-09 21:25 
GeneralRe: Can we capture sound using c++? Pin
Hamid_RT9-Mar-09 21:29
Hamid_RT9-Mar-09 21:29 
GeneralRe: Can we capture sound using c++? Pin
Markandaiya Harsh12-Mar-09 1:37
Markandaiya Harsh12-Mar-09 1:37 
GeneralRe: Can we capture sound using c++? Pin
Hamid_RT12-Mar-09 20:01
Hamid_RT12-Mar-09 20:01 
AnswerRe: Can we capture sound using c++? - On "ShiXiangYang"'s behalf Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:09
Iain Clarke, Warrior Programmer10-Mar-09 1:09 
QuestionI need a source code in c++. Pin
Markandaiya Harsh9-Mar-09 20:12
Markandaiya Harsh9-Mar-09 20:12 
AnswerRe: I need a source code in c++. Pin
_AnsHUMAN_ 9-Mar-09 20:16
_AnsHUMAN_ 9-Mar-09 20:16 
AnswerRe: I need a source code in c++. Pin
Hamid_RT9-Mar-09 20:17
Hamid_RT9-Mar-09 20:17 
GeneralRe: I need a source code in c++. Pin
Markandaiya Harsh9-Mar-09 20:19
Markandaiya Harsh9-Mar-09 20:19 
GeneralRe: I need a source code in c++. Pin
Hamid_RT9-Mar-09 20:28
Hamid_RT9-Mar-09 20:28 
GeneralRe: I need a source code in c++. Pin
Markandaiya Harsh9-Mar-09 20:42
Markandaiya Harsh9-Mar-09 20:42 
Questionneed help on C# ITEXT Pin
YiXiang_899-Mar-09 19:38
YiXiang_899-Mar-09 19:38 
AnswerRe: need help on C# ITEXT Pin
Chandrasekharan P9-Mar-09 19:58
Chandrasekharan P9-Mar-09 19:58 
GeneralRe: need help on C# ITEXT Pin
YiXiang_899-Mar-09 20:06
YiXiang_899-Mar-09 20:06 

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.