Click here to Skip to main content
11,429,777 members (73,311 online)

C / C++ / MFC

 
AnswerRe: File download help Pin
sunilkpv10-Sep-12 20:04
membersunilkpv10-Sep-12 20:04 
GeneralRe: File download help Pin
Flaviu210-Sep-12 22:01
memberFlaviu210-Sep-12 22:01 
QuestionRe: File download help Pin
DavidCrow11-Sep-12 4:06
memberDavidCrow11-Sep-12 4:06 
QuestionHow to set Image' Document Size ? Pin
yogeshs9-Sep-12 23:18
memberyogeshs9-Sep-12 23:18 
AnswerRe: How to set Image' Document Size ? Pin
pasztorpisti10-Sep-12 0:10
memberpasztorpisti10-Sep-12 0:10 
GeneralRe: How to set Image' Document Size ? Pin
yogeshs10-Sep-12 0:32
memberyogeshs10-Sep-12 0:32 
GeneralRe: How to set Image' Document Size ? Pin
Chris Losinger10-Sep-12 2:11
memberChris Losinger10-Sep-12 2:11 
QuestionHighlighting some text in CEdit Pin
Hadi Dayvary9-Sep-12 22:57
memberHadi Dayvary9-Sep-12 22:57 
AnswerRe: Highlighting some text in CEdit Pin
Flaviu210-Sep-12 20:31
memberFlaviu210-Sep-12 20:31 
GeneralRe: Highlighting some text in CEdit Pin
Hadi Dayvary10-Sep-12 23:33
memberHadi Dayvary10-Sep-12 23:33 
QuestionNON-SCALAR TYPE CONVERSION!? Pin
Jorgmen9-Sep-12 9:58
memberJorgmen9-Sep-12 9:58 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
enhzflep9-Sep-12 10:40
memberenhzflep9-Sep-12 10:40 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 10:52
memberpasztorpisti9-Sep-12 10:52 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
Jorgmen9-Sep-12 11:52
memberJorgmen9-Sep-12 11:52 
Thaks for your replays:
now i have a new q?

 
struct Miembro{
int id;
int activo;
int pass;
 
Miembro(int a, int b, int c)
{
id = a;
activo = b;
pass = c;
}
};
 
struct NodoMiembro{
NodoMiembro * nextmiem;
NodoMiembro * prevmiem;
Miembro persona;
 
NodoMiembro(Miembro nuevo){
nextmiem = prevmiem = NULL;
persona = nuevo;
}
};
 
struct ListaMiembros{
NodoMiembro * lastmember;
NodoMiembro * firstmember;
 
ListaMiembros(){
lastmember = firstmember = NULL;
 
}

I can't compile this, I'm having headache because of c++: it says:

4 0 F:\main.cpp In file included from main.cpp
F:\structs.h In constructor 'NodoMiembro::NodoMiembro(Miembro)':

31 27 F:\structs.h [Error] no matching function for call to 'Miembro::Miembro()'

31 27 F:\structs.h [Error] candidates are:

17 1 F:\structs.h Miembro::Miembro(int, int, int)

17 1 F:\structs.h candidate expects 3 arguments, 0 provided

12 8 F:\structs.h Miembro::Miembro(const Miembro&)

12 8 F:\structs.h candidate expects 1 argument, 0 provided

F:\structs.h At global scope:

WHY NodoMiembro can't have a "Miembro xxx" as parameter in the constructor???
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
enhzflep9-Sep-12 13:33
memberenhzflep9-Sep-12 13:33 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
Chuck O'Toole9-Sep-12 13:39
memberChuck O'Toole9-Sep-12 13:39 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 15:07
memberpasztorpisti9-Sep-12 15:07 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 15:09
memberpasztorpisti9-Sep-12 15:09 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
«_Superman_»9-Sep-12 19:51
member«_Superman_»9-Sep-12 19:51 
QuestionDocking Pane with CHtmlView repaint problem. Pin
sdancer759-Sep-12 1:03
membersdancer759-Sep-12 1:03 
AnswerRe: Docking Pane with CHtmlView repaint problem. Pin
Flaviu210-Sep-12 20:45
memberFlaviu210-Sep-12 20:45 
GeneralRe: Docking Pane with CHtmlView repaint problem. Pin
sdancer7510-Sep-12 21:10
membersdancer7510-Sep-12 21:10 
QuestionPaint text on Microsoft Windows desktop Pin
Brandon T. H.8-Sep-12 5:46
memberBrandon T. H.8-Sep-12 5:46 
QuestionRe: Paint text on Microsoft Windows desktop Pin
DavidCrow8-Sep-12 18:37
memberDavidCrow8-Sep-12 18:37 
AnswerRe: Paint text on Microsoft Windows desktop Pin
Brandon T. H.9-Sep-12 13:58
memberBrandon T. H.9-Sep-12 13:58 
GeneralRe: Paint text on Microsoft Windows desktop Pin
Richard Andrew x6410-Sep-12 6:09
memberRichard Andrew x6410-Sep-12 6:09 
QuestionDifference between Variable Definition and Declaration Pin
Rahul Allen7-Sep-12 11:47
memberRahul Allen7-Sep-12 11:47 
AnswerRe: Difference between Variable Definition and Declaration Pin
Richard Andrew x647-Sep-12 13:13
memberRichard Andrew x647-Sep-12 13:13 
GeneralRe: Difference between Variable Definition and Declaration Pin
pasztorpisti7-Sep-12 13:26
memberpasztorpisti7-Sep-12 13:26 
GeneralRe: Difference between Variable Definition and Declaration Pin
Richard Andrew x647-Sep-12 13:27
memberRichard Andrew x647-Sep-12 13:27 
AnswerRe: Difference between Variable Definition and Declaration Pin
pasztorpisti7-Sep-12 13:18
memberpasztorpisti7-Sep-12 13:18 
AnswerRe: Difference between Variable Definition and Declaration Pin
DavidCrow8-Sep-12 18:41
memberDavidCrow8-Sep-12 18:41 
GeneralRe: Difference between Variable Definition and Declaration Pin
pasztorpisti10-Sep-12 23:29
memberpasztorpisti10-Sep-12 23:29 
QuestionMFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw1116-Sep-12 12:27
memberAndraw1116-Sep-12 12:27 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Albert Holguin6-Sep-12 13:06
memberAlbert Holguin6-Sep-12 13:06 
GeneralRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw1116-Sep-12 13:15
memberAndraw1116-Sep-12 13:15 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Chuck O'Toole6-Sep-12 16:38
memberChuck O'Toole6-Sep-12 16:38 
GeneralRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw11110-Sep-12 10:19
memberAndraw11110-Sep-12 10:19 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Albert Holguin7-Sep-12 10:58
memberAlbert Holguin7-Sep-12 10:58 
QuestionStructure Offsets Pin
Richard Andrew x646-Sep-12 11:29
memberRichard Andrew x646-Sep-12 11:29 
QuestionRe: Structure Offsets Pin
DavidCrow6-Sep-12 11:37
memberDavidCrow6-Sep-12 11:37 
AnswerRe: Structure Offsets Pin
Richard Andrew x646-Sep-12 11:48
memberRichard Andrew x646-Sep-12 11:48 
AnswerRe: Structure Offsets Pin
Albert Holguin6-Sep-12 13:07
memberAlbert Holguin6-Sep-12 13:07 
AnswerRe: Structure Offsets Pin
Richard MacCutchan6-Sep-12 22:59
mvpRichard MacCutchan6-Sep-12 22:59 
GeneralRe: Structure Offsets Pin
Richard Andrew x647-Sep-12 10:42
memberRichard Andrew x647-Sep-12 10:42 
GeneralRe: Structure Offsets Pin
jschell7-Sep-12 11:33
memberjschell7-Sep-12 11:33 
GeneralRe: Structure Offsets Pin
Richard Andrew x647-Sep-12 11:35
memberRichard Andrew x647-Sep-12 11:35 
AnswerRe: Structure Offsets Pin
Peter_in_27807-Sep-12 21:39
memberPeter_in_27807-Sep-12 21:39 
GeneralRe: Structure Offsets Pin
Richard MacCutchan12-Sep-12 4:40
mvpRichard MacCutchan12-Sep-12 4:40 
JokeRe: Structure Offsets Pin
Peter_in_278012-Sep-12 11:44
memberPeter_in_278012-Sep-12 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 4 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid