Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDetecting Keyboard Input in Console Application Pin
Tomaz Rotovnik27-Feb-04 1:11
Tomaz Rotovnik27-Feb-04 1:11 
GeneralRe: Detecting Keyboard Input in Console Application Pin
Selvam R27-Feb-04 1:19
professionalSelvam R27-Feb-04 1:19 
GeneralRe: Detecting Keyboard Input in Console Application Pin
catngo27-Feb-04 19:24
catngo27-Feb-04 19:24 
GeneralSorting an array with pointers Pin
hollowsoft27-Feb-04 0:52
hollowsoft27-Feb-04 0:52 
GeneralRe: Sorting an array with pointers Pin
Selvam R27-Feb-04 1:16
professionalSelvam R27-Feb-04 1:16 
GeneralRe: Sorting an array with pointers Pin
Kevin McFarlane27-Feb-04 1:17
Kevin McFarlane27-Feb-04 1:17 
GeneralRe: Sorting an array with pointers Pin
Kevin McFarlane27-Feb-04 4:46
Kevin McFarlane27-Feb-04 4:46 
GeneralRe: Sorting an array with pointers Pin
David Crow27-Feb-04 5:28
David Crow27-Feb-04 5:28 
hollowsoft wrote:
i need to sort it using pointers and without using strcmp(string.h library).

You can always make your own:

int __cdecl strcmp( const char * src, const char * dst )
{
    int ret = 0 ;
 
    while (! (ret = *(unsigned char *) src - *(unsigned char *) dst) && *dst)
        ++src, ++dst;
 
    if (ret < 0)
        ret = -1 ;
    else if (ret > 0)
        ret = 1 ;
 
    return (ret);
}



"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
GeneralGlyph Repositioning Pin
Member 88417927-Feb-04 0:24
Member 88417927-Feb-04 0:24 
QuestionVideo memory, why so slow? Pin
includeh1027-Feb-04 0:01
includeh1027-Feb-04 0:01 
QuestionMessageBox and font changing? Pin
Jump_Around26-Feb-04 23:57
Jump_Around26-Feb-04 23:57 
AnswerRe: MessageBox and font changing? Pin
Prakash Nadar27-Feb-04 0:11
Prakash Nadar27-Feb-04 0:11 
GeneralProblem with critical section. Pin
Prakash Nadar26-Feb-04 23:47
Prakash Nadar26-Feb-04 23:47 
GeneralRe: Problem with critical section. Pin
_Magnus_27-Feb-04 0:11
_Magnus_27-Feb-04 0:11 
GeneralRe: Problem with critical section. Pin
Prakash Nadar27-Feb-04 0:14
Prakash Nadar27-Feb-04 0:14 
GeneralEdit control and Unicode Pin
Jahangir Jamshed26-Feb-04 23:47
sussJahangir Jamshed26-Feb-04 23:47 
GeneralRe: Edit control and Unicode Pin
Prakash Nadar27-Feb-04 0:08
Prakash Nadar27-Feb-04 0:08 
GeneralCRichEdit, default font settings Pin
Shah Shehpori26-Feb-04 23:37
sussShah Shehpori26-Feb-04 23:37 
Questionhow can i make some pictures into Panoramic image Pin
xnew26-Feb-04 23:21
xnew26-Feb-04 23:21 
AnswerRe: how can i make some pictures into Panoramic image Pin
telstar27-Feb-04 8:00
telstar27-Feb-04 8:00 
GeneralProb on Tasktray icons. Pin
Prakash Nadar26-Feb-04 23:13
Prakash Nadar26-Feb-04 23:13 
GeneralRe: Prob on Tasktray icons. Pin
Shog927-Feb-04 5:35
sitebuilderShog927-Feb-04 5:35 
GeneralRe: Prob on Tasktray icons. Pin
Prakash Nadar27-Feb-04 13:40
Prakash Nadar27-Feb-04 13:40 
GeneralRe: Prob on Tasktray icons. Pin
SiddharthAtw27-Feb-04 20:05
SiddharthAtw27-Feb-04 20:05 
GeneralRe: Prob on Tasktray icons. Pin
Prakash Nadar28-Feb-04 0:22
Prakash Nadar28-Feb-04 0:22 

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.