Git Product home page Git Product logo

ansi_c's Introduction

The ANSI C programming language: Some of the exercises

This is a repo containing my attempts at some of the exercices present in the "The ANSI C programming language book" book.

In fact, I am okay at C and have some good familiarity with it, but decided I would better get back to the roots from now, before I learn more advanced stuff only to find myself standing on an unbalanced base ...

Each exercice will have the page it's taken from at the top of it, and each exercice will have two files, the .c file and the .out file (compiled: $ gcc file_name.c -o file_name.out). Additionally, if the code requires input (which most of the first chapter's ones do), I might add a test file (although I mostly just use the code's file for testing).

Basic workflow for now:

  • Read the assignment and code it
  • Compile: $ gcc file_name.c -o file_name.out
  • Run (with input file) $ cat test_file | ./file_name.out

I moved to using a Makefile as the projects got bigger and more complex.

I followed a semi-generic template from this website: https://www.cs.swarthmore.edu/~newhall/unixhelp/howto_makefiles.html#creating

Next steps

I added the data structures folder to explore the most basic data structures through C, and for that I will be following a YouTube series by Jacob Sorber. As for C, I know most of these data structures, but I decided to get back and learn them in a more fundamental level to gain deeper understanding of all of it.

ansi_c's People

Contributors

rad-hi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

arobertson14

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.