Search:

Type: Posts; User: TeenyTig

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,710

    What am I doing wrong, stack?

    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...
  2. Thread: Question

    by TeenyTig
    Replies
    2
    Views
    770

    Yep, it's delcared. This is what it looks like in...

    Yep, it's delcared. This is what it looks like in my structure

    struct Customer *ptrnext;
  3. Thread: Question

    by TeenyTig
    Replies
    2
    Views
    770

    Question

    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;
    ...
  4. Replies
    1
    Views
    1,624

    Array of Structures

    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;
    ...
  5. Thread: Question

    by TeenyTig
    Replies
    5
    Views
    1,086

    More code...

    #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);
  6. Thread: Question

    by TeenyTig
    Replies
    5
    Views
    1,086

    Well.

    Well, I already tried that and it gives me warnings of 'puts' being of different formats. So, it didn't work right.
  7. Thread: Question

    by TeenyTig
    Replies
    5
    Views
    1,086

    Question

    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??

    ...
  8. Replies
    5
    Views
    1,655

    Another thing..

    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?
  9. Replies
    5
    Views
    1,655

    Well.

    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...
  10. Replies
    5
    Views
    1,655

    Password Program

    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...
Results 1 to 10 of 10