Click here to Skip to main content
15,889,216 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: IE automatic refresh?? Pin
S Douglas19-Sep-06 14:23
professionalS Douglas19-Sep-06 14:23 
GeneralRe: IE automatic refresh?? Pin
trixter200419-Sep-06 18:00
trixter200419-Sep-06 18:00 
GeneralRe: IE automatic refresh?? Pin
S Douglas19-Sep-06 22:18
professionalS Douglas19-Sep-06 22:18 
QuestionUNICODE to ASCII Conversion Pin
AlekseyUS18-Sep-06 10:29
AlekseyUS18-Sep-06 10:29 
AnswerRe: UNICODE to ASCII Conversion Pin
led mike18-Sep-06 10:34
led mike18-Sep-06 10:34 
QuestionExtract substring from string Pin
bigguru117-Sep-06 6:41
bigguru117-Sep-06 6:41 
AnswerRe: Extract substring from string Pin
zaccheus17-Sep-06 9:18
zaccheus17-Sep-06 9:18 
GeneralRe: Extract substring from string Pin
bigguru117-Sep-06 18:50
bigguru117-Sep-06 18:50 
thanks zaccheus, i could solve it with help from a good online friend, his hint was to use:

#include <stdio.h><br />
<br />
void main()<br />
{<br />
char host[]="dslb-012-034-567-089.pools.myisp-ip.net";<br />
<br />
printf("\n %s ", host);<br />
strcpy(strchr(host,'-'),strchr(host,'.'));<br />
printf("\n %s",host);<br />
<br />
}
output:


dslb-012-034-567-089.pools.myisp-ip.net <br />
dslb.pools.myisp-ip.net

and i modified it to:


	char* cShortHost = host->h_name;<br />
	strcpy(strchr(cShortHost, '-'), strchr(cShortHost, '.'));<br />
<br />
	printf("\nShortHost Name: %s", cShortHost);

QuestionHow to (re)size an array using Int64 Pin
zaccheus17-Sep-06 1:25
zaccheus17-Sep-06 1:25 
AnswerRe: How to (re)size an array using Int64 Pin
Christian Graus17-Sep-06 11:24
protectorChristian Graus17-Sep-06 11:24 
GeneralRe: How to (re)size an array using Int64 Pin
zaccheus17-Sep-06 12:51
zaccheus17-Sep-06 12:51 
GeneralRe: How to (re)size an array using Int64 Pin
Christian Graus17-Sep-06 13:19
protectorChristian Graus17-Sep-06 13:19 
AnswerRe: How to (re)size an array using Int64 Pin
Daniel Grunwald22-Sep-06 21:50
Daniel Grunwald22-Sep-06 21:50 
GeneralRe: How to (re)size an array using Int64 Pin
zaccheus23-Sep-06 1:20
zaccheus23-Sep-06 1:20 
Questionmorris pratt Pin
vtalau17-Sep-06 0:44
vtalau17-Sep-06 0:44 
Questionunmanaged -> managed call (again) Pin
Dragan Matic14-Sep-06 23:16
Dragan Matic14-Sep-06 23:16 
AnswerRe: unmanaged -> managed call (again) Pin
User 58385218-Sep-06 15:53
User 58385218-Sep-06 15:53 
Questioncan you tell me the function is use for? thanks Pin
fly4me14-Sep-06 16:20
fly4me14-Sep-06 16:20 
AnswerRe: can you tell me the function is use for? thanks Pin
Christian Graus14-Sep-06 19:30
protectorChristian Graus14-Sep-06 19:30 
QuestionString.Split - tutorial? samples? Pin
LudwigKeck14-Sep-06 16:16
LudwigKeck14-Sep-06 16:16 
AnswerRe: String.Split - tutorial? samples? Pin
baerten21-Sep-06 5:01
baerten21-Sep-06 5:01 
GeneralRe: String.Split - tutorial? samples? Pin
LudwigKeck21-Sep-06 15:02
LudwigKeck21-Sep-06 15:02 
QuestionWizard Control in vc++ express Pin
aguest14-Sep-06 7:41
aguest14-Sep-06 7:41 
AnswerRe: Wizard Control in vc++ express Pin
led mike14-Sep-06 8:11
led mike14-Sep-06 8:11 
Questionbios.h and terminos.h in Dev c++ compiler Pin
prashw13-Sep-06 21:55
prashw13-Sep-06 21:55 

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.