1. I am using VS 8
2. The program I use is
#include <LEDA/system/basic.h>
#include <LEDA/numbers/integer.h>
#include <iostream>
using namespace std;
using namespace leda;
main() {cout << "factorial of 6 is: " << factorial( 6 ) << endl; return 0;}
3.When I try and build I get
1>------ Build started: Project: ThirdLedaFactorial, Configuration: Debug Win32 ------
1>Compiling...
1>Third.cpp
1>f:\mywork\visual studio 2008\projects\thirdledafactorial\thirdledafactorial\third.cpp(7) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Build log was saved at "file://f:\MyWork\Visual Studio 2008\Projects\ThirdLedaFactorial\ThirdLedaFactorial\Debug\BuildLog.htm"
1>ThirdLedaFactorial - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
4. When I change the return type of main to int or integer I get a mistake
5.What am I doing wrong?