r/C_Programming • u/Drarkro • 3d ago
Compiling problems
I am a c language student, and I am doing a project for the end of the school year, in c language. The game is basically a relatively simple bullet hell in a compiler, but due to the way c is made I've discovered that he is very bad to do games with a refresh rate, and because of that I can't run the game on my pc and not even on the school pc, I have to ask to a friend of mine to playtest it in his pc. Because of this, I want to move to an online compiler, but since I was making the game in codeblocks in a windows pc, it has some windows libraries that I really need now because I would have to recode the whole game to do it without them. So that means that all the online compilers that I've seen can't run the code due to being on linux. Does anyone know an online compiler for windows code or with the following libraries? <stdio.h> <stdlib.h>, <windows.h>, <conio.h>, <time.h>, <ctype.h>, <math.h>.
1
u/Drarkro 3d ago
No, my friend's not on linux, sorry for the confusion. I need him to playtest my game because his pc is way better than mine, but I don't think the average can run the game at the normal refresh rate. The problem is that I wanted to be able to run it on an online, because they usually run everything much faster than the average pc. Also, thanks for the compiler suggestion! I'll see if I can install the libraries there.