RaspberryPiã§C++ãã³ã³ãã¤ã«ã»å®è¡ãªã©ãã¦ã¿ã¾ããã 大ãããã¨ã¯ãã£ã¦ã¾ãããã調ã¹ã¦ãã£ããã¨ãã¡ã¢ãã¦ããæãã§ãã C++ããã°ã©ã ä½æ ã¾ãé©å½ãªã¨ããã«cppãã¡ã¤ã«ãä½æãRaspberryä¸ã®ã¨ãã£ã¿ã¨ãã¦ãvimã¯ã¢ã¼ãã ã®ãªãã ã®åããã«ããã®ã§ãç§ã¯nanoã使ã£ã¦ã¾ãã $ sudo nano main.cpp ã§ã以ä¸ã®ãããªãã¹ãçå ¥åºåããã°ã©ã ãæ¸ãã¾ããã #include <stdio.h> int main(){ int a; printf("æ´æ°å¤ãå ¥åãã¦ãã ãã\n"); scanf("%d", &a); printf("å ¥åããæ°å¤ã¯%d\n", a); return 0; } â OS Raspbianã«ã¯C++ã®ã³ã³ãã¤ã©g++ãæ¨æºã§æè¼ããã¦ãããããã§ããã³ã³ãã¤ã«ã«ã¯ããã使ãã¾ããã ãªãã·ã§ã³oã§ã³ã³ãã¤ã«ããåºå
{{#tags}}- {{label}}
{{/tags}}