Subject:
|
array of char in IC
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 14 Feb 2000 23:19:53 GMT
|
Original-From:
|
Javaid Iqbal <J.IQBAL@UNSWavoidspam.EDU.AU>
|
Viewed:
|
1159 times
|
| |
| |
Hi,
I am using IC. In my program I have an array of char (char
serial_get_buffer[256]) as a global variable.
This variable is used in a function. I want that when ever this function is
called the array should be initialized to NULL. I tried following statement
which did not work.
for(i=0;i<256;i++)
serial_get_buffer[i]="\0";
My second question is that RUN TIME ERROR 03, is only related to "array out
of bound" or related to any other error as well.
Any suggestion and guidance please.
Kind Regards,
Javaid Iqbal
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|