that is just a function in a bigger program btw
the error messages make no sense
streetfighting.c:207:18: warning: character constant too long for its type
streetfighting.c: In function...
Type: Posts; User: aaron11193
that is just a function in a bigger program btw
the error messages make no sense
streetfighting.c:207:18: warning: character constant too long for its type
streetfighting.c: In function...
hey im making an ascii fighting game and i cant understand why this gives errors
attack( int hp, int att, int def, int spd, int power, int cash, int wins, int loses, int awake, int battle_num,...
thanks it works fine now:D
wait up...
my last full code post is my finished game.. just the random numbers arent random lol
thx 4 remindin me bout my messageboard backups!:D
i would but id modified the code a lot and i had it finished with about 2 bugs....
ill just keep my executable...
hey i need to load the contents of a file in this format
1
0
0
0
5
30
BIG problem here.... i made a linux executable of the game and accidentally deleted the source file and the game still has a few bugs......
is there any way of extracting the source from the...
hey i tried putting types in the parameters and it gave me some errors about wrong types or something when i had char..
eg..
int show_time_menu( char name, int hp, int tired, int karma, int...
wen i woz about 8 i found one of those programmable calculators and learned to program that, then when i was about 10 i learned HTML and a tiny bit of C and now i am 13 and have learned a few other...
this is my code now, in activity_battle the random numbers are always the same and theyre too big...
#include <stdio.h>
int get_choice( void ){
int choice;
printf("?:: ");
scanf("%d",...
can anyone help me with header files...
i need to make this into a header file for the game
void show_time( timehh, timeh, timem, timemm ){
printf("\n|%d%d:%d%d|\n", timehh, timeh, timem,...
hey thanks for all the help and tips its working fine now:)
ill email anyone the finished product when i finish it if they want but you have to compile it yourself unless you use Linux
aaron
hey i am making an rpg ascii game and my switches arent working even if i change them to ifs...... plz help
#include <stdio.h>
/*Gets user's answer to a question*/
int get_chioce( void ){...