Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Homework alert!!! Pin
Taka Muraoka18-Apr-03 20:35
Taka Muraoka18-Apr-03 20:35 
GeneralRe: Homework alert!!! Pin
George218-Apr-03 20:43
George218-Apr-03 20:43 
GeneralRe: Homework alert!!! Pin
Nish Nishant18-Apr-03 21:46
sitebuilderNish Nishant18-Apr-03 21:46 
GeneralRe: Homework alert!!! Pin
George218-Apr-03 21:56
George218-Apr-03 21:56 
GeneralRe: Homework alert!!! Pin
Nish Nishant19-Apr-03 6:34
sitebuilderNish Nishant19-Apr-03 6:34 
GeneralRe: Homework alert!!! Pin
George219-Apr-03 18:54
George219-Apr-03 18:54 
GeneralQuestion about type conversion operator. Pin
George218-Apr-03 18:48
George218-Apr-03 18:48 
GeneralRe: Question about type conversion operator. Pin
Michael Dunn18-Apr-03 19:47
sitebuilderMichael Dunn18-Apr-03 19:47 
Here's a really rough example Smile | :)
void f(int n) { }
void f(char* p) { }
 
class C
{
public:
  operator int() { return 1; }
  operator char*() { return "hi!"; }
};
 
main()
{
C obj;
 
  f(obj);  // error, ambiguous because either 
           // overload of f could apply here
}


--Mike--
   THERE IS NO     THERE IS NO    BUT THERE IS
MAGIC PIXIE DUST  BUSINESS GENIE  CODE PROJECT


Homepage | RightClick-Encrypt | 1ClickPicGrabber
"You have Erica on the brain" - Jon Sagara to me

GeneralRe: Question about type conversion operator. Pin
George218-Apr-03 20:25
George218-Apr-03 20:25 
GeneralFTP and P2P Pin
alex.barylski18-Apr-03 13:23
alex.barylski18-Apr-03 13:23 
QuestionProgrammatically creating resource dlls? Pin
IGx8918-Apr-03 12:13
IGx8918-Apr-03 12:13 
AnswerRe: Programmatically creating resource dlls? Pin
Joe Woodbury18-Apr-03 12:44
professionalJoe Woodbury18-Apr-03 12:44 
GeneralRe: Programmatically creating resource dlls? Pin
IGx8918-Apr-03 13:17
IGx8918-Apr-03 13:17 
GeneralRe: Programmatically creating resource dlls? Pin
Michael Dunn18-Apr-03 15:44
sitebuilderMichael Dunn18-Apr-03 15:44 
GeneralRe: Programmatically creating resource dlls? Pin
IGx8918-Apr-03 15:50
IGx8918-Apr-03 15:50 
GeneralRe: Programmatically creating resource dlls? Pin
Michael Dunn18-Apr-03 16:03
sitebuilderMichael Dunn18-Apr-03 16:03 
GeneralRe: Programmatically creating resource dlls? Pin
Tim Smith19-Apr-03 1:58
Tim Smith19-Apr-03 1:58 
AnswerRe: Programmatically creating resource dlls? Pin
Brian Shifrin18-Apr-03 16:29
Brian Shifrin18-Apr-03 16:29 
GeneralDependent controls Pin
TelMonks18-Apr-03 11:45
TelMonks18-Apr-03 11:45 
GeneralRe: Dependent controls Pin
Miszou18-Apr-03 11:52
Miszou18-Apr-03 11:52 
GeneralRe: Dependent controls Pin
Nitron18-Apr-03 12:07
Nitron18-Apr-03 12:07 
GeneralRe: Dependent controls Pin
TelMonks18-Apr-03 12:29
TelMonks18-Apr-03 12:29 
GeneralRe: Dependent controls Pin
Miszou18-Apr-03 12:35
Miszou18-Apr-03 12:35 
GeneralRe: Dependent controls Pin
TelMonks18-Apr-03 12:50
TelMonks18-Apr-03 12:50 
GeneralRe: Dependent controls Pin
Nitron18-Apr-03 13:46
Nitron18-Apr-03 13:46 

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.