Skip to content
Snippets Groups Projects
Select Git revision
  • LearningEnvironment
  • master default protected
  • change_modified_reward_v0
  • feature_carla_szenarios
  • develop_moreSensorsInCarla
  • feature_carlaSupport
6 results

agents.py

Blame
  • constructors-07.cpp 233 B
    #include <stdio.h>
    
    class TInteger
    {
    private:
      int content;
    public:
      void print ()
      {
        printf ("%d\n", content);
      }
      TInteger ()
      {
        content = 42;
      }
    };
    
    int main ()
    {
      TInteger i;
      i = 13;
      i.print ();
      return 0;
    }