Search:

Type: Posts; User: Sharke

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    4,611

    Declaring a structure definition externally is...

    Declaring a structure definition externally is not the same as initializing a global variable. You still declare the key[] array of structs within main(), so that's not global. You would normally put...
  2. Replies
    16
    Views
    4,611

    I was under the impression that all you had to do...

    I was under the impression that all you had to do was name your source files with a dot c extension and VS would compile them as C automatically - no need for any changes in settings. That's what...
  3. Replies
    16
    Views
    4,611

    So basically the only thing wrong was that he...

    So basically the only thing wrong was that he declared the struct inside the function, meaning its tag couldn't be used in another function? (Forgetting about passing the mysterious 'k' instead of...
Results 1 to 3 of 3