Works for me after adding the needed imports and removing the wrong include from the C file. Is this really the actual code you're running? Doesn't your C compiler reject that include? gcc does.
Okay, i think this C code should work (checked with cpp.sh):
#import <stdio.h>
char* write(char* text){
return text;
}
int main(void){
return 0;
}
but i still get the access violation.
