Hexo

Home Archives
2019-12-17

C-struct-eg

Migrate from https://cmakerhk.wordpress.com/2018/10/02/c-unicode-operator/


gcc -Wall -o hello a.c b.c

-wall : display all warning
-o hello: program name hello
a.c, b.c: source file


wchar_t is for unicode
http://ccckmit.wikidot.com/cp:unicode

a = (1 + 1 == 2)? 4 : 5; // a == 4

struct yo {
    int b;    char c;
};

struct yo hi;
hi.b;
hi.c;
typedef struct {
    int a;    char b;
} TypeName;

TypeName c;
c.a = 10;

Share
  • C/C++
Newer
introduction-to-firmata
Older
offline-mesh-network

Categories

  • Experience
  • Notes
  • hexo
  • list
  • porject-log
  • tutorial

Tags

  • AT Command
  • AVR
  • Arduino
  • AutoML
  • Bash
  • Bus Pirate
  • C/C++
  • Cloud
  • DEVCON
  • ESP-Link
  • ESP32
  • ESP8266
  • GPRS A9 Module
  • HTTP
  • Maixpy
  • NodeJS
  • QR Code
  • RDP
  • REST API
  • Raspberry pi
  • SPI
  • SSH
  • Sipeed
  • Socket
  • String
  • Synergy
  • TCP/IP
  • Telegram
  • Timer
  • USB
  • VSCode
  • WSL
  • Wi-Fi
  • Windows
  • code
  • connector
  • delay
  • firmata
  • hexo
  • install
  • linux
  • list
  • log
  • mesh
  • python
  • tool
  • tutorial
  • uPython
  • web

Tag Cloud

AT Command AVR Arduino AutoML Bash Bus Pirate C/C++ Cloud DEVCON ESP-Link ESP32 ESP8266 GPRS A9 Module HTTP Maixpy NodeJS QR Code RDP REST API Raspberry pi SPI SSH Sipeed Socket String Synergy TCP/IP Telegram Timer USB VSCode WSL Wi-Fi Windows code connector delay firmata hexo install linux list log mesh python tool tutorial uPython web

Archives

  • December 2019

Recent Posts

  • clang-markdown
  • wsl-note
  • gprs-a9-log
  • google-cloud-compare
  • Getting Started on Sipeed MAIX M1
© 2019 John Doe
Powered by Hexo
Home Archives