Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

README.md

C

Vods

References

metameeee: "what are your favorite resources for learning C as an experienced high-level language developer?" strager: cppreference.com, Linux/macOS: man pages, Windows: MSDN

Dev Env

Emacs already has c-mode by default so nothing to install there.

Compiler

Most likely you already have gcc, but there are other options out there. If you're going to use clangd LSP anyway you might as well use clang, which is already included when you install llvm (at least from homebrew). Finally, if you're using a makefile, then you can build with make.

LSP

ccls - Cumbersome build process clangd - Just brew install llvm and you're ready

Issues

At first I had issues with clangd not finding external packages. This was fixed by installing Bear.

Packages

TODO

  • fizzbuzz.c returns str from the stack and that's bad