i added this set of codes, but it still doesn't work.
while(!feof(f)&& grant==0){
fscanf(f,"%s",pass);
if(strcmp(pass,pass2)==0){
grant=1;
}
}
Type: Posts; User: dnates2012
i added this set of codes, but it still doesn't work.
while(!feof(f)&& grant==0){
fscanf(f,"%s",pass);
if(strcmp(pass,pass2)==0){
grant=1;
}
}
#include <stdio.h>#include <string.h>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
struct{
int roll_no;
char firstname[20];
The program you posted is fine, thank you sir - I'll try working on it to hide the values of the briefcases *if i can* :D ( they should only show up after I select a briefcase ) . everything else is...
Sir, after selecting a briefcase > all the other briefcase remaining should display> and I select 6 of the briefcases and they will show there value when opened. > then theres the offer and the...
Ok, sir thank you though - T_T i'll fail ; but the defense will still be on tuesday we still have time to correct .. T_T
damn so you mean I have to redo all these? T_T
I have my source code , but there are quite alot of problems.
1.- I need to choose 4 briefcases ; but it opens 5 ,.
2 - If I press DEAL , the only thing that would output is "You've won : 0...
Ok, but can you tell me the functions I need atleast?
I've been having a problem on how to get started in programming this game, and the deadline is tonight after 8hours.
Im making a deal or no deal game .
heres my source code at the...