در کدویژن برنامه زیر رو نوشتم و با error زیر مواجه شدم . کتابخونه stdio تو فولدر inc موجوده . از c compiler هم تنظیمات مرتبط رو درست کردم . ولی باز هم error میده .
دوستان کسی میدونه مشکل کجاست ؟
Error: : can't open #include file: stdio
Error: undefined symbol 'sprintf'
دوستان کسی میدونه مشکل کجاست ؟
Error: : can't open #include file: stdio
Error: undefined symbol 'sprintf'
کد:
#include <mega16.h> #include <alcd.h> #include <stdio> unsigned char step[6]; float var=0; void main(void) { sprintf(step,"%f",var) ; lcd_puts(step); while (1) ; }
دیدگاه