Click here to Skip to main content
15,664,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
MsmVc14-Oct-08 20:54
MsmVc14-Oct-08 20:54 
QuestionRe: SetRange Pin
Rajesh R Subramanian14-Oct-08 20:59
professionalRajesh R Subramanian14-Oct-08 20:59 
Answer[Message Deleted] Pin
MsmVc14-Oct-08 21:18
MsmVc14-Oct-08 21:18 
GeneralRe: SetRange Pin
Rajesh R Subramanian14-Oct-08 21:25
professionalRajesh R Subramanian14-Oct-08 21:25 
RantRe: [Message Deleted] Pin
Rajesh R Subramanian15-Oct-08 3:20
professionalRajesh R Subramanian15-Oct-08 3:20 
QuestionBasic string manipulation question Pin
monsieur_jj14-Oct-08 20:42
monsieur_jj14-Oct-08 20:42 
AnswerRe: Basic string manipulation question Pin
Vijjuuu.14-Oct-08 21:02
Vijjuuu.14-Oct-08 21:02 
AnswerRe: Basic string manipulation question Pin
Jose David Pujo14-Oct-08 21:48
Jose David Pujo14-Oct-08 21:48 
Simple function:

int GetDomain (const char /*IN*/*email, char /*OUT*/*domain)
{
  if (!email || !domain) return -1;	// err 1
  char *c= strchr ((char*)email, '@');
  if (!c) return -2;			// err 2
  strcpy (domain, c+1);
  return 0;
}

...

char a[100]="";
int e= GetDomain ("sample@domain.es", a);

AnswerRe: Basic string manipulation question Pin
CPallini14-Oct-08 22:57
mveCPallini14-Oct-08 22:57 
AnswerMe too! Pin
Rajesh R Subramanian15-Oct-08 0:16
professionalRajesh R Subramanian15-Oct-08 0:16 
GeneralRe: Me too! Pin
CPallini15-Oct-08 0:38
mveCPallini15-Oct-08 0:38 
GeneralRe: Me too! Pin
Rajesh R Subramanian15-Oct-08 0:44
professionalRajesh R Subramanian15-Oct-08 0:44 
GeneralRe: Me too! Pin
CPallini15-Oct-08 0:56
mveCPallini15-Oct-08 0:56 
GeneralRe: Me too! Pin
Jose David Pujo15-Oct-08 0:50
Jose David Pujo15-Oct-08 0:50 
GeneralRe: Me too! Pin
Rajesh R Subramanian15-Oct-08 0:55
professionalRajesh R Subramanian15-Oct-08 0:55 
AnswerRe: Basic string manipulation question Pin
Sandeep Saini SRE15-Oct-08 17:47
Sandeep Saini SRE15-Oct-08 17:47 
QuestionRegarding Admin rights user Pin
H4u3214-Oct-08 20:30
H4u3214-Oct-08 20:30 
AnswerRe: Regarding Admin rights user Pin
Rajesh R Subramanian14-Oct-08 21:20
professionalRajesh R Subramanian14-Oct-08 21:20 
GeneralRe: Regarding Admin rights user Pin
H4u3214-Oct-08 21:34
H4u3214-Oct-08 21:34 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian14-Oct-08 23:23
professionalRajesh R Subramanian14-Oct-08 23:23 
GeneralRe: Regarding Admin rights user Pin
H4u3215-Oct-08 2:16
H4u3215-Oct-08 2:16 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian15-Oct-08 2:24
professionalRajesh R Subramanian15-Oct-08 2:24 
GeneralRe: Regarding Admin rights user Pin
H4u3215-Oct-08 3:22
H4u3215-Oct-08 3:22 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian15-Oct-08 3:27
professionalRajesh R Subramanian15-Oct-08 3:27 
QuestionMaximizing and Minimizing main window in MDI application Pin
AnayKulkarni14-Oct-08 20:18
AnayKulkarni14-Oct-08 20:18 

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.