c
Dolphinana editou esta página 2 anos atrás

C Programming Language

C is a low-level compiled programming language that can be considered a step up from assembly. It is pretty fast and programs written in C can be compiled to many different platforms, making it portable if done correctly.

There are many different C compilers such as GCC, clang, tcc and many more.

There is a C tutorial at LRS wiki! ( https://www.tastyfish.cz/lrs/c_tutorial.html )

Hello World in C

#include <stdio.h>

int main(void)
{
  puts("Hello World!");

  return 0;
}

Fun Fact

  • The letter 'u' or 'U' appended to a number value will make sure that the number will be unsigned and won't overflow. Like this: int32_t x = 30000u + 30000u;
  • Pointers in C is awesome, despite what js-rs-normies are saying lol.