Hey all. What am I doing wrong with this program? It won't print my list of numbers at all.
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#define MAXSTACK 10
typedef enum...
Type: Posts; User: TeenyTig
Hey all. What am I doing wrong with this program? It won't print my list of numbers at all.
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#define MAXSTACK 10
typedef enum...
Yep, it's delcared. This is what it looks like in my structure
struct Customer *ptrnext;
What am I doing wrong with this linked list? Cause I'm getting an error of my type and an error that delname is not declared.
void erase()
{
struct Customer *ptrthis;
...
Ok, my question is how do you search for something inside an array of structures? Here's my problem:
struct Customer
{
int Cid;
char Cname;
int Tele;
int NumMovies;
int New;
...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define NAME_LEN 50
#define MAX 6
#define ENCRYPTVAR 5
int Valid(const char *nameptr);
Well, I already tried that and it gives me warnings of 'puts' being of different formats. So, it didn't work right.
I'm so confused! My code won't work right. I need it to print out the login name and it won't do that. It just prints out the password again. How do I go about printing out the login name??
...
In my above program, I have
Encrypt(name[3][]);
Encrypt(name[4][]);
Encrypt(name[5][]);
I keep getting syntax error ']'. What is wrong with my statements?
Well what I need to do is have a password, encrypt the password in the array and print it out. Then, if the user name exists, decrypt the password. That's where I'm conused. How do you even go...
Ok, the program I have to do is to create a Login/Password database. I'll post my code so far to see if I'm on the right track. And as you can see, I'm entirely clueless on how to go about the last...