Nov 21, 2014 at 8:37am Nov 21, 2014 at 8:37am UTC
What's the error message?
Nov 21, 2014 at 8:42am Nov 21, 2014 at 8:42am UTC
"$g++ main.cpp -o demo -lm -pthread -lgmpxx -lgmp -lreadline 2>&1
main.cpp:1:22: fatal error: includes.h: No such file or directory
#include "includes.h"
Nov 21, 2014 at 8:57am Nov 21, 2014 at 8:57am UTC
The compiler can't find the includes.h file. Have you created it? Is it in the same directory as main.cpp?
Nov 21, 2014 at 11:58am Nov 21, 2014 at 11:58am UTC
i dont know how to create it..what should i do?
Nov 21, 2014 at 12:02pm Nov 21, 2014 at 12:02pm UTC
if it doesn't exist and you don't need it then why even bother trying to include it?
Nov 21, 2014 at 12:16pm Nov 21, 2014 at 12:16pm UTC
i need it! that's the point! and it give me that error :| i ask here what should i do to the compiler to compile it :)
Nov 21, 2014 at 12:24pm Nov 21, 2014 at 12:24pm UTC
Are you using an IDE or just the raw command line? You should set them up properly with your compiler. What's your compiler btw?
---edited---
If you were to include those files in your program, you should keep in mind that most compiler only reads(by default) them in the same directory as your main.cpp
Last edited on Nov 21, 2014 at 12:27pm Nov 21, 2014 at 12:27pm UTC