Author |
Message |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 12:40 am Subject: undefined identifier get_long |
Please use in following order.
#include <16f877a.h>
//#include <protoalone.h>
//#fuses HS,NOLVP,NOWDT
//#use delay(clock=20000000)
//#use rs232 (baud=9600,xmit=P ... |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 12:25 am Subject: undefined identifier get_long |
Its same as long int you can also try with
long int get_long()
{
long int x;
return(x);
}
It still complies properly.
Sid
okey..also same error..
when i ena ... |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 12:13 am Subject: undefined identifier get_long |
I can't see your get_long function so I cannot comment how it works!
So to check the rest of the code, I simply added
int16 get_long()
{
int16 x;
return(x);
}
to ... |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 12:02 am Subject: undefined identifier get_long |
Can you show the get_long function? is your return type also long int?
i write long w,h,result;
also get same error |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2011 12:00 am Subject: undefined identifier get_long |
Can you show the get_long function? is your return type also long int?
this program also get_long error
#include <protoalone.h>
#include <utility.c>
#include <stdlib.h>
#inclu ... |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2011 11:43 pm Subject: undefined identifier get_long |
Is your get_long() function defined as long int?
yeah..i already change it to long int..but its still error |
Topic: undefined identifier get_long |
najhan88
Replies: 11
Views: 12720
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2011 11:11 pm Subject: undefined identifier get_long |
#include <16f877a.h>
//#include <protoalone.h>
//#include <stdlib.h>
//#include <input.c>
//#fuses HS,NOLVP,NOWDT
//#use delay(clock=20000000)
//#use rs232 (baud=9600,xmi ... |
|