I try making a little program that sums or rests depending on user input how do I make that? ps. I want to sum/rest an integer not float
if you want to see the source code here it is:
#include...
Type: Posts; User: lalorobot
I try making a little program that sums or rests depending on user input how do I make that? ps. I want to sum/rest an integer not float
if you want to see the source code here it is:
#include...
This is a little cmd game I am developing there isn't really a story for it, it currently has only a little battle system with heal and attack,for some reason it stops working at the end..
well here...
ok thanks gotta make that changes
Edit: Oh and I know about do pointers and you all are going to be in the Credits!
Oh thanks! after some googling I finally understand string compare! and it works!
I only have this two things the compiler sent me:
BattleKnight.c: In function 'menu':BattleKnight.c:51:4:...
ok thanks for correcting me there but for some reason it still says that it has stopped working.... here is a screenshot for you to see:
11733
Edit:
Also I get these warnings from the compiler:...
ok so I am making a little game everything goes fine until I get to this:
printf("You are facing 1 goblins goblin 1 has %d hp and deal 10 dammage by hit\n",goblin1Health);
printf("(A)Attack Deals...