l

J

jarod

#include <include/ZZ.h>
//#include <iostream.h>

NTL_CLIENT



int main()
{
ZZ a, b, c;

// cin >> a;
// cin >> b;
// c = (a+1)*(b+1);
// cout << c << "\n";
return 0;
}
////////////////////////////////////////////////////////
1 D:\CPP\WinNTL-5_4\tests\big_integers.cpp include/ZZ.h: No such file
or directory.
8 D:\CPP\WinNTL-5_4\tests\big_integers.cpp expected `,' or `;' before
"int"
8 D:\CPP\WinNTL-5_4\tests\big_integers.cpp expected `,' or `;' before
"int"
D:\CPP\WinNTL-5_4\tests\Makefile.win [Build Error] [big_integers.o]
Error 1
////////////////////////////////////////////
os win xp
mingw 3.4.2 gcc

d:/Dev-cpp/includes/NTL/ZZ.h
NTL is download from the follow URL:
http://www.shoup.net/ntl/index.html
 
M

mlimber

jarod said:
#include <include/ZZ.h>
//#include <iostream.h>

NTL_CLIENT



int main()
{
ZZ a, b, c;

// cin >> a;
// cin >> b;
// c = (a+1)*(b+1);
// cout << c << "\n";
return 0;
}
////////////////////////////////////////////////////////
1 D:\CPP\WinNTL-5_4\tests\big_integers.cpp include/ZZ.h: No such file
or directory.
8 D:\CPP\WinNTL-5_4\tests\big_integers.cpp expected `,' or `;' before
"int"
8 D:\CPP\WinNTL-5_4\tests\big_integers.cpp expected `,' or `;' before
"int"
D:\CPP\WinNTL-5_4\tests\Makefile.win [Build Error] [big_integers.o]
Error 1
////////////////////////////////////////////
os win xp
mingw 3.4.2 gcc

d:/Dev-cpp/includes/NTL/ZZ.h
NTL is download from the follow URL:
http://www.shoup.net/ntl/index.html

If the file is in d:/Dev-cpp/includes/NTL/ZZ.h, how do you expect the
preprocessor to find it when you tell it that it can be found in some
path that ends with a directory called "include"? Read the manual for
your compiler on how to specify include paths and on the difference
between #include "z.h" and #include <z.h>. (BTW, any compiler-specific
follow-up questions should go to a g++ group. See
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9.)

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top