Click here to Skip to main content
15,850,753 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: write problem in ios::in|ios::out|ios::app mode Pin
xbottle30-Oct-09 0:33
xbottle30-Oct-09 0:33 
GeneralRe: write problem in ios::in|ios::out|ios::app mode Pin
enhzflep28-Oct-09 22:53
enhzflep28-Oct-09 22:53 
AnswerRe: write problem in ios::in|ios::out|ios::app mode Pin
David Crow29-Oct-09 3:56
David Crow29-Oct-09 3:56 
QuestionRe: write problem in ios::in|ios::out|ios::app mode Pin
David Crow29-Oct-09 3:54
David Crow29-Oct-09 3:54 
Questionwhy optimization since program is trade-off between time and memory Pin
jianzhuhuai28-Oct-09 15:36
jianzhuhuai28-Oct-09 15:36 
AnswerRe: why optimization since program is trade-off between time and memory Pin
Rozis29-Oct-09 13:07
Rozis29-Oct-09 13:07 
GeneralRe: why optimization since program is trade-off between time and memory Pin
jianzhuhuai31-Oct-09 6:35
jianzhuhuai31-Oct-09 6:35 
Questionwhy add member function in classview does not work for overloaded function operator <() Pin
jianzhuhuai28-Oct-09 15:15
jianzhuhuai28-Oct-09 15:15 
I create a small class as following:
class NP
{
public:
int a;
int b;
NP(int m=3, int n=5):a(m),b(n){}
~NP(){}
operator<(const NP&d)//I added this two lines manually
{return a<d.a;}
};
In the tab area of class view, I can see class NP. If I try to overload operator< for class NP through the add member function in the pop-up menu, after I filled all the blanks in the add member function dialog box, when I click OK, nothing happens. What happened?
AnswerRe: why add member function in classview does not work for overloaded function operator &lt;() Pin
«_Superman_»28-Oct-09 15:37
professional«_Superman_»28-Oct-09 15:37 
AnswerRe: why add member function in classview does not work for overloaded function operator &lt;() Pin
Adam Roderick J28-Oct-09 19:30
Adam Roderick J28-Oct-09 19:30 
Questionconvert CString to const char * Pin
Manmohan2928-Oct-09 8:23
Manmohan2928-Oct-09 8:23 
AnswerRe: convert CString to const char * Pin
David Crow28-Oct-09 8:37
David Crow28-Oct-09 8:37 
AnswerRe: convert CString to const char * Pin
transoft28-Oct-09 8:39
transoft28-Oct-09 8:39 
AnswerRe: convert CString to const char * Pin
«_Superman_»28-Oct-09 8:56
professional«_Superman_»28-Oct-09 8:56 
AnswerRe: convert CString to const char * Pin
Kushagra Tiwari28-Oct-09 22:31
Kushagra Tiwari28-Oct-09 22:31 
QuestionOpenCV application error Pin
dSolariuM28-Oct-09 6:28
dSolariuM28-Oct-09 6:28 
QuestionRe: OpenCV application error Pin
David Crow28-Oct-09 6:34
David Crow28-Oct-09 6:34 
AnswerRe: OpenCV application error Pin
dSolariuM28-Oct-09 7:08
dSolariuM28-Oct-09 7:08 
QuestionRe: OpenCV application error Pin
David Crow28-Oct-09 7:18
David Crow28-Oct-09 7:18 
AnswerRe: OpenCV application error Pin
dSolariuM28-Oct-09 7:20
dSolariuM28-Oct-09 7:20 
QuestionRe: OpenCV application error Pin
David Crow28-Oct-09 8:17
David Crow28-Oct-09 8:17 
AnswerRe: OpenCV application error Pin
dSolariuM28-Oct-09 10:17
dSolariuM28-Oct-09 10:17 
GeneralRe: OpenCV application error Pin
David Crow28-Oct-09 10:43
David Crow28-Oct-09 10:43 
AnswerRe: OpenCV application error Pin
Tim Craig28-Oct-09 11:50
Tim Craig28-Oct-09 11:50 
AnswerRe: OpenCV application error Pin
David Gustavsson20-May-10 3:35
David Gustavsson20-May-10 3:35 

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.