GithubHelp home page GithubHelp logo

pasqualerossi / 42-school-exam-rank-05 Goto Github PK

View Code? Open in Web Editor NEW
40.0 40.0 5.0 66 KB

4th 42 School Exam

C++ 100.00%
42-exam 42exam 42exams cpp-modules cpp-modules-1337 cpp-modules-42 cppmodules exam-rank exam-rank-05 exam05 examrank warlock

42-school-exam-rank-05's Introduction

42-school-exam-rank-05's People

Contributors

mathieugruson avatar mvomiero avatar pasqualerossi avatar timotif 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

42-school-exam-rank-05's Issues

JCluzet simulator not compiling cpp_module01

Can't tell if it's an issue with this repo or with the exam simulator, but the solution to cpp_module01 does not compile on the simulator. Here's the traces:

Undefined symbols for architecture x86_64:
  "Warlock::launchSpell(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ATarget const&)", referenced from:
      _main in main-1418d0.o
  "Warlock::Warlock(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      _main in main-1418d0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

<--------------~-~-~-~-~-~-~-~-~------------>
Richard: This looks like another boring day.$
Richard: I am Richard, the Titled!$
Target Practice Dummy has been fwooshed!$
Richard: My job here is done!$
\n
<--------------~-~-~-~-~-~-~-~-~------------>\n\n
<--------------~-~-~-~-~-~-~-~-~------------>
\n
<--------------~-~-~-~-~-~-~-~-~------------>

Any clue?

leak and segfault

hi.
thanks for the solutions
in cpp_module_01 there's a leak as some delete was forgotten for the Spell object. i guess in the ForgetSpell function need to add delete _SpellBook[SpellName];

in cpp_module_02 if you change this string to a non existing object name, it segfaults:
ATarget* wall = tarGen.createTarget("Inconspicuous Red-brick Wall non-existent");

i didnt check the reason, but will update if i find.
i failed on exam as i also had the segfault, but now sure if it was the only reason

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.