JSeb
jisseb.bsky.social
JSeb
@jisseb.bsky.social
#nim #c #asm #coding #soundtracker #blobber
// il faut gcc pour compiler
#include<stdio.h>

void closefile(FILE **hFile)
{
if (*hFile) {
printf("nettoyage handle %p\n",*hFile);
fclose(*hFile);
}
}
int main(void)
{
__attribute__ ((cleanup(closefile) )) FILE *hFile = 0;
hFile = fopen("cleanup_attribute.c","r");

return 0;
}
September 11, 2025 at 2:30 PM
AMOS was so great for its time !
I remember François Lionnet had written in the introduction of the manual « i hope in the future, a hitmaker will tell me that he has begun with AMOS ! ». Well, i'm not a hitmaker, but at least i went beyond the basic(s) with AMOS.
February 24, 2025 at 5:04 PM
With Nim, nimLang or nim_lang will be the same thing if i have well understood :) (but you have to be careful with the first letter case)
February 24, 2025 at 10:34 AM