Сообщество физиков, математиков и разработчиков. Книги, видеоуроки, статьи.
📒 Arduino Workshop, 2nd Edition: A Hands-on Introduction with 65 Projects
John Boxall• A digital thermometer that charts temperature changes on an LCD • A GPS logger that records data from your travels, which can be displayed on Google Maps • A handy tester that lets you check the voltage of any single-cell battery • A keypad-controlled lock that requires a secret code to openYou'll also learn to build Arduino toys and games like:
• An electronic version of the classic six-sided die
• A binary quiz game that challenges your number conversion skills
• A motorized remote control car with collision detection to keep it from crashing#include <stdio.h>
int main(void) {
const int value = 111;
printf("init value: %d\n", value);
*((int*) &value) = 222;
printf("new value: %d\n", value);
return(0);
}
⚙️ Обсуждение этой задачи в группе Physics.Math.Code в VK
💡 Постарайтесь подумать самостоятельно и напишите свои ответы в комментариях. Чуть позже опубликуем разбор.
#задачи #cpp #C #си #программирование