Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tooltip text Pin
sir_moreno9-Jul-06 23:57
sir_moreno9-Jul-06 23:57 
Questionreversing string function Pin
progman9-Jul-06 22:48
progman9-Jul-06 22:48 
AnswerRe: reversing string function Pin
Naveen9-Jul-06 22:55
Naveen9-Jul-06 22:55 
GeneralRe: reversing string function Pin
progman9-Jul-06 23:02
progman9-Jul-06 23:02 
GeneralRe: reversing string function [modified] Pin
Naveen9-Jul-06 23:10
Naveen9-Jul-06 23:10 
GeneralRe: reversing string function Pin
Rory Solley9-Jul-06 23:32
Rory Solley9-Jul-06 23:32 
GeneralRe: reversing string function Pin
earl10-Jul-06 4:46
earl10-Jul-06 4:46 
GeneralRe: reversing string function Pin
Rilhas17-Jul-06 14:05
Rilhas17-Jul-06 14:05 
I would advise you to do that (your own homework yourself). You see, the code Naveen R provided contains some potentially hazardous "features", is highly sub-optimal, and will surely get you in big trouble when you try to explain it to your teacher.

Here is my contribution:

char* reverse_string(char* s) {
char* p=0;
while(s) *p=*s;
return p;
}

If you can't get this code to reverse the string this may mean you should study harder Smile | :)




QuestionTo get a popup menu when right clicking on command button [modified] Pin
Vinod Moorkkan9-Jul-06 22:45
Vinod Moorkkan9-Jul-06 22:45 
AnswerRe: To get a popup menu when right clicking on command button Pin
Naveen9-Jul-06 22:57
Naveen9-Jul-06 22:57 
GeneralRe: To get a popup menu when right clicking on command button [modified] Pin
RockyJames9-Jul-06 23:05
RockyJames9-Jul-06 23:05 
GeneralRe: To get a popup menu when right clicking on command button Pin
RockyJames10-Jul-06 0:25
RockyJames10-Jul-06 0:25 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 0:35
ashish dogra10-Jul-06 0:35 
GeneralRe: To get a popup menu when right clicking on command button [modified] Pin
RockyJames10-Jul-06 1:24
RockyJames10-Jul-06 1:24 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 1:43
ashish dogra10-Jul-06 1:43 
GeneralRe: To get a popup menu when right clicking on command button Pin
RockyJames10-Jul-06 2:08
RockyJames10-Jul-06 2:08 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 2:13
ashish dogra10-Jul-06 2:13 
GeneralRe: To get a popup menu when right clicking on command button Pin
RockyJames10-Jul-06 2:29
RockyJames10-Jul-06 2:29 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 2:37
ashish dogra10-Jul-06 2:37 
GeneralRe: To get a popup menu when right clicking on command button Pin
RockyJames10-Jul-06 2:42
RockyJames10-Jul-06 2:42 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 2:48
ashish dogra10-Jul-06 2:48 
GeneralRe: To get a popup menu when right clicking on command button Pin
ashish dogra10-Jul-06 3:12
ashish dogra10-Jul-06 3:12 
Questionabout Progress control Pin
ashish dogra9-Jul-06 22:38
ashish dogra9-Jul-06 22:38 
GeneralRe: about Progress control Pin
FarPointer9-Jul-06 23:16
FarPointer9-Jul-06 23:16 
GeneralRe: about Progress control Pin
ashish dogra9-Jul-06 23:22
ashish dogra9-Jul-06 23: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.