Search:

Type: Posts; User: circuits2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,007

    Thank you all for the quick replies!

    Thank you all for the quick replies!
  2. Replies
    8
    Views
    1,007

    Does this carry through if there is a structure...

    Does this carry through if there is a structure within a structure?



    typedef struct{
    int a;
    } myStruct2;

    typedef struct{
    myStruct2 struct2;
  3. Replies
    8
    Views
    1,007

    Structure.Element or Structure->Element?

    What is the difference between the two methods of accessing an element within a structure and when is each appropriate?


    typedef struct{
    int a;
    int b;
    } myStruct;

    int main(void)
    {
  4. First thing that jumps out at me: main()...

    First thing that jumps out at me:

    main() should be "int main (void)" and you should have a return statement at the end of main.

    also:

    scanf("%d", &answer);

    you forgot the &
  5. Replies
    3
    Views
    1,333

    I don't see where you declared "rate". Can you...

    I don't see where you declared "rate". Can you post your actual code?
Results 1 to 5 of 5