Download Demo/LastClass.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 512 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/LastClass.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Demo/LastClass.txt
-
curl -L -o LastClass.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/LastClass.txt
512 Bytes
| U0 StructName(U8 *d,U8 *class_name=lastclass) | |
| {//lastclass is the prev fun arg's class as a string. | |
| "%X is a \"%s\".\n",d,class_name; | |
| } | |
| class Student | |
| { | |
| Student *next; | |
| I64 age; | |
| U8 name[32]; | |
| } a; | |
| class School | |
| { | |
| U8 name[32]; | |
| Student *students; | |
| } s; | |
| I64 i; | |
| StructName(Fs); | |
| StructName(&a); | |
| StructName(&s); | |
| StructName(&i); | |
| PressAKey; | |
| //lastclass is used in ClassRep() and ClassRepD(). | |
| ClassRepD(Gs); | |
| PressAKey; | |
| ClassRep(Fs); | |
| //See also DocForm(), ::/Demo/Dsk/BlkDevRep.HC and ::/Demo/ClassMeta.HC. | |