![]() |
a players record system IN DESPAIR.
Dear experts, i am making a player record for my pathetic minesweeper game. please correct me i dont under stand the errors.
Code:
the errors i get. 21 C:\Dev-Cpp\REVIEWS\file.c incompatible type for argument 1 of `read' 46 C:\Dev-Cpp\REVIEWS\file.c incompatible type for argument 1 of `write' 66 C:\Dev-Cpp\REVIEWS\file.c subscripted value is neither array nor pointer 66 C:\Dev-Cpp\REVIEWS\file.c subscripted value is neither array nor pointer 91 C:\Dev-Cpp\REVIEWS\file.c subscripted value is neither array nor pointer the player.txt file has Code:
peeter 10 |
Re: a players record system IN DESPAIR.
************ error************
if(p[ctr].name == pname); the above line is has an error because strings need to be compared using if(strcmp(str1,str2) == 0); sorry about that. |
Re: a players record system IN DESPAIR.
SOMEBODY HELP
PLEASEEEEEEEEEEEEEEEEEEEEEEEEE..... thanks |
Re: a players record system IN DESPAIR.
maybe this will help...
Code:
#include<stdio.h> |
Re: a players record system IN DESPAIR.
ok thanks i will try and let you know
|
| All times are GMT +5.5. The time now is 18:28. |