Git Product home page Git Product logo

elte-ik-cpp's Introduction

Tananyag a Programozási Nyelvek C++ tárgyhoz

Ebben a repositoryban az ELTE IK Programozási Nyelvek C++ c. tárgyhoz készült előadás és gyakorlati jegyzetek forráskódjai találhatóak, valamint az exercise mappa tartalmaz pár, a megértést segítő gyakorlati feladatot. Ez a projekt open source, ha valami hibát találsz, bátran vegyél fel egy issue-t, valamint ha te is írnál valamit a projekthez, minden kontribúciót szívesen veszünk!

Linkek

A hallgatóság az alábbi linkeken fér hozzá a jegyzetekhez:

elte-ik-cpp's People

Contributors

locutus18 avatar overorion avatar steakhal avatar szelethus avatar xazax-hun avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

elte-ik-cpp's Issues

Enforce \noindent in the compiled book

When one compiles a file on it's own, no indents are present, which is the intent (not indent, hehe), as the book has several small paragraph, making indents look a bad, which are for some reason present when the entire book gets compiled.

Make the compilation of the entire "book" easier.

There is no good reason to compile cpp_book.tex by first having a program generating it from the other lectures. This should be made with includes, or some other similar technique.

Although, there are some issues with this as well.

  1. There is a good chance, that going this way would make compiling the lectures separately harder. But even then, it should be possible. This point also raises the question whether there is a real need for a PDF for each lecture. If there really isn't, maybe another structure of separate files should work better (e.g. not 01gy_cpp.tex and so on, but rather templates.tex etc)
  2. lstlistings, the package used to display codes obviously cant know all existing type names (this is important for syntax highlighting). For this reason, collecting all custom types declared in the book is easier with a program. However, since the majority, if not all the type names are already collected and added to the first lecture's preamble, it would be simpler that when someone makes a new code snippet with a new type name, to just add it to the preamble manually.

Fixing this may require serious work, and should be delayed when most other things are said to be good to go.

Use intel asm syntacs.

Why don't we format assembly code in Intel style?

To generate only assembly in Intel style:

>g++     -S -masm=intel mycpp.cpp
>clang++ -S -masm=intel mycpp.cpp

Results: mycpp.s

Make a new file for each section rather than for each exercise

Now that the old style c++ lectures and exercises are becoming the days of old, we'd be better of having a file for each section, and restructure the book, or, even better, make a new one, which is kinda difficult with the current, arbitrary division points.

Use a different tag for non-cpp snippets.

Worth using different style tags for different code snippets in tex file.
Especially for C++ code, to be able to automatically reformat all C++ snippets.

This problem occurs regulary in the codebase.

and many more...

I can see that you are using [style = customasm] attribute for assembly snippets, are there any for bash too?

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.