Click here to Skip to main content
15,905,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGet correct Time (Format) Pin
Programm3r11-Sep-07 21:06
Programm3r11-Sep-07 21:06 
AnswerRe: Get correct Time (Format) Pin
User 58385211-Sep-07 21:13
User 58385211-Sep-07 21:13 
QuestionRe: Get correct Time (Format) Pin
Programm3r11-Sep-07 21:35
Programm3r11-Sep-07 21:35 
AnswerRe: Get correct Time (Format) Pin
Programm3r11-Sep-07 21:37
Programm3r11-Sep-07 21:37 
AnswerRe: Get correct Time (Format) Pin
chandu00411-Sep-07 21:14
chandu00411-Sep-07 21:14 
GeneralRe: Get correct Time (Format) Pin
Programm3r11-Sep-07 21:27
Programm3r11-Sep-07 21:27 
AnswerRe: Get correct Time (Format) Pin
Nelek11-Sep-07 22:44
protectorNelek11-Sep-07 22:44 
Questioni have written my own collection class,some errors Pin
bhogavalli suresh11-Sep-07 19:56
bhogavalli suresh11-Sep-07 19:56 
.h file........................

#if !defined(AFX_STREAM_H__76EBFBD3_73B0_11D7_9C8F_0050BA3C5F89__INCLUDED_)
#define AFX_STREAM_H__76EBFBD3_73B0_11D7_9C8F_0050BA3C5F89__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CStream:public CObject
{
public:

CStream();
CStream(CString &strName,CString &strAge,CString &strDep,CString &strNo);
virtual ~CStream();

CString m_strName;
CString m_strAge;
CString m_strDep;
CString m_strNo;


};

class CStreams:public CList<cstream*,cstream*>
{
public:
CStream * Find(CString& sIDStream);
CStreams();
virtual ~CStreams();

void AddStream(CString& sName, CString& sAge,CString &sDep,CString &sNo);


};


#endif // !defined(AFX_STREAM_H__76EBFBD3_73B0_11D7_9C8F_0050BA3C5F89__INCLUDED_)

THIS R THE ERRORS I GOT PLEASE HELP ME


i have given the implementation in .cpp file also...........

this r the errors.............


Compiling...
CStream.cpp
e:\getstart\cllectdlg\cstream.h(27) : error C2504: 'CList' : base class undefined
e:\getstart\cllectdlg\cstream.h(27) : error C2143: syntax error : missing ',' before '<'
e:\getstart\cllectdlg\cstream.h(27) : error C2059: syntax error : '<'
E:\GetStart\Cllectdlg\CStream.cpp(61) : error C2065: 'AddTail' : undeclared identifier
Error executing cl.exe.

Cllectdlg.exe - 4 error(s), 0 warning(s)
AnswerRe: i have written my own collection class,some errors Pin
Cedric Moonen11-Sep-07 20:16
Cedric Moonen11-Sep-07 20:16 
AnswerRe: i have written my own collection class,some errors Pin
Hamid_RT11-Sep-07 20:47
Hamid_RT11-Sep-07 20:47 
AnswerRe: i have written my own collection class,some errors Pin
Nelek11-Sep-07 22:48
protectorNelek11-Sep-07 22:48 
AnswerRe: i have written my own collection class,some errors Pin
David Crow12-Sep-07 3:37
David Crow12-Sep-07 3:37 
QuestionGetting hold of certain event entries Pin
Programm3r11-Sep-07 19:46
Programm3r11-Sep-07 19:46 
AnswerRe: Getting hold of certain event entries Pin
carrivick12-Sep-07 8:50
carrivick12-Sep-07 8:50 
QuestionProblems about how to explore a program's action? Pin
kcynic11-Sep-07 19:34
kcynic11-Sep-07 19:34 
AnswerRe: Problems about how to explore a program's action? Pin
Cedric Moonen11-Sep-07 20:31
Cedric Moonen11-Sep-07 20:31 
GeneralRe: Problems about how to explore a program's action? Pin
kcynic11-Sep-07 21:33
kcynic11-Sep-07 21:33 
AnswerRe: Problems about how to explore a program's action? Pin
Hamid_RT11-Sep-07 20:48
Hamid_RT11-Sep-07 20:48 
GeneralRe: Problems about how to explore a program's action? Pin
kcynic11-Sep-07 21:33
kcynic11-Sep-07 21:33 
AnswerRe: Problems about how to explore a program's action? Pin
carrivick12-Sep-07 8:52
carrivick12-Sep-07 8:52 
Questionhow to upload a file on a server at a perticular location? Pin
AnayKulkarni11-Sep-07 19:14
AnayKulkarni11-Sep-07 19:14 
AnswerRe: how to upload a file on a server at a perticular location? Pin
Jason Teagle11-Sep-07 22:16
Jason Teagle11-Sep-07 22:16 
GeneralRe: how to upload a file on a server at a perticular location? Pin
AnayKulkarni12-Sep-07 0:14
AnayKulkarni12-Sep-07 0:14 
QuestionRe: how to upload a file on a server at a perticular location? Pin
David Crow12-Sep-07 3:40
David Crow12-Sep-07 3:40 
QuestionHow to fixed such error?C2220 Pin
kcynic11-Sep-07 17:38
kcynic11-Sep-07 17:38 

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.