Beispiel #1
0
 public Glos(string name, GlosLang lang, string glosText)
 {
     this.name        = name;
     this.lang        = lang;
     this.glosProgram = glosText;
     this.include     = "#include <stdio.h>\n";
     AddDefaults();
 }
Beispiel #2
0
 public Glos(string name, GlosLang lang, string glosText, string include)
 {
     this.name        = name;
     this.lang        = lang;
     this.glosProgram = glosText;
     if (!include.Contains("#include <stdio.h>"))
     {
         this.include = "#include <stdio.h>\n";
     }
     this.include += include;
     AddDefaults();
 }