Software > Software

Cprogramming

(1/2) > >>

roboplane2.0:
im a little confused with cprogramming codes and all that ive been looking at some tutorials on it every time i try to do something with the tutorial on Arduino-007 Alpha it keeps saying error:invalid fuction declaration could someone help me with that?

JesseWelling:
generaly when you have a problem with code you need to post the code and the error. other wise we can't really figure it out...

roboplane2.0:
 #include
<stdio.h>

int main()
{
  printf( "I am alive!  Beware.\n" );
  getchar();
  return 0;
}


error:invalid fuction declaration



and what is a pseudocode

JesseWelling:
try puting the #include <stdio.h>  all on one line other-wise printf() or getchar() are not defined in stdio.h for your micro controller. What you can do is find where stdio.h is and see what it has declared....

roboplane2.0:
i dont get what you said

Navigation

[0] Message Index

[#] Next page

Go to full version