Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralShowing image Pin
arus20047-Dec-04 20:28
arus20047-Dec-04 20:28 
GeneralRe: Showing image Pin
ssing7-Dec-04 21:06
ssing7-Dec-04 21:06 
GeneralRe: Showing image Pin
namaskaaram7-Dec-04 21:11
namaskaaram7-Dec-04 21:11 
GeneralRe: Showing image Pin
John R. Shaw7-Dec-04 21:23
John R. Shaw7-Dec-04 21:23 
Generaltemplate syntax help Pin
Tariq8787-Dec-04 20:14
Tariq8787-Dec-04 20:14 
GeneralRe: template syntax help Pin
John R. Shaw7-Dec-04 20:42
John R. Shaw7-Dec-04 20:42 
GeneralRe: template syntax help Pin
Michael Dunn7-Dec-04 21:18
sitebuilderMichael Dunn7-Dec-04 21:18 
GeneralFriend Function Pin
Abuamr7-Dec-04 19:54
Abuamr7-Dec-04 19:54 
This my first messege in my first day at this perfect site
I have a problem using the Friend Function in microsoft visual C++ .I have a multifile program contains statements like this
 //declaration in class tenant within a header file.<br />
friend bool operator < (const tenant&, const tenant&);<br />
//definition in the source file.<br />
bool operator < (const tenant& t1, const tenant& t2)<br />
   { return t1.name < t2.name; }

compiler flags me errors like these:
error C2593: 'operator <' is ambiguous
error C2248: 'name' : cannot access private member declared in class 'tenant'

Can any one help me ..
please my friends.



Abuamr Alareefi
GeneralRe: Friend Function Pin
John R. Shaw7-Dec-04 20:20
John R. Shaw7-Dec-04 20:20 
Generala prb. related to DirectShow using VC++ Pin
mirhamzah7-Dec-04 19:34
mirhamzah7-Dec-04 19:34 
GeneralRe: a prb. related to DirectShow using VC++ Pin
ssing7-Dec-04 20:55
ssing7-Dec-04 20:55 
GeneralRe: a prb. related to DirectShow using VC++ Pin
ssing7-Dec-04 20:59
ssing7-Dec-04 20:59 
Generalmfc Pin
sreeja777-Dec-04 19:15
sreeja777-Dec-04 19:15 
GeneralRe: mfc Pin
namaskaaram7-Dec-04 21:25
namaskaaram7-Dec-04 21:25 
GeneralDownloading a file with https URL Pin
ssing7-Dec-04 19:08
ssing7-Dec-04 19:08 
GeneralRe: Downloading a file with https URL Pin
ThatsAlok7-Dec-04 19:58
ThatsAlok7-Dec-04 19:58 
GeneralRe: Downloading a file with https URL Pin
ssing7-Dec-04 21:02
ssing7-Dec-04 21:02 
GeneralTAPI Pin
John R. Shaw7-Dec-04 16:51
John R. Shaw7-Dec-04 16:51 
GeneralRe: TAPI Pin
ThatsAlok7-Dec-04 17:13
ThatsAlok7-Dec-04 17:13 
GeneralRe: TAPI Pin
John R. Shaw7-Dec-04 18:00
John R. Shaw7-Dec-04 18:00 
GeneralRe: TAPI Pin
ThatsAlok7-Dec-04 22:15
ThatsAlok7-Dec-04 22:15 
GeneralLoadLibrary fails, getlasterror = 6. DLL Loaded made in VC++ .net Pin
SteQve7-Dec-04 16:50
SteQve7-Dec-04 16:50 
GeneralRe: LoadLibrary fails, getlasterror = 6. DLL Loaded made in VC++ .net Pin
Steve S7-Dec-04 23:35
Steve S7-Dec-04 23:35 
GeneralRe: LoadLibrary fails, getlasterror = 6. DLL Loaded made in VC++ .net Pin
SteQve8-Dec-04 0:04
SteQve8-Dec-04 0:04 
GeneralRe: LoadLibrary fails, getlasterror = 6. DLL Loaded made in VC++ .net Pin
SteQve8-Dec-04 0:32
SteQve8-Dec-04 0:32 

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.