r/code • Hacker • Sep 26 '24

C Im Learning C

Super good code no steal pls

This Is The Code:

#include <windows.h>

#include <stdio.h>

int main()

{

printf("Starting...");

FILE *Temp = fopen("SUCo.code", "w");

if((Temp == NULL) == 0) {

printf("\nHOW!??!?!?");

return 0;

} else {

MessageBox(0, "Complete The Setup First", "NO!", MB_ICONWARNING);

return 1;

}

}
These Are The Outputs:

SUCo.code Exists
SUCo.code Does Not Exist
2 Upvotes

6 comments sorted by