Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > VSs > VSs__Hello_World__LangDev
diff main.c @ 1:9ad1a6186956
First shot at application-interface
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Wed, 23 May 2012 14:24:18 -0700 |
| parents | 9cf4c84a3091 |
| children | 6643a6f47050 |
line diff
1.1 --- a/main.c Wed May 23 12:39:19 2012 -0700 1.2 +++ b/main.c Wed May 23 14:24:18 2012 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright Oct 24, 2009 OpenSourceStewardshipFoundation.org 1.6 + * Copyright 20012 OpenSourceResearchInstitute.org 1.7 * Licensed under GNU General Public License version 2 1.8 * 1.9 * author seanhalle@yahoo.com 1.10 @@ -8,28 +8,17 @@ 1.11 #include <malloc.h> 1.12 #include <stdlib.h> 1.13 1.14 -#include "Matrix_Mult.h" 1.15 -#include "SSR_Matrix_Mult/SSR_Matrix_Mult.h" 1.16 +#include "VSs__Hello_World/VSs__Hello_World.h" 1.17 1.18 /** 1.19 * 1.20 */ 1.21 int main( int argc, char **argv ) 1.22 - { Matrix *leftMatrix, *rightMatrix, *resultMatrix; 1.23 - ParamBag *paramBag; 1.24 + { 1.25 1.26 DEBUG__printf2(TRUE, "arguments: %s | %s", argv[0], argv[1] ); 1.27 - 1.28 - paramBag = makeParamBag(); 1.29 - readParamFileIntoBag( argv[1], paramBag ); 1.30 - initialize_Input_Matrices_Via( &leftMatrix, &rightMatrix, paramBag ); 1.31 1.32 - resultMatrix = multiplyTheseMatrices( leftMatrix, rightMatrix ); 1.33 - 1.34 - printf("\nresult matrix: \n"); 1.35 - printMatrix( resultMatrix ); 1.36 - 1.37 - fflush(stdin); 1.38 + VSs__Hello_World( ); 1.39 1.40 exit(0); //cleans up 1.41 }
