Skip to content
Snippets Groups Projects
Select Git revision
  • 54ed8f19fd9197bab0719a2f86201aaee63d4734
  • main default protected
  • increase_steps
  • auto_mutation
4 results

agentMemoryDQN.py

Blame
  • string-ops-8.c 465 B
    #include <stdio.h>
    #include <string.h>
    
    int main (void)
    {
      char *anton = "Anton";
      char *zacharias = "Zacharias";
    
      printf ("%d\n", strcmp (anton, zacharias));
      printf ("%d\n", strcmp (zacharias, anton));
      printf ("%d\n", strcmp (anton, anton));
    
      char *anton2 = "Anton";
      if (anton == anton2)
        printf ("gleich\n");
      else
        printf ("ungleich\n");
    /*
      char buffer[100] = "Huber ";
      strcat (buffer, anton);
      printf ("%s\n", buffer);
    */
    
      return 0;
    }