Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help me Pin
philiptabraham2-Aug-07 19:51
philiptabraham2-Aug-07 19:51 
GeneralRe: help me Pin
Anurag Gandhi2-Aug-07 21:02
professionalAnurag Gandhi2-Aug-07 21:02 
AnswerRe: help me Pin
Hamid_RT2-Aug-07 20:56
Hamid_RT2-Aug-07 20:56 
QuestionVector inside a structure Pin
vinodkoul2-Aug-07 18:46
vinodkoul2-Aug-07 18:46 
AnswerRe: Vector inside a structure Pin
Stephen Hewitt2-Aug-07 19:14
Stephen Hewitt2-Aug-07 19:14 
AnswerRe: Vector inside a structure Pin
cp98762-Aug-07 19:15
cp98762-Aug-07 19:15 
GeneralRe: Vector inside a structure Pin
vinodkoul2-Aug-07 20:12
vinodkoul2-Aug-07 20:12 
QuestionRe: Vector inside a structure Pin
vinodkoul2-Aug-07 20:43
vinodkoul2-Aug-07 20:43 
If I want the same thing to be in constructor of that structure what is the way
I tried..

int gsize =3;
struct VectorStruct
{
int size;
vector <int> vect2;
//VectorStruct():vect2(i){}; //this works
VectorStruct()
{ //constructor
size=gsize;
vect2(size);
}
}
This gives an compiler error,(error C2064: term does not evaluate to a function taking 1 arguments) howto give size in constructor? Any pointers..

AnswerRe: Vector inside a structure Pin
cp98762-Aug-07 20:54
cp98762-Aug-07 20:54 
QuestionPrint value of key pressed...? Pin
deostroll2-Aug-07 18:22
deostroll2-Aug-07 18:22 
AnswerRe: Print value of key pressed...? Pin
bob169722-Aug-07 18:43
bob169722-Aug-07 18:43 
QuestionRe: Print value of key pressed...? Pin
deostroll2-Aug-07 18:59
deostroll2-Aug-07 18:59 
AnswerRe: Print value of key pressed...? Pin
David Crow3-Aug-07 3:52
David Crow3-Aug-07 3:52 
AnswerRe: Print value of key pressed...? Pin
bob169723-Aug-07 17:39
bob169723-Aug-07 17:39 
Questionaccess violation in int array Pin
George_George2-Aug-07 16:53
George_George2-Aug-07 16:53 
AnswerRe: access violation in int array Pin
Sameerkumar Namdeo2-Aug-07 17:17
Sameerkumar Namdeo2-Aug-07 17:17 
GeneralRe: access violation in int array Pin
George_George2-Aug-07 18:24
George_George2-Aug-07 18:24 
AnswerRe: access violation in int array Pin
JudyL_MD3-Aug-07 1:48
JudyL_MD3-Aug-07 1:48 
GeneralRe: access violation in int array Pin
George_George3-Aug-07 21:42
George_George3-Aug-07 21:42 
QuestionCrashes Pin
dellthinker2-Aug-07 16:50
dellthinker2-Aug-07 16:50 
AnswerRe: Crashes Pin
Hans Dietrich2-Aug-07 19:05
mentorHans Dietrich2-Aug-07 19:05 
GeneralRe: Crashes Pin
dellthinker3-Aug-07 9:49
dellthinker3-Aug-07 9:49 
QuestionCFileDialog saving problem Pin
hxhl952-Aug-07 15:16
hxhl952-Aug-07 15:16 
AnswerRe: CFileDialog saving problem Pin
Naveen2-Aug-07 15:56
Naveen2-Aug-07 15:56 
GeneralRe: CFileDialog saving problem Pin
hxhl953-Aug-07 6:42
hxhl953-Aug-07 6:42 

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.