Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Directory path validation problem Pin
David Crow12-Sep-07 3:28
David Crow12-Sep-07 3:28 
AnswerRe: Directory path validation problem Pin
Randor 11-Sep-07 22:13
professional Randor 11-Sep-07 22:13 
AnswerRe: Directory path validation problem Pin
kamalesh8212-Sep-07 3:07
kamalesh8212-Sep-07 3:07 
QuestionRe: Directory path validation problem Pin
David Crow12-Sep-07 3:26
David Crow12-Sep-07 3:26 
QuestionLAN cable plug-in/out events Pin
Sunil P V11-Sep-07 21:18
Sunil P V11-Sep-07 21:18 
QuestionRe: LAN cable plug-in/out events Pin
David Crow12-Sep-07 3:30
David Crow12-Sep-07 3:30 
QuestionHow do i resolve this unresolved external symbol Pin
monsieur_jj11-Sep-07 21:14
monsieur_jj11-Sep-07 21:14 
AnswerRe: How do i resolve this unresolved external symbol Pin
Hamid_RT11-Sep-07 21:20
Hamid_RT11-Sep-07 21:20 
QuestionRe: How do i resolve this unresolved external symbol Pin
David Crow12-Sep-07 3:32
David Crow12-Sep-07 3:32 
AnswerRe: How do i resolve this unresolved external symbol Pin
Mark Salsbery12-Sep-07 8:18
Mark Salsbery12-Sep-07 8:18 
Questionhow to change bitmap in on toolbar button? Pin
Neo Andreson11-Sep-07 21:13
Neo Andreson11-Sep-07 21:13 
AnswerRe: how to change bitmap in on toolbar button? Pin
Nishad S11-Sep-07 21:23
Nishad S11-Sep-07 21:23 
QuestionSocket Connection Through Internet Pin
shakumar_2211-Sep-07 21:12
shakumar_2211-Sep-07 21:12 
AnswerRe: Socket Connection Through Internet Pin
Jason Teagle11-Sep-07 22:18
Jason Teagle11-Sep-07 22:18 
AnswerRe: Socket Connection Through Internet Pin
GauranG Shah11-Sep-07 23:36
GauranG Shah11-Sep-07 23:36 
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 

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.