Qbasicnews.com
Qbasicnews.com
>
General
>
General/Misc
>
General Programming
> mid$ in c
Full Version:
mid$ in c
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Pages:
1
2
Hard Rock
06-14-2003, 07:31 PM
strlen will give you the exact length of the string, sizeof will include the null terminator.
Lithium
06-14-2003, 11:30 PM
char string[] = "Hello world!";
x = sizeof(string);
wouldn't x == sizeof(char *) ?
Pages:
1
2
Qbasicnews.com
>
General
>
General/Misc
>
General Programming
> mid$ in c