Raspberry pie is learning-oriented. You can learn operating system, programming, embedded programming, industrial control, artificial intelligence and so on. More comprehensive than other models such as arduio. Of course, it is also weak in some aspects. In foreign countries, the function of raspberry pie is almost brought into full play. There are raspberry pies in almost all fields. From parallel computing to robotics, to 3D printing, space exploration, home security, routers and PADs. The usage at home and abroad is basically the same. It's just that China people use it more for their families. They are all small toys played by people with strong hands-on ability.
Raspberry pie system is based on Linux. Therefore, the programming in Raspberry Pie is exactly the same as that in Linux, and the program is compiled and run by a compiler under Linux. Raspberry pie can't be programmed under windows.
General:
//Create a hello.c file under the home/pi/ folder and enter the following contents.
# Contains? & ltstdio.h & gt
Invalid? Major (invalid)
{
Printf ("Hello! ? This? Is it? Mine? First of all? c? Program. \ r \ n ");
}
//Enter gcc at the terminal? hello.c? -Oh? Hello? Realize the compilation and connection of hello.c
//./Hello? Execute the generated executable file hello.