Giter Site home page Giter Site logo

lp1's Introduction

Unofficial repository for past LP1 test solutions

Contributions are very welcomed and needed, if you want to contribute please open a Pull Request following the directory structure:

An effort is made to have the code be concise and readable.

semester/L#/submitter's name/
Note
I won’t include the PDFs with the problem statement because I don’t have permission to share them publicly on the internet. If you have a PUCP email, you can either access Prof. Cueva’s Google Drive or AAII's Google Drive , you can find the some PDFs there.

Tips

Incremental development

Many times, compilation or runtime error messages are not helpful or borderline cryptic. Debugging tools help a lot. But narrowing down what component most likely failed is of great help. Develop each "module" separately, compile and debug frequently. Make sure each "module" works fine before moving to the next one.

Debugging

You should definitly make effective use the debugging tools from the IDE (breakpoints, keybindings, call stack, watches, expressions). Otherwise you are just waisting your time. Most IDE either use GDB or LLDB, and they share most of the basic concepts. You can learn the basics fast and start practicing.

Prof. Guanira states it clearly in "Guia de Creacion Ejecucion y Depuracion.pdf":

Debugging is essential

Formatting

Using stream manipulators and stream format flags can be cumbersome, but the course requires them since using printf is not allowed. So maybe macros can be helpful here.

See tips/formatting.adoc for an example implementation and usage.

lp1's People

Contributors

zazke avatar

Watchers

 avatar

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.