Getting silly with C, part (void*)2 - lcamtuf’s thing
lcamtuf.substack.com · 1,050 words · saved by 1 readers
They won't be able to find bugs in your code if they can't figure out how it works.
Getting silly with C, part -5^-7 They won't be able to find bugs in your code if they can't figure out how it works. Jan 10, 2025 23 12 Share In the previous installment of our introductory series about the C language, we outlined the basic syntax of the switch() statement ( demo link ): #include <stdio.h> int main() { int i = 1; switch (i) if (0) case 0: puts("i = 0"); else if (0) case 1 ... 10: puts("i = 1 ... 10"); else if (0) case 11: puts("i = 11"); else if (0) default: puts("i = something else"); return 0; } Today, let’s continue with function declarations. You will be delighted to disco
saved by
related reading
- Weekend projects: getting silly with Clcamtuf.substack.com
- Go's Declaration Syntax - The Go Programming Languagego.dev
- CS106B C++ Fundamentalsweb.stanford.edu
- Writing a C compiler in 500 lines of Pythonvgel.me
- A half-hour to learn Rustfasterthanli.me
- CS106B C++ Stringsweb.stanford.edu
- The program structure - Rust for C-Programmersrust-for-c-programmers.com
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- Functions - The Rust Programming Languagedoc.rust-lang.org
- Frequently Asked Questions (FAQ) - The Go Programming Languagego.dev
- Rust Language Cheat Sheetcheats.rs
- Compilers - What Every Programmer Should Know About Compiler Optimizations | Microsoft Learnlearn.microsoft.com