Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using array of string values Pin
CPallini13-Jun-13 6:45
mveCPallini13-Jun-13 6:45 
AnswerRe: Using array of string values Pin
Freak3014-Jun-13 0:43
Freak3014-Jun-13 0:43 
QuestionHow to use user defined type in other function. Pin
Manoj739012-Jun-13 19:44
Manoj739012-Jun-13 19:44 
AnswerRe: How to use user defined type in other function. Pin
Richard MacCutchan12-Jun-13 21:05
mveRichard MacCutchan12-Jun-13 21:05 
GeneralRe: How to use user defined type in other function. Pin
Manoj739012-Jun-13 21:41
Manoj739012-Jun-13 21:41 
GeneralRe: How to use user defined type in other function. Pin
Richard MacCutchan12-Jun-13 22:29
mveRichard MacCutchan12-Jun-13 22:29 
GeneralRe: How to use user defined type in other function. Pin
CPallini12-Jun-13 23:26
mveCPallini12-Jun-13 23:26 
GeneralRe: How to use user defined type in other function. Pin
Manoj739013-Jun-13 23:54
Manoj739013-Jun-13 23:54 
Hi.. i have used the structure to pass three different variable as shown below...
int main()
{
struct result t1;

t1 = my_encrypt();
cout << t1.pa << t1.c1 << t1.c2 <<;
}

struct result my_encrypt()
{
typedef EllipticCurve<263> ec_t;

struct result
{
ec_t::Point Pa;
ec_t::ffe_t c1;
ec_t::ffe_t c2;
}t;

ec_t::Point Pk = a*Pb;

ec_t::ffe_t t.c1( m1*Pk.x() );

ec_t::ffe_t t.c2( m2*Pk.y() );

return (t);
}

I am getting so many errors.. Please tell me anything wrong declaration here.
Can i declare that structure as global...
GeneralRe: How to use user defined type in other function. Pin
CPallini14-Jun-13 0:42
mveCPallini14-Jun-13 0:42 
QuestionCapturing mouse input outside a dialog Pin
rbrunton12-Jun-13 7:19
rbrunton12-Jun-13 7:19 
GeneralRe: Capturing mouse input outside a dialog Pin
David Crow12-Jun-13 10:19
David Crow12-Jun-13 10:19 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:04
rbrunton12-Jun-13 11:04 
GeneralRe: Capturing mouse input outside a dialog Pin
rbrunton12-Jun-13 11:11
rbrunton12-Jun-13 11:11 
AnswerRe: Capturing mouse input outside a dialog Pin
Erudite_Eric13-Jun-13 1:15
Erudite_Eric13-Jun-13 1:15 
AnswerRe: Capturing mouse input outside a dialog Pin
thanh_bkhn13-Jun-13 16:57
professionalthanh_bkhn13-Jun-13 16:57 
QuestionCToolTipCtrl with TTF_TRACK Flag won't disappear, SetDelayTime doesn't work? Pin
Falconapollo12-Jun-13 0:34
Falconapollo12-Jun-13 0:34 
QuestionLoadImage error Pin
_Flaviu11-Jun-13 22:04
_Flaviu11-Jun-13 22:04 
AnswerRe: LoadImage error Pin
Jochen Arndt11-Jun-13 22:58
professionalJochen Arndt11-Jun-13 22:58 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:24
_Flaviu11-Jun-13 23:24 
GeneralRe: LoadImage error Pin
Jochen Arndt11-Jun-13 23:38
professionalJochen Arndt11-Jun-13 23:38 
GeneralRe: LoadImage error Pin
_Flaviu11-Jun-13 23:51
_Flaviu11-Jun-13 23:51 
GeneralRe: LoadImage error Pin
Jochen Arndt12-Jun-13 0:36
professionalJochen Arndt12-Jun-13 0:36 
GeneralRe: LoadImage error Pin
_Flaviu12-Jun-13 1:01
_Flaviu12-Jun-13 1:01 
QuestionHow can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
002comp11-Jun-13 20:12
002comp11-Jun-13 20:12 
AnswerRe: How can I Get Value of SPDRP_LEGACYBUSTYPE ? Pin
Jochen Arndt11-Jun-13 21:08
professionalJochen Arndt11-Jun-13 21:08 

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.