my program should accept some structures variables form the user in a structure array, write those variables to a txt file then read the data from the txt file and print them but the program keeps...
Type: Posts; User: Loj Buchanan
my program should accept some structures variables form the user in a structure array, write those variables to a txt file then read the data from the txt file and print them but the program keeps...
thanks bro, that worked but it has a flaw. The value of 'success' is dependent on the last element of the array so even if one of the element ofthe array compared was true and the last element is...
How would i get the following code to print 'error' or 'true' only once after the whole array comparison in task 2 instead of printing after comparing each section of the array?
#include...
Thanks guys i did it.......
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <string.h>
int main()
say for testing sake i entered 'loj' as the username, i would get this output in the console:
Enter Username:
loj
Enter Password:
Enter Username:
Enter Password:
Enter Username:
also what...
I've tried this so far with no luck...
#include <stdio.h>
#include <stdlib.h>
int main()
{
char uname, pword;
I'm very new to programming and need some help with a code for a login process that should be written such that the user has up to three attempts to log into the system. After three unsuccessful...