Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCTreeCtrl Pin
10-Aug-01 17:28
suss10-Aug-01 17:28 
GeneralRe: CTreeCtrl Pin
Bret Faller13-Aug-01 8:08
Bret Faller13-Aug-01 8:08 
Question32/64/96bit integers? Pin
Kevin Power10-Aug-01 15:23
Kevin Power10-Aug-01 15:23 
AnswerRe: 32/64/96bit integers? Pin
Wolfram Steinke10-Aug-01 16:16
Wolfram Steinke10-Aug-01 16:16 
AnswerRe: 32/64/96bit integers? Pin
Mukkie10-Aug-01 21:48
Mukkie10-Aug-01 21:48 
GeneralInternet Explorer Pin
calebcohoon10-Aug-01 14:31
calebcohoon10-Aug-01 14:31 
GeneralRegSaveKey Pin
10-Aug-01 13:47
suss10-Aug-01 13:47 
GeneralGlobals from additional files Pin
10-Aug-01 12:47
suss10-Aug-01 12:47 
Hello , I've got small problem ... Probably somebody can help ?

Here is a problem :
For example , I have Main.cpp ... I added Appendix.cpp and appendix.h files to my project ... I have definition of "float aaa" in .CPP and "extern float aaa" in .H file (Is it RIGHT ?) ... Also in appendix.cpp I described procedure "void Twice()" that make aaa*=aaa;
So - I CAN'T SAVE DATA INTO aaa FROM MAIN.CPP !
I CAN DO IT ONLY FROM Appendixies ...
Only I can do from main.cpp is to read 'aaa' - result of Twice()...
Probably I did something WRONG ? or I need to add something ?
Please Help !!!
P.S.
***
Appendix.CPP
---
#include "stdafx,h"
#include "appendix.h"
float aaa;
void Twice()
{
aaa=1.5;
aaa*=aaa;
}
***
Appendix.H
---
extern float aaa;
void Twice();

***
Main.CPP
---
#include "appendix.h"

!@*&#*!@






Questioncreate pointers to different classes??? Pin
Bob Bain10-Aug-01 11:34
Bob Bain10-Aug-01 11:34 
AnswerRe: create pointers to different classes??? Pin
Tim Deveaux11-Aug-01 5:48
Tim Deveaux11-Aug-01 5:48 
GeneralProblem with Splitter Wnd Pin
Francis B.10-Aug-01 11:06
Francis B.10-Aug-01 11:06 
GeneralRe: Problem with Splitter Wnd Pin
10-Aug-01 11:22
suss10-Aug-01 11:22 
GeneralNeed some help Pin
Brian V Shifrin10-Aug-01 10:42
Brian V Shifrin10-Aug-01 10:42 
GeneralRe: Need some help Pin
Carlos Antollini10-Aug-01 10:56
Carlos Antollini10-Aug-01 10:56 
GeneralDuh! Pin
Brian V Shifrin10-Aug-01 11:13
Brian V Shifrin10-Aug-01 11:13 
GeneralRe: Duh! Pin
#realJSOP10-Aug-01 11:23
professional#realJSOP10-Aug-01 11:23 
GeneralRe: Need some help Pin
Derek Waters12-Aug-01 14:08
Derek Waters12-Aug-01 14:08 
Generaltons of awful errors Pin
Jake Palmer10-Aug-01 10:27
Jake Palmer10-Aug-01 10:27 
GeneralRe: tons of awful errors Pin
#realJSOP10-Aug-01 10:33
professional#realJSOP10-Aug-01 10:33 
GeneralRe: tons of awful errors Pin
Jake Palmer10-Aug-01 11:02
Jake Palmer10-Aug-01 11:02 
GeneralSource .CPP and Header .H Pin
10-Aug-01 10:06
suss10-Aug-01 10:06 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 10:54
Carlos Antollini10-Aug-01 10:54 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 11:50
suss10-Aug-01 11:50 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 12:07
Carlos Antollini10-Aug-01 12:07 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 12:14
suss10-Aug-01 12:14 

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.