Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bitwise operations Pin
alex.barylski3-Dec-05 15:44
alex.barylski3-Dec-05 15:44 
GeneralRe: bitwise operations Pin
kevincwong3-Dec-05 17:39
kevincwong3-Dec-05 17:39 
GeneralRe: bitwise operations Pin
markkuk3-Dec-05 22:27
markkuk3-Dec-05 22:27 
GeneralRe: bitwise operations Pin
Jörgen Sigvardsson4-Dec-05 2:02
Jörgen Sigvardsson4-Dec-05 2:02 
GeneralRe: bitwise operations Pin
David Crow5-Dec-05 2:57
David Crow5-Dec-05 2:57 
QuestionI need help with printing text from a view. Pin
Mark F.3-Dec-05 12:15
Mark F.3-Dec-05 12:15 
AnswerRe: I need help with printing text from a view. Pin
Gary R. Wheeler4-Dec-05 2:48
Gary R. Wheeler4-Dec-05 2:48 
QuestionTypecasting Structs to One Another Pin
Steve L.3-Dec-05 10:50
Steve L.3-Dec-05 10:50 
I've got two structs that I want to be able to typecast to one another, so I have something like this:
struct S1
{
	S1( const S2 &s2 ) { a = s2.b }
	float a;
};

struct S2
{
	S2( const S1 &s1 ) { b = s1.a }
	float b;
};
But each struct needs to know about the other, so I can't get this to compile. Is there a way to tell each class the other exists or some other way to get around this?

- Steve
AnswerRe: Typecasting Structs to One Another Pin
James Brown3-Dec-05 12:21
James Brown3-Dec-05 12:21 
QuestionUsing CFormView in SDI app Pin
RoyceF3-Dec-05 7:09
RoyceF3-Dec-05 7:09 
AnswerRe: Using CFormView in SDI app Pin
Jörgen Sigvardsson3-Dec-05 10:10
Jörgen Sigvardsson3-Dec-05 10:10 
GeneralRe: Using CFormView in SDI app Pin
RoyceF3-Dec-05 12:36
RoyceF3-Dec-05 12:36 
GeneralRe: Using CFormView in SDI app Pin
Jörgen Sigvardsson3-Dec-05 14:20
Jörgen Sigvardsson3-Dec-05 14:20 
GeneralRe: Using CFormView in SDI app Pin
Gary R. Wheeler4-Dec-05 2:53
Gary R. Wheeler4-Dec-05 2:53 
GeneralRe: Using CFormView in SDI app Pin
RoyceF4-Dec-05 6:24
RoyceF4-Dec-05 6:24 
QuestionHow to list the connected USB devices or COM port Pin
BaySeagull3-Dec-05 1:34
BaySeagull3-Dec-05 1:34 
QuestionHow to generate a bmp file Pin
Ming Luo3-Dec-05 0:10
Ming Luo3-Dec-05 0:10 
AnswerRe: How to generate a bmp file Pin
BaySeagull3-Dec-05 1:16
BaySeagull3-Dec-05 1:16 
QuestionSaving a Bitmap from Window Enviornment Pin
Jeeva Mary Varghese2-Dec-05 22:15
Jeeva Mary Varghese2-Dec-05 22:15 
QuestionBN_DOUBLECLICKED Pin
LeeeNN2-Dec-05 20:02
LeeeNN2-Dec-05 20:02 
AnswerRe: BN_DOUBLECLICKED Pin
Branislav2-Dec-05 23:31
Branislav2-Dec-05 23:31 
GeneralRe: BN_DOUBLECLICKED Pin
LeeeNN3-Dec-05 6:34
LeeeNN3-Dec-05 6:34 
GeneralRe: BN_DOUBLECLICKED Pin
Branislav4-Dec-05 20:51
Branislav4-Dec-05 20:51 
AnswerRe: BN_DOUBLECLICKED Pin
Owner drawn4-Dec-05 22:23
Owner drawn4-Dec-05 22:23 
QuestionLNK2001 error Pin
QuickDeveloper2-Dec-05 18:20
QuickDeveloper2-Dec-05 18:20 

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.