Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to set maximum length for EditControl (textBox) Pin
David Crow4-Nov-09 17:16
David Crow4-Nov-09 17:16 
GeneralRe: How to set maximum length for EditControl (textBox) [modified] Pin
«_Superman_»4-Nov-09 18:27
professional«_Superman_»4-Nov-09 18:27 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
David Crow5-Nov-09 3:53
David Crow5-Nov-09 3:53 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
«_Superman_»5-Nov-09 5:38
professional«_Superman_»5-Nov-09 5:38 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
David Crow5-Nov-09 6:30
David Crow5-Nov-09 6:30 
AnswerRe: How to set maximum length for EditControl (textBox) Pin
Adam Roderick J4-Nov-09 19:22
Adam Roderick J4-Nov-09 19:22 
AnswerRe: How to set maximum length for EditControl (textBox) Pin
AliceYeap4-Nov-09 20:13
AliceYeap4-Nov-09 20:13 
QuestionDirectShow VMR-9: renders only 50% of the time in fullscreen. how to fix? Pin
Satrugha4-Nov-09 13:38
Satrugha4-Nov-09 13:38 
Questionhow to declare a one based array ? Pin
timbk4-Nov-09 12:47
timbk4-Nov-09 12:47 
AnswerRe: how to declare a one based array ? Pin
Luc Pattyn4-Nov-09 13:25
sitebuilderLuc Pattyn4-Nov-09 13:25 
AnswerRe: how to declare a one based array ? [modified] Pin
CPallini4-Nov-09 13:35
mveCPallini4-Nov-09 13:35 
GeneralRe: how to declare a one based array ? Pin
timbk4-Nov-09 13:43
timbk4-Nov-09 13:43 
QuestionRe: how to declare a one based array ? Pin
CPallini4-Nov-09 13:49
mveCPallini4-Nov-09 13:49 
AnswerRe: how to declare a one based array ? Pin
timbk4-Nov-09 13:58
timbk4-Nov-09 13:58 
GeneralRe: how to declare a one based array ? Pin
CPallini4-Nov-09 20:54
mveCPallini4-Nov-09 20:54 
AnswerRe: how to declare a one based array ? Pin
Tim Craig4-Nov-09 13:43
Tim Craig4-Nov-09 13:43 
GeneralRe: how to declare a one based array ? Pin
timbk4-Nov-09 13:52
timbk4-Nov-09 13:52 
GeneralRe: how to declare a one based array ? Pin
Tim Craig4-Nov-09 19:00
Tim Craig4-Nov-09 19:00 
GeneralRe: how to declare a one based array ? Pin
Chris Losinger5-Nov-09 2:11
professionalChris Losinger5-Nov-09 2:11 
GeneralRe: how to declare a one based array ? Pin
Tim Craig5-Nov-09 19:51
Tim Craig5-Nov-09 19:51 
QuestionHow to convert "wistream" to "istream" Pin
transoft4-Nov-09 11:59
transoft4-Nov-09 11:59 
AnswerRe: How to convert "wistream" to "istream" Pin
«_Superman_»4-Nov-09 12:38
professional«_Superman_»4-Nov-09 12:38 
GeneralRe: How to convert "wistream" to "istream" Pin
transoft4-Nov-09 12:42
transoft4-Nov-09 12:42 
GeneralRe: How to convert "wistream" to "istream" Pin
«_Superman_»4-Nov-09 13:02
professional«_Superman_»4-Nov-09 13:02 
QuestionSSE3 Intrinsic in g++ Pin
godot_gildor4-Nov-09 10:56
godot_gildor4-Nov-09 10:56 
I'm using g++ version 4.4.1 in Ubuntu and I am trying to use the SSE3 intrinsic for the HADDPS instruction. I have included the header file:
xmmintrin.h,
and I have in my code:
num3 = _mm_hadd_ps(num3, num3);
where num3 is of type __m128.

Unfortunately, when I go to compile, I get the error message:
error: ‘_mm_hadd_ps’ was not declared in this scope

Other SSE intrinsics, such as _mm_setzero_p or _mm_mul_ps, work fine. Those are SSE or SSE2 intrinsics though...

Does anyone know if g++ supports the _mm_hadd_ps intrinsic? Or maybe there is another intrinsic for this instruction? Any help is much appreciated.

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.