Skip to content

swstack/c-snippets

Repository files navigation

C learning repo

Many of these exercises are taken from the book "Learn C The Hard Way".

Compling C program

gcc -o program main.c

Compiling C++ program

By default, gcc will link against the C stdlib, which will cause errors. To remedy, tell gcc to link against the C++ stdlib.

gcc -o program -lstdc++ main.cpp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published