예제 #1
0
int main(int argc, char **argv)
{
    glutInit(&argc, argv);
    graphWin.initGraphicsWin( 1000, -15.1, 15.1, -4.1, 4.1 );

    return(0);
}
예제 #2
0
int main()
{
	setlocale(LC_ALL, "frs");
    const vector<pair<string,long double> > goldValues = createMapGold();
    const vector<pair<string,long double> > goldInflations = createInflationChart(goldValues);

    graphWin.initGraphicsWin( 1400, 800, 0, goldValues.size(), 0, 3000, goldValues, goldInflations);
    return( 0 );
}
예제 #3
0
파일: main.cpp 프로젝트: Edstr/AlgoNum
int main(int argc, char *argv[])
{
    cout << "Choisir une fonction a afficher : " << endl;
    cout << "1) x^5 + 5*x^3 + 2*x" << endl;
    cout << "2) x/(1-x^2)" << endl;
    cout << "x) Quitter" << endl << endl;
    cout << "Choix : ";
    cin >> res1;

    cout << "Choix de la derivee:" << endl;
    cout << "1) derivee premiere" << endl;
    cout << "2) derivee seconde" << endl;
    cout << "Choix : ";
    cin >> res2;

    graphWin.initGraphicsWin(1000, X_MIN, X_MAX, Y_MIN, Y_MAX);

    return 0;
}
예제 #4
0
int main(int argc, char **argv)
    {
    graphWin.initGraphicsWin(1000, LEFT, RIGHT, BOTTOM, TOP);
    mainFunction();
    return 0;
    }
예제 #5
0
int main(int argc, char **argv)
{
    graphWin.initGraphicsWin( 1000, LEFTLIMIT, RIGHTLIMIT, MINHEIGHT, MAXHEIGHT );
    mainFunction();
    return(0);
}