User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » malloc problem on m16c26a Page [1]  
AntecK7
All American
7755 Posts
user info
edit post

Im getting an assign far pointer (implicity) casted by near pointer
the command im using is
int *arrayry;
arrayry= (int*)malloc(30*sizeof(int));

the error accours on the second instruction

10/19/2005 9:45:50 PM

confusi0n
All American
5076 Posts
user info
edit post

haah oh crap i just realized you're embedded

[Edited on October 19, 2005 at 10:53 PM. Reason : crap]

10/19/2005 10:49:33 PM

AntecK7
All American
7755 Posts
user info
edit post

could it be that im declaring it in my main?

10/20/2005 12:05:02 AM

 Message Boards » Tech Talk » malloc problem on m16c26a Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.