Re: [Dev-C++] address 0x33313031 out of bounds
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2002-12-12 23:26:40
|
Your first mail said that your code was "basically" as posted.
Might there be some include files or other declarations that wasn't
shown in the mail?
/Per W
On Thu, 12 Dec 2002 ma...@mm... wrote:
>
> even if i change it to char type[1024] it still does exactly the same thing
> and argv[1] is only 'ud'. thats what i don't get. as far as i can tell i'm
> doing the right thing, aren't i?
>
> i debugged again and this time a box came up that said 'list index out of
> bounds(7)' and gave a memory address. i also noticed that it also crashes
> at printf("type is currently %s", type) (as well as at sprintf).
>
> help?
>
>
|