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

C / C++ / MFC

 
GeneralRe: Taskbar button Pin
Ravi Bhavnani16-Jun-05 6:04
professionalRavi Bhavnani16-Jun-05 6:04 
QuestionCreateEx memory leak? Pin
Tomer Kanza14-Jun-05 23:17
Tomer Kanza14-Jun-05 23:17 
AnswerRe: CreateEx memory leak? Pin
Alexander M.,15-Jun-05 5:41
Alexander M.,15-Jun-05 5:41 
GeneralRe: CreateEx memory leak? Pin
Tomer Kanza15-Jun-05 6:11
Tomer Kanza15-Jun-05 6:11 
GeneralRe: CreateEx memory leak? Pin
Alexander M.,15-Jun-05 9:30
Alexander M.,15-Jun-05 9:30 
GeneralRe: CreateEx memory leak? Pin
Tomer Kanza16-Jun-05 0:03
Tomer Kanza16-Jun-05 0:03 
GeneralArray Problem Pin
aaadetos14-Jun-05 22:41
aaadetos14-Jun-05 22:41 
GeneralRe: Array Problem Pin
narendra_ b14-Jun-05 23:48
narendra_ b14-Jun-05 23:48 
i am not clear abt ur requirement. try this

#include <stdio.h>
#include <math.h>
const int size = 10;
double A[size] = {0},B[size] = {0}, C[size],c,d;

double PI = 3.141592653589793238462643383279502884197;

double rah(double *C)
{
int i = C-::C ;
A[i] = sqrt(10*i);
B[i] = 2*PI*i;
::C[i] = A[i]*B[i];
return ::C[i] ;

}

double test()//how do i write this correctly?
{

d = PI * rah(&C[5]);
return d ;


}


int main(int argc, char* argv[])
{

printf("Hello World!\n %f", test());
return 0;
}

naren


VC++ programmer
GeneralRe: Array Problem Pin
David Crow15-Jun-05 5:14
David Crow15-Jun-05 5:14 
GeneralRe: Array Problem Pin
aaadetos15-Jun-05 6:58
aaadetos15-Jun-05 6:58 
GeneralRe: Array Problem Pin
David Crow15-Jun-05 7:35
David Crow15-Jun-05 7:35 
GeneralMultiple options Pin
Rostfrei14-Jun-05 22:33
Rostfrei14-Jun-05 22:33 
GeneralRe: Multiple options Pin
Cedric Moonen14-Jun-05 22:39
Cedric Moonen14-Jun-05 22:39 
GeneralRe: Multiple options Pin
Rostfrei14-Jun-05 23:12
Rostfrei14-Jun-05 23:12 
Questionchange Location URL in IE using BHO? Pin
ThinkingPrometheus14-Jun-05 21:47
ThinkingPrometheus14-Jun-05 21:47 
GeneralActiveX Setup program Pin
Anonymous14-Jun-05 21:25
Anonymous14-Jun-05 21:25 
GeneralRe: ActiveX Setup program Pin
Cedric Moonen14-Jun-05 21:52
Cedric Moonen14-Jun-05 21:52 
GeneralActiveX in Excel Pin
Mimmi51114-Jun-05 21:01
Mimmi51114-Jun-05 21:01 
General#include ... Pin
pardis14-Jun-05 20:43
pardis14-Jun-05 20:43 
GeneralRe: #include ... Pin
Bob Stanneveld14-Jun-05 20:45
Bob Stanneveld14-Jun-05 20:45 
GeneralRe: #include ... Pin
Rick York15-Jun-05 8:21
mveRick York15-Jun-05 8:21 
GeneralTab Icon Pin
LiYS14-Jun-05 20:06
LiYS14-Jun-05 20:06 
Generalclient-server application Pin
ask_you14-Jun-05 20:03
ask_you14-Jun-05 20:03 
GeneralRe: client-server application Pin
ThatsAlok14-Jun-05 21:13
ThatsAlok14-Jun-05 21:13 
QuestionCan Visual C++ .Net genarate SSE code Pin
HasanMalaysia14-Jun-05 18:40
HasanMalaysia14-Jun-05 18:40 

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.