Search:

Type: Posts; User: dreamgoat

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,001

    pointers to pointers (**a, for example)

    I have a simple question regarding pointers of the form **a. I have been trying to incorporate some external code into a program of mine, and one of the functions takes on a pointer like this as an...
  2. Thanks, that second one works. I'm not sure how...

    Thanks, that second one works. I'm not sure how to loop it, though, since I want to initialize a bunch of these things at once. Is there another way to write it that lends itself to this context?
  3. trying to initialize an array of structures

    Hi. Simple quesiton, I think: I'm trying to initialize an array of structures, each with an integer and 4 integer pointers. I have written the following:



    main(){
    struct lattice_site{
    ...
Results 1 to 3 of 3