Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow the application knows whether the machine is Laptop or Desktop????? Pin
nagamohan_p13-Jul-06 5:04
nagamohan_p13-Jul-06 5:04 
QuestionRe: How the application knows whether the machine is Laptop or Desktop????? Pin
David Crow13-Jul-06 5:34
David Crow13-Jul-06 5:34 
AnswerRe: How the application knows whether the machine is Laptop or Desktop????? Pin
Jun Du13-Jul-06 5:47
Jun Du13-Jul-06 5:47 
QuestionSound detection [modified] Pin
Ivan Cachicatari13-Jul-06 4:48
Ivan Cachicatari13-Jul-06 4:48 
Questioncode formatting style [modified] Pin
aafcls13-Jul-06 4:19
aafcls13-Jul-06 4:19 
AnswerRe: code formatting style Pin
Chris Losinger13-Jul-06 4:22
professionalChris Losinger13-Jul-06 4:22 
QuestionInheritance problem Pin
khb13-Jul-06 3:27
khb13-Jul-06 3:27 
AnswerRe: Inheritance problem Pin
Zac Howland13-Jul-06 4:21
Zac Howland13-Jul-06 4:21 
khb wrote:
error C2512: 'basic_istream<char,struct std::char_traits<char=""> >' : no appropriate default constructor available


std::istream is a typedef for basic_istream<char, char_traits<char> >. basic_istream has the following constructor:

explicit basic_istream(basic_streambuf<Elem, Tr> *_Strbuf, bool _Isstd = false);

Do you really want your streambuf to be null? If so, try casting 0 as follows:

std::istream((std::streambuf*)0);

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
QuestionRe: Inheritance problem [modified] Pin
khb13-Jul-06 5:13
khb13-Jul-06 5:13 
AnswerRe: Inheritance problem Pin
Zac Howland13-Jul-06 5:18
Zac Howland13-Jul-06 5:18 
GeneralRe: Inheritance problem Pin
earl13-Jul-06 5:20
earl13-Jul-06 5:20 
GeneralRe: Inheritance problem Pin
Zac Howland13-Jul-06 5:25
Zac Howland13-Jul-06 5:25 
GeneralRe: Inheritance problem Pin
earl13-Jul-06 5:29
earl13-Jul-06 5:29 
GeneralRe: Inheritance problem Pin
Zac Howland13-Jul-06 5:33
Zac Howland13-Jul-06 5:33 
GeneralRe: Inheritance problem Pin
khb13-Jul-06 8:01
khb13-Jul-06 8:01 
GeneralRe: Inheritance problem Pin
Zac Howland13-Jul-06 8:03
Zac Howland13-Jul-06 8:03 
GeneralRe: Inheritance problem Pin
khb13-Jul-06 9:00
khb13-Jul-06 9:00 
GeneralRe: Inheritance problem Pin
earl13-Jul-06 12:04
earl13-Jul-06 12:04 
QuestionHow to setrange of spin control Pin
vc++_fragrance13-Jul-06 2:06
vc++_fragrance13-Jul-06 2:06 
AnswerRe: How to setrange of spin control Pin
*Dreamz13-Jul-06 2:25
*Dreamz13-Jul-06 2:25 
GeneralRe: How to setrange of spin control Pin
vc++_fragrance13-Jul-06 2:33
vc++_fragrance13-Jul-06 2:33 
GeneralRe: How to setrange of spin control Pin
David Crow13-Jul-06 2:48
David Crow13-Jul-06 2:48 
GeneralRe: How to setrange of spin control Pin
vc++_fragrance13-Jul-06 17:02
vc++_fragrance13-Jul-06 17:02 
QuestionHow to Specified Position with Priter. Pin
Uday Janaswamy13-Jul-06 0:44
Uday Janaswamy13-Jul-06 0:44 
AnswerRe: How to Specified Position with Priter. [modified] Pin
includeh1013-Jul-06 1:15
includeh1013-Jul-06 1:15 

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.