Blame view

Giac_maj/giac-1.4.9/src/cas2.cc 233 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
  // -*- mode:C++ ; compile-command: "g++ -I.. -g -c cas2.cc" -*-
  #include "first.h"
  #include <string>
  #include "gen.h"
  
  using namespace std;
  using namespace giac;
  
  int main(){
    string s;
    cin >> s;
    cout << eval(gen(s)) << endl;
  }