Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to set fonts in a control (mfc)? Pin
xxhimanshu12-Feb-03 23:20
xxhimanshu12-Feb-03 23:20 
GeneralRe: How to set fonts in a control (mfc)? Pin
Steve S12-Feb-03 23:54
Steve S12-Feb-03 23:54 
GeneralRe: How to set fonts in a control (mfc)? (solving...) Pin
Jan7513-Feb-03 0:13
Jan7513-Feb-03 0:13 
Questiontime scheduling??? Pin
xxhimanshu12-Feb-03 22:49
xxhimanshu12-Feb-03 22:49 
AnswerRe: time scheduling??? Pin
Ted Ferenc13-Feb-03 0:40
Ted Ferenc13-Feb-03 0:40 
GeneralRe: time scheduling??? Pin
xxhimanshu13-Feb-03 1:03
xxhimanshu13-Feb-03 1:03 
GeneralRe: time scheduling??? Pin
Ted Ferenc13-Feb-03 2:04
Ted Ferenc13-Feb-03 2:04 
Generaland STL again... Pin
peterchen12-Feb-03 22:43
peterchen12-Feb-03 22:43 
Hi,

when using std::less for a type where it's not defined (complex<double> in this case) like this:

template <class FLOAT>
int Foo(FLOAT & a, FLOAT & b)
{
std::less _less;
if ( _less(a,b)) {
...
}
}

I get the error:


C:\Programme\DevStudio6\VC98\INCLUDE\functional(86) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const class std::multimap<_K,_Ty,_Pr,_A> &' from 'const class std::complex<double>'
C:\Programme\DevStudio6\VC98\INCLUDE\functional(86) : while compiling class-template member function 'bool __thiscall std::less<class std::complex<double> >::operator ()(const class std::complex<double> &,const class std::complex<double> &)
const'

now I wonder - how comes multimap into the game??
Generalcalling template member fn (VC6) Pin
peterchen12-Feb-03 21:52
peterchen12-Feb-03 21:52 
GeneralRe: calling template member fn (VC6) Pin
Joan M12-Feb-03 21:59
professionalJoan M12-Feb-03 21:59 
GeneralRe: calling template member fn (VC6) Pin
Joan M12-Feb-03 22:04
professionalJoan M12-Feb-03 22:04 
GeneralRe: calling template member fn (VC6) Pin
peterchen12-Feb-03 22:31
peterchen12-Feb-03 22:31 
Questionconverting wide-character string to float? Pin
Hel12-Feb-03 21:05
Hel12-Feb-03 21:05 
AnswerRe: converting wide-character string to float? Pin
vikramlinux12-Feb-03 21:28
vikramlinux12-Feb-03 21:28 
GeneralRe: converting wide-character string to float? Pin
Hel12-Feb-03 21:34
Hel12-Feb-03 21:34 
GeneralRe: converting wide-character string to float? Pin
vikramlinux12-Feb-03 21:38
vikramlinux12-Feb-03 21:38 
GeneralRe: converting wide-character string to float? Pin
Hel12-Feb-03 21:58
Hel12-Feb-03 21:58 
Generalhelp needed displaying text Pin
raner12-Feb-03 19:57
raner12-Feb-03 19:57 
GeneralRe: help needed displaying text Pin
Roger Allen12-Feb-03 23:21
Roger Allen12-Feb-03 23:21 
GeneralRe: help needed displaying text Pin
raner13-Feb-03 4:29
raner13-Feb-03 4:29 
GeneralRe: help needed displaying text Pin
Roger Allen13-Feb-03 5:18
Roger Allen13-Feb-03 5:18 
GeneralRe: help needed displaying text Pin
raner13-Feb-03 6:01
raner13-Feb-03 6:01 
GeneralRe: help needed displaying text Pin
raner13-Feb-03 6:11
raner13-Feb-03 6:11 
GeneralRe: help needed displaying text Pin
Roger Allen13-Feb-03 6:27
Roger Allen13-Feb-03 6:27 
GeneralRe: help needed displaying text Pin
raner13-Feb-03 7:07
raner13-Feb-03 7:07 

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.