[ create a new paste ] login | about

Link: http://codepad.org/dNnn3wPt    [ raw code | fork ]

C, pasted on Nov 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
struct makeFileSets {
       char target[50];                     // array of targets
       char sources[80][50];                    // an array of sources
       char commands[80][50];                   // an array of command lines (non seperated)
       int sourcesTag;                          // current number of sources
       int commandsTag;                     // current number of command lines
       struct commandLineSets {
           int makeFileNum;             // represets an index for the makefile they corresond to
           int numVariables;                // the # of variables
           int numOptions;                  // the # of options
           int numCommands;             // the # of commands
           char variables[80][50];          // represents variables in each command line
           char options[20][20];            // represents option tags in each command line
           char commands[80][50];           // represents the commands from the command line
        } myCommands[50];
   };

int main() {
  struct makeFileSets mySet;
  return 0;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: