please correct my char count program...
pieter Valdano pattiruhu
pieter_ambonese at yahoo.co.id
Tue Jun 19 18:48:06 PDT 2007
here is my count char program:
import std.stdio;
import std.string;
void main()
{
char* s;
char string[100];
writef("please input your text=");
scanf("%s",&string);
writef("your text length is=",string.length);
}
does my program work properly?. when i try to run it, d compiler tell that
can't convert string to int. please show me the way to convert string into integer. (if you don't mind i need your correction in my simple char program). thank you very much...GBU
More information about the Digitalmars-d-learn
mailing list