To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 7428
7427  |  7429
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@unsw.NOMORESPAMedu.au>
Viewed: 
860 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR