adopted that it does compile with Microsoft Visual Studio 2008 Express Edition (see spirit_fcn_test.mak which is an input file for nmake.exe)

This commit is contained in:
2010-08-16 07:31:10 +00:00
parent 5fba77fe72
commit 3be37b2599
7 changed files with 101 additions and 60 deletions

View File

@@ -1,8 +1,7 @@
#include <iostream>
#include <string>
using namespace std;
#include <qstring.h>
#include "PFunctionHandler.h"
//-----------------------------------------------------
@@ -17,7 +16,7 @@ void syntax()
}
//-----------------------------------------------------
void handle_input(vector<QString> &lines)
void handle_input(vector<string> &lines)
{
cout << endl << "will handle input ...";
cout << endl << "you should provide a PAR, a MAP, and a FUNCTION block";
@@ -80,7 +79,7 @@ int main(int argc, char *argv[])
if (inputFile) {
fcnHandler = new PFunctionHandler(argv[2], debug);
} else {
vector<QString> lines;
vector<string> lines;
handle_input(lines);
cout << endl << "lines.size() = " << lines.size();
fcnHandler = new PFunctionHandler(lines);