如何在选择专家中按字符串过滤Crystal报表数据库?
#include <vector>
#include <iostream>
unsigned long primes = 0;
int main() {
int number = 1'000'000'000;
std::vector<bool> sieve(number,false);
sieve[0] = sieve[1] = true;
for(int i = 2; i<number; i++) {
if(!sieve[i]) {
++primes;
for (int temp = 2*i; temp<number; temp += i)
sieve[temp] = true;
}
}
std::cout << "found: " << primes << " Primes\n";
return 0;
}
在水晶报表中选择专家后:
string usuario;
Visual Studio Community 2017 + ODBC mysql