Click here to Skip to main content
15,896,730 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing ShellExecute to launch notepad ??? Pin
ldsdbomber28-Jun-07 5:14
ldsdbomber28-Jun-07 5:14 
AnswerRe: Using ShellExecute to launch notepad ??? Pin
Mark Salsbery28-Jun-07 7:07
Mark Salsbery28-Jun-07 7:07 
GeneralRe: Using ShellExecute to launch notepad ??? Pin
ldsdbomber28-Jun-07 23:30
ldsdbomber28-Jun-07 23:30 
AnswerRe: Using ShellExecute to launch notepad ??? Pin
toxcct28-Jun-07 7:19
toxcct28-Jun-07 7:19 
GeneralRe: Using ShellExecute to launch notepad ??? Pin
ldsdbomber28-Jun-07 23:31
ldsdbomber28-Jun-07 23:31 
QuestionTime and Date Pin
mcsherry28-Jun-07 5:05
mcsherry28-Jun-07 5:05 
Questionscrollbars Pin
Adno28-Jun-07 4:37
Adno28-Jun-07 4:37 
Questionunions and their methods... Pin
zqueezy28-Jun-07 4:24
zqueezy28-Jun-07 4:24 
hey folks I've got a simple question:
(No I'm not a newbie and I know what a union is...)
is there any disadvantage (no need for inheritance) of using methods for unions...
I know this is a rare case, but somehow I encountered it.
I figured out I can use methods for unions and it would make it more complicated to put this union into a class (cause the access to the unions-(data-sharing)variables would be less elegant.

thx in advance
zqueezy

some example:
<br />
union matrix4x4<br />
{<br />
	// VARIABLES<br />
	__m128			c[4];       // Col-Vector (SSE)<br />
	float			f[16];      // directly as float; col-wise<br />
	vector4			col[4];<br />
<br />
	// METHODS<br />
	matrix4x4();														<br />
<br />
	matrix4x4 operator*(matrix4x4& factor);<br />
};<br />
<br />

AnswerRe: unions and their methods... Pin
CPallini28-Jun-07 5:11
mveCPallini28-Jun-07 5:11 
Questionhide java errors/warnings in webbrowser control [modified] Pin
awah28-Jun-07 3:59
awah28-Jun-07 3:59 
QuestionTaking in the string selected from the combo box and then using it for further tasks Pin
lovneet28-Jun-07 3:09
lovneet28-Jun-07 3:09 
AnswerRe: Taking in the string selected from the combo box and then using it for further tasks Pin
CPallini28-Jun-07 3:26
mveCPallini28-Jun-07 3:26 
GeneralRe: Taking in the string selected from the combo box and then using it for further tasks Pin
lovneet28-Jun-07 19:23
lovneet28-Jun-07 19:23 
Questionturning off tab stop for some items Pin
ldsdbomber28-Jun-07 2:45
ldsdbomber28-Jun-07 2:45 
AnswerRe: turning off tab stop for some items Pin
toxcct28-Jun-07 2:47
toxcct28-Jun-07 2:47 
GeneralRe: turning off tab stop for some items Pin
ldsdbomber28-Jun-07 3:51
ldsdbomber28-Jun-07 3:51 
Questionadd reference to visual c++ Pin
djdjoko28-Jun-07 2:34
djdjoko28-Jun-07 2:34 
QuestionRe: add reference to visual c++ Pin
Hamid_RT28-Jun-07 4:00
Hamid_RT28-Jun-07 4:00 
AnswerRe: add reference to visual c++ Pin
djdjoko28-Jun-07 4:17
djdjoko28-Jun-07 4:17 
GeneralRe: add reference to visual c++ Pin
led mike28-Jun-07 5:06
led mike28-Jun-07 5:06 
GeneralRe: add reference to visual c++ Pin
djdjoko28-Jun-07 5:10
djdjoko28-Jun-07 5:10 
Questionhow to create database at run time Pin
eclairs_db28-Jun-07 2:24
eclairs_db28-Jun-07 2:24 
AnswerRe: how to create database at run time Pin
toxcct28-Jun-07 2:30
toxcct28-Jun-07 2:30 
GeneralRe: how to create database at run time Pin
eclairs_db28-Jun-07 2:34
eclairs_db28-Jun-07 2:34 
GeneralRe: how to create database at run time Pin
toxcct28-Jun-07 2:36
toxcct28-Jun-07 2:36 

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.