Thread
:
[solved] Problems with crashes in C-Code
View Single Post
daperl
2012-04-14 , 14:29
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#
3
xxx must be NULL terminated for the line after the pink code to not randomly crash. The pink code doesn't guarantee that. So, you might actually want to change:
Code:
counter<= (sizeof(xxx)-0
to
Code:
counter< (sizeof(xxx)-1
__________________
N9: Go white or go
home
Quote & Reply
|
daperl
View Public Profile
Send a private message to daperl
Find all posts by daperl