Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help me with thread performance Pin
Henry miller14-Oct-04 2:24
Henry miller14-Oct-04 2:24 
GeneralRe: Help me with thread performance Pin
Blake Miller14-Oct-04 4:42
Blake Miller14-Oct-04 4:42 
GeneralRe: Help me with thread performance Pin
Budric B.14-Oct-04 6:39
Budric B.14-Oct-04 6:39 
QuestionCopying Files -- On the Right Track? Pin
Ian Bowler13-Oct-04 9:05
Ian Bowler13-Oct-04 9:05 
AnswerRe: Copying Files -- On the Right Track? Pin
David Crow13-Oct-04 10:33
David Crow13-Oct-04 10:33 
AnswerRe: Copying Files -- On the Right Track? Pin
Maximilien13-Oct-04 10:33
Maximilien13-Oct-04 10:33 
GeneralRe: Copying Files -- On the Right Track? Pin
Ian Bowler13-Oct-04 11:47
Ian Bowler13-Oct-04 11:47 
Generalpointer question Pin
Anonymous13-Oct-04 8:22
Anonymous13-Oct-04 8:22 
Hai,
I'm new to programming...I have to calculate some values in a func and get those values outside the func..
ie i'm doing as below
main()
{

float *val1 = NULL;
float *val2 = NULL;
........
myfunc(&val1,&val2);
myfunc2(*val1,*val2);

.........
}

int myfunc(float *V1,float *V2)
{
int cal1 = 10;
.....
*V1 = cal1 / 2; ---> It does'nt give me any error,but when I debug it gives me access violation in memory 0x0000000 here...
*V2 = cal1 / 5;

return 0;
}

where am I going wrong...

Thanks a lot..

GeneralRe: pointer question Pin
Budric B.13-Oct-04 8:34
Budric B.13-Oct-04 8:34 
GeneralRe: pointer question Pin
Anonymous13-Oct-04 8:45
Anonymous13-Oct-04 8:45 
GeneralRe: pointer question Pin
TFrancis13-Oct-04 8:58
TFrancis13-Oct-04 8:58 
GeneralRe: pointer question Pin
Budric B.13-Oct-04 9:00
Budric B.13-Oct-04 9:00 
GeneralRe: pointer question Pin
Tyrus18213-Oct-04 17:17
Tyrus18213-Oct-04 17:17 
GeneralRe: pointer question Pin
Anonymous13-Oct-04 17:21
Anonymous13-Oct-04 17:21 
GeneralRe: pointer question Pin
Henry miller14-Oct-04 2:31
Henry miller14-Oct-04 2:31 
GeneralC++/MFC tests Pin
BlackDice13-Oct-04 7:42
BlackDice13-Oct-04 7:42 
GeneralRe: C++/MFC tests Pin
David Crow13-Oct-04 10:35
David Crow13-Oct-04 10:35 
GeneralRe: C++/MFC tests Pin
BlackDice13-Oct-04 11:38
BlackDice13-Oct-04 11:38 
GeneralRe: C++/MFC tests Pin
David Crow14-Oct-04 2:10
David Crow14-Oct-04 2:10 
GeneralRe: C++/MFC tests Pin
BlackDice14-Oct-04 2:41
BlackDice14-Oct-04 2:41 
GeneralRe: C++/MFC tests Pin
Henry miller14-Oct-04 2:35
Henry miller14-Oct-04 2:35 
GeneralRe: C++/MFC tests Pin
BlackDice14-Oct-04 2:44
BlackDice14-Oct-04 2:44 
Questionhow to run your program in boot ? Pin
faroqtam13-Oct-04 6:41
faroqtam13-Oct-04 6:41 
AnswerRe: how to run your program in boot ? Pin
David Crow13-Oct-04 10:35
David Crow13-Oct-04 10:35 
QuestionMFC (VC 6.0 SP 6) asserts - missing Ole server ? Pin
Vaclav13-Oct-04 6:26
Vaclav13-Oct-04 6:26 

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.