// --------------------------------------------------------------------------- void Load_Arguments (int argc, char* argv[]) { int i; for (i = 1; i < argc; i++) { char* argument = argv[i]; if (*argument == '-') argument++; if (*argument == '-') argument++; if ((strcmp (argument, "help") == 0) || (strcmp (argument, "-h") == 0)) Usage(); else if (strequ (argument, "color16=" )) Set_Color (&line_info[4].rgb, Find_Char (argument, '=') + 1); else if (strequ (argument, "color8=" )) Set_Color (&line_info[3].rgb, Find_Char (argument, '=') + 1); else if (strequ (argument, "color4=" )) Set_Color (&line_info[2].rgb, Find_Char (argument, '=') + 1); else if (strequ (argument, "color2=" )) Set_Color (&line_info[1].rgb, Find_Char (argument, '=') + 1); else if (strequ (argument, "color1=" )) Set_Color (&line_info[0].rgb, Find_Char (argument, '=') + 1); else if (strequ (argument, "hlines=" )) Set_Int (&horizontal_lines, Find_Char (argument, '=') + 1, "hlines"); else if (strequ (argument, "hspace=" )) Set_Double (&horizontal_space, Find_Char (argument, '=') + 1, "hspace"); else if (strequ (argument, "hstart=" )) Set_Double (&horizontal_start, Find_Char (argument, '=') + 1, "hstart"); else if (strequ (argument, "vlines=" )) Set_Int (&vertical_lines, Find_Char (argument, '=') + 1, "vlines"); else if (strequ (argument, "vspace=" )) Set_Double (&vertical_space, Find_Char (argument, '=') + 1, "vspace"); else if (strequ (argument, "vstart=" )) Set_Double (&vertical_start, Find_Char (argument, '=') + 1, "vstart"); else if (strequ (argument, "width16=" )) Set_Double (&line_info[4].width, Find_Char (argument, '=') + 1, "width10"); else if (strequ (argument, "width8=" )) Set_Double (&line_info[3].width, Find_Char (argument, '=') + 1, "width08"); else if (strequ (argument, "width4=" )) Set_Double (&line_info[2].width, Find_Char (argument, '=') + 1, "width04"); else if (strequ (argument, "width2=" )) Set_Double (&line_info[1].width, Find_Char (argument, '=') + 1, "width02"); else if (strequ (argument, "width1=" )) Set_Double (&line_info[0].width, Find_Char (argument, '=') + 1, "width01"); else if (strequ (argument, "verbose")) verbose = 1; else { fprintf (stderr, PROGRAM_NAME ": *** error: unknown option \"%s\".\n\n", argument); Usage(); } } } // Load_Arguments
void SLT_funt(int* result,int* input1,int* input2){ int i; int a = Set_Int(input1,32); int b = Set_Int(input2,32); for(i=0;i<32;i++){ result[i] = 0; } if(a<b) result[31]=1; }