/BBraun_Technical_Challenge

Repository made to keep track of progress during this challenge

Primary LanguageC++

BBraun Technical Challenge

Ideas for this challenge:

  • Fix all obvious mistakes with wrong syntax and wrongful use cases
  • Separate classes and split private and public variables
  • Determine the purpose of the program and implement my interpretation
  • Implement some quality of life additions to the program, ideas:
      Factory to create pointers (type one, two and three)
      Create a map for storing callback functions to have access to multiple at once
      Define a callback function with a template so to allow values such as integers, floats, etc.
  • Write an improved test function to test the following:
      Polymorphism across all three types of pointers
      Unique attributes of each type of pointer
      Copy and copy assignment constructor for TestClass
      Writing to file scenarios:
        Failed to write to file
        Failed to close file (*)
      Normal use cases of TestClass
      Exceptions
  • What I actually did:

  • Fix all obvious mistakes with wrong syntax and wrongful use cases
  • Separate classes and split private and public variables
  • Implement some quality of life additions to the program, ideas:
      Factory to create pointers (type one, two and three)