Click here to Skip to main content
15,895,824 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to add a menu in win32 dialog box? Pin
tagopi18-Jan-11 18:36
tagopi18-Jan-11 18:36 
GeneralRe: how to add a menu in win32 dialog box? Pin
mathivanaan18-Jan-11 19:16
mathivanaan18-Jan-11 19:16 
AnswerRe: how to add a menu in win32 dialog box? Pin
Andrew Brock18-Jan-11 18:57
Andrew Brock18-Jan-11 18:57 
Questiondetermining exit code of a process from a dll in that process Pin
JudyL_MD18-Jan-11 15:34
JudyL_MD18-Jan-11 15:34 
AnswerRe: determining exit code of a process from a dll in that process Pin
rod naR18-Jan-11 17:01
rod naR18-Jan-11 17:01 
Questioncase sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz18-Jan-11 10:04
tukbriz18-Jan-11 10:04 
AnswerRe: case sensitive sort of chars/strings...including numbers, symbols etc.. Pin
Andrew Brock18-Jan-11 19:09
Andrew Brock18-Jan-11 19:09 
GeneralRe: case sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz22-Jan-11 11:37
tukbriz22-Jan-11 11:37 
thanks andrew and ash for the help, im new to c++ so its taking me a long time to test your ideas

CmpStr puts 'THE' before 'The'....and other problems as you can see below
..I would be interested if you can get this working as I would like to test the performance against the mapping solution

!
&
1
1
1
2
222
3
33
5
6
7
A
AND
ANDY
ANDY1)
And
And
THE
THE
The
The
a
an
an
andy
andy22
andy3
t
tHe
the
then


required output:
this is as far as I'v got using the mapping solution..as you can see it gets confused sorting strings made up of words&numbers..but thats not too important atm
!
&
1
1
1
2
3
5
6
7
33
222
a
A
an
an
And
And
AND
andy
ANDY
ANDY1)
andy22
andy3
t
the
tHe
The
The
THE
THE
then


here is the input for c&p
char *szValues[] = {
	
	"The",
	"222",
	"andy",
	"5",
	"AND",
	"6",
	"ANDY1)",
	"ANDY",
	"7",
	"&",
	"the",
	"andy3",
	"an",
	"3",
	"And",
	"1",
	"tHe",
	"THE",
	"1",
	"a",
	"an",
	"A",
	"t",
	"then",
	"The",
	"And",
	"1",
	"tHe",
	"THE",
	"andy22",
	"2",
	"!",
	"33",

};


modified on Saturday, January 22, 2011 9:30 PM

AnswerRe: case sensitive sort of chars/strings...including numbers, symbols etc.. Pin
Aescleal18-Jan-11 19:57
Aescleal18-Jan-11 19:57 
GeneralRe: case sensitive sort of chars/strings...including numbers, symbols etc.. [modified] Pin
tukbriz22-Jan-11 11:52
tukbriz22-Jan-11 11:52 
Questionbest way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
bob1697218-Jan-11 9:00
bob1697218-Jan-11 9:00 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
Aescleal18-Jan-11 9:28
Aescleal18-Jan-11 9:28 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
TheGreatAndPowerfulOz18-Jan-11 11:26
TheGreatAndPowerfulOz18-Jan-11 11:26 
AnswerRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
Emilio Garavaglia18-Jan-11 22:37
Emilio Garavaglia18-Jan-11 22:37 
GeneralRe: best way to avoid calling virtual methods (directly or indirectly) from a constructor Pin
bob1697219-Jan-11 3:39
bob1697219-Jan-11 3:39 
QuestionBluetooth - COM port reading Pin
tnt00017-Jan-11 21:48
tnt00017-Jan-11 21:48 
AnswerRe: Bluetooth - COM port reading Pin
CPallini17-Jan-11 21:55
mveCPallini17-Jan-11 21:55 
AnswerRe: Bluetooth - COM port reading Pin
Andrew Brock17-Jan-11 22:31
Andrew Brock17-Jan-11 22:31 
GeneralRe: Bluetooth - COM port reading Pin
tnt00017-Jan-11 23:48
tnt00017-Jan-11 23:48 
GeneralRe: Bluetooth - COM port reading Pin
Andrew Brock18-Jan-11 0:40
Andrew Brock18-Jan-11 0:40 
GeneralRe: Bluetooth - COM port reading Pin
tnt00018-Jan-11 2:43
tnt00018-Jan-11 2:43 
GeneralRe: Bluetooth - COM port reading Pin
Andrew Brock18-Jan-11 3:40
Andrew Brock18-Jan-11 3:40 
GeneralRe: Bluetooth - COM port reading Pin
tnt00018-Jan-11 5:27
tnt00018-Jan-11 5:27 
GeneralRe: Bluetooth - COM port reading Pin
Andrew Brock18-Jan-11 14:07
Andrew Brock18-Jan-11 14:07 
QuestionDifference between _stat() and _fstat() Pin
gomathylakshmanan17-Jan-11 19:47
gomathylakshmanan17-Jan-11 19:47 

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.