Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating .hlp file for my MFCApp Pin
*Dreamz20-Sep-05 0:00
*Dreamz20-Sep-05 0:00 
QuestionMewtocol header and terminator Pin
Member 216100419-Sep-05 22:09
Member 216100419-Sep-05 22:09 
Questionrandom numbers Pin
Raza568019-Sep-05 22:07
Raza568019-Sep-05 22:07 
AnswerRe: random numbers Pin
kakan19-Sep-05 22:29
professionalkakan19-Sep-05 22:29 
AnswerRe: random numbers Pin
Mohammad A Gdeisat19-Sep-05 23:24
Mohammad A Gdeisat19-Sep-05 23:24 
QuestionDisable toolbar in CPreviewView Pin
YaronNir19-Sep-05 21:30
YaronNir19-Sep-05 21:30 
QuestionProgram security Pin
mikobi19-Sep-05 20:30
mikobi19-Sep-05 20:30 
AnswerRe: Program security Pin
kakan19-Sep-05 22:27
professionalkakan19-Sep-05 22:27 
There is global variables in C/C++ too, but it isn't considdered to be good programming practice to use it.

Use it like this:

In source1 (declaration + use)
char GlobalCharArray[100];
int GlobalInt;

In source2 (use):
extern char GlobalCharArray[100];
extern int GlobalInt;

Now you use the same char array and int from both source-codes.
GeneralRe: Program security Pin
mikobi19-Sep-05 23:04
mikobi19-Sep-05 23:04 
GeneralRe: Program security Pin
kakan19-Sep-05 23:50
professionalkakan19-Sep-05 23:50 
QuestionSir,can you help me Pin
momer19-Sep-05 20:05
momer19-Sep-05 20:05 
AnswerRe: Sir,can you help me Pin
Branislav19-Sep-05 22:50
Branislav19-Sep-05 22:50 
GeneralRe: Sir,can you help me Pin
momer20-Sep-05 3:11
momer20-Sep-05 3:11 
GeneralRe: Sir,can you help me Pin
Branislav20-Sep-05 4:19
Branislav20-Sep-05 4:19 
GeneralRe: Sir,can you help me Pin
momer20-Sep-05 15:24
momer20-Sep-05 15:24 
QuestionAccessing Error-Checking of local hard drives in XP (in c++ code) Pin
jai200219-Sep-05 19:59
jai200219-Sep-05 19:59 
AnswerRe: Accessing Error-Checking of local hard drives in XP (in c++ code) Pin
Branislav20-Sep-05 1:00
Branislav20-Sep-05 1:00 
GeneralRe: Accessing Error-Checking of local hard drives in XP (in c++ code) Pin
jai200220-Sep-05 13:53
jai200220-Sep-05 13:53 
Questionopening default mail client Pin
rohit.dhamija19-Sep-05 19:02
rohit.dhamija19-Sep-05 19:02 
Questionhttp mime part Pin
ppp00119-Sep-05 17:36
ppp00119-Sep-05 17:36 
AnswerRe: http mime part Pin
Jose Lamas Rios19-Sep-05 18:11
Jose Lamas Rios19-Sep-05 18:11 
QuestionPublic/private keys w/CryptoAPI Pin
Michael Dunn19-Sep-05 16:17
sitebuilderMichael Dunn19-Sep-05 16:17 
AnswerRe: Public/private keys w/CryptoAPI Pin
oustar19-Sep-05 21:00
oustar19-Sep-05 21:00 
GeneralRe: Public/private keys w/CryptoAPI Pin
Michael Dunn20-Sep-05 5:53
sitebuilderMichael Dunn20-Sep-05 5:53 
AnswerRe: Public/private keys w/CryptoAPI Pin
Michael Dunn20-Sep-05 7:19
sitebuilderMichael Dunn20-Sep-05 7:19 

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.