Click here to Skip to main content
15,912,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
KingsGambit23-Feb-10 22:43
KingsGambit23-Feb-10 22:43 
Questionasynchronouse thread function Pin
hrishi32123-Feb-10 18:14
hrishi32123-Feb-10 18:14 
AnswerRe: asynchronouse thread function Pin
CPallini23-Feb-10 20:30
mveCPallini23-Feb-10 20:30 
AnswerRe: asynchronouse thread function Pin
Rajesh R Subramanian23-Feb-10 20:40
professionalRajesh R Subramanian23-Feb-10 20:40 
QuestionNeed to Implement some functions using Linked List in C++ Pin
Shah Ravi23-Feb-10 17:49
Shah Ravi23-Feb-10 17:49 
AnswerRe: Need to Implement some functions using Linked List in C++ Pin
«_Superman_»23-Feb-10 17:59
professional«_Superman_»23-Feb-10 17:59 
GeneralRe: Need to Implement some functions using Linked List in C++ Pin
Shah Ravi23-Feb-10 18:03
Shah Ravi23-Feb-10 18:03 
AnswerRe: Need to Implement some functions using Linked List in C++ Pin
Avi Berger23-Feb-10 19:06
Avi Berger23-Feb-10 19:06 
Shah Ravi wrote:
I've tried implementing some functions.


I don't see what you have tried for any of the member functions of your Sorted List class, except for DispRetVal. You might want to pick one that you had trouble with, post it, and indicate what problem you are having with it. If you are really lost, first review your notes/textbook about what a linked list is and think about what sorted means.

Regarding your DispRetVal() member function implementation attempt:

1) This belongs in your CSortedList.cpp file, not a header file.

2) In the function definition you need to qualify the function name with the name of the class that it is a part of.


I have looked at the functions that you have written to test your class once you get it written. This is a good thing to do. I see at least one problem that should generate a compiler error. Attempt to compile and clean up the compiler errors. (Ignore linker errors until you get the rest of it written.)

You are currently ignoring return codes from the member functions. You will want to change that.

There are also a number of style issues, but I'll skip those for now.


It looks like you are going to have to roll up your sleeves and get to work.
Please do not read this signature.

QuestionPROBLEM WITH MATRIX OPENGL Pin
tuan111123-Feb-10 15:37
tuan111123-Feb-10 15:37 
AnswerRe: PROBLEM WITH MATRIX OPENGL Pin
Saurabh.Garg23-Feb-10 17:19
Saurabh.Garg23-Feb-10 17:19 
AnswerRe: PROBLEM WITH MATRIX OPENGL Pin
Tim Craig23-Feb-10 18:29
Tim Craig23-Feb-10 18:29 
GeneralRe: PROBLEM WITH MATRIX OPENGL Pin
LunaticFringe23-Feb-10 18:55
LunaticFringe23-Feb-10 18:55 
GeneralRe: PROBLEM WITH MATRIX OPENGL Pin
Tim Craig23-Feb-10 22:11
Tim Craig23-Feb-10 22:11 
GeneralRe: PROBLEM WITH MATRIX OPENGL Pin
LunaticFringe24-Feb-10 7:30
LunaticFringe24-Feb-10 7:30 
AnswerRe: PROBLEM WITH MATRIX OPENGL Pin
Cedric Moonen23-Feb-10 20:40
Cedric Moonen23-Feb-10 20:40 
Questionmultiple run Pin
zakria8123-Feb-10 13:46
zakria8123-Feb-10 13:46 
AnswerRe: multiple run Pin
Avi Berger23-Feb-10 14:16
Avi Berger23-Feb-10 14:16 
GeneralRe: multiple run Pin
Richard Andrew x6423-Feb-10 14:47
professionalRichard Andrew x6423-Feb-10 14:47 
QuestionHow to disable auto sorting for CComboBox Pin
TechAvtar23-Feb-10 4:08
TechAvtar23-Feb-10 4:08 
AnswerRe: How to disable auto sorting for CComboBox Pin
TechAvtar23-Feb-10 4:11
TechAvtar23-Feb-10 4:11 
AnswerRe: How to disable auto sorting for CComboBox Pin
David Crow23-Feb-10 4:11
David Crow23-Feb-10 4:11 
QuestionHow to dispatch message to ole control in windowless richedit? Pin
xp52423-Feb-10 1:47
xp52423-Feb-10 1:47 
QuestionObtaining the style of a CComboBox drop down list Pin
maycockt23-Feb-10 0:53
maycockt23-Feb-10 0:53 
AnswerRe: Obtaining the style of a CComboBox drop down list Pin
«_Superman_»23-Feb-10 1:11
professional«_Superman_»23-Feb-10 1:11 
AnswerRe: Obtaining the style of a CComboBox drop down list Pin
David Crow23-Feb-10 2:34
David Crow23-Feb-10 2:34 

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.