> For the complete documentation index, see [llms.txt](https://docs.aic-eec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aic-eec.com/general/development-on-crowpi/cross-compiler-raspberry-pi/lab-1-programming-and-cross-complier.md). Agents can also search and read this documentation through its [MCP server](https://docs.aic-eec.com/~gitbook/mcp).

# Lab 1: Programming and cross complier

Lab 1.1 จงเขียนโปรแกรมภาษา c++ บน Visual code studio โดยที่โปรแกรมแสดงผลว่า\
" Hello \*Your name\*. ํYour student ID is \*student ID\*.

![ภาพผลการรันโปรแกรมที่จะได้](https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MClo3nC-1US0rbK8Qau%2F-MOf2JhdVb_ZuPwM4dV9%2F-MOfAHf6o_X0rWcYmSjT%2Fimage.png?alt=media\&token=d335793c-d366-40c6-a9c5-3d3e013051f0)

โดยให้โปรแกรมนี้ทำงานอยู่บน RaspberryPI  บันทึก code ที่ใช้และ capture ผลการรันโปรแกรม

Lab 1.2 จงเขียนโปรแกรมภาษา c++ บน Visual code studio รับค่าตัวเลขจากผู้ใช้สองค่า\
นำมาบวกกันแล้วแสดงผลบน terminal

![ภาพผลการรันโปรแกรมที่จะได้](https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MClo3nC-1US0rbK8Qau%2F-MOfB2qFYuBOT8dvCiiQ%2F-MOfDeixssgYjAfS9PC6%2Fimage.png?alt=media\&token=6dd3715e-4f59-4b31-960a-1ef877e58310)

โดยให้โปรแกรมนี้ทำงานอยู่บน RaspberryPI  บันทึก code ที่ใช้และ capture ผลการรันโปรแกรม
