Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mid$ in c
#11
strlen will give you the exact length of the string, sizeof will include the null terminator.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#12
char string[] = "Hello world!";
x = sizeof(string);

wouldn't x == sizeof(char *) ?
COUNT HACKED BY RAZVEEE

RAZVEE IS A SCRIPT KIDDIE- hacker9
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)