Skip to content

fabiogaluppo/AdventOfCode2016

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2016

During 2017, I had chosen Advent Of Code 2016 to have some fun by coding.

Also, I had set some personal rules:

  1. Every code should be written (mostly) in imperative style;
  2. Every code should be written in (modern) C++ or C;
  3. I could use only the Standard Template Library (STL) as facility, no other C or C++ library.

So, right now I've decided to share my experience in this repository. Enjoy!

Advent Of Code 2016  completed!

Compile with:

  • clang

    • clang -O3 -c md5c.c -o ./bin/md5c.o
    • clang++ -std=c++14 -O3 -Wno-write-strings ./bin/md5c.o program.cpp -o ./bin/AdventOfCode2016.exe
  • msvc

    • cl.exe /c /Fo.\bin\ /Ox md5c.c
    • cl.exe /Fo.\bin\ /std:c++14 /EHsc /Ox .\bin\md5c.obj program.cpp /link /out:.\bin\AdventOfCode2016.exe
  • gcc

    • gcc -O3 -c md5c.c -o ./bin/md5c.o
    • g++ -std=c++14 -O3 -Wno-write-strings ./bin/md5c.o program.cpp -o ./bin/AdventOfCode2016.exe
Compile and Run with gcc

Compile and Run with gcc

Compile and Run with msvc

Compile and Run with msvc

About

My Repo to Advent of Code 2016 (http://adventofcode.com/2016)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published