Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Included cpp file #39

Open
andr1972 opened this issue Aug 31, 2020 · 0 comments
Open

Included cpp file #39

andr1972 opened this issue Aug 31, 2020 · 0 comments

Comments

@andr1972
Copy link

Is link GMP error because is #include "subset_product.cpp" , I changed to #include "subset_product.h"
and it is:

#pragma once
#include <list>
#include <gmpxx.h>
void randomize_I(gmp_randclass &rr, unsigned int seed);
void gen_I(mpz_class &n, mpz_class &b, int flag, mpz_class** &I, gmp_randclass &rr, unsigned int seed);

void arrcpy(mpz_class* &dest, mpz_class* &source, mpz_class &size);
int product_attack_1(mpz_class* &P,mpz_class &sizeP, mpz_class &Lambda, mpz_class &c, mpz_class** &I,int local_hamming_weight,mpz_class &sizeI, std::list<int*> &sol1, std::list<int*> &sol2, mpz_class &count, int frag, double total_time, char Q_bytes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant