mersenneforum.org How to run these C++ programs?
 Register FAQ Search Today's Posts Mark Forums Read

 2020-06-03, 16:55 #1 sweety439     "99(4^34019)99 palind" Nov 2016 (P^81993)SZ base 36 41·71 Posts How to run these C++ programs? I have Dev-C++, and I want to find the generalized minimal prime using the codes in https://github.com/RaymondDevillers/...ee/master/code, however, there is many programs, and I copied the first program (https://github.com/RaymondDevillers/...ter/code/A2.cc) to my C++ code, but the C++ program cannot run, I want to find the minimal primes to bases 2<=b<=64, but I do not know how to run these programs, can someone help me?
 2020-06-03, 17:08 #2 Batalov     "Serge" Mar 2008 Phi(4,2^7658614+1)/2 2·47·101 Posts Please. Split. Into separate sentences. Our eyes are bleeding.
 2020-06-03, 18:05 #3 M344587487     "Composite as Heck" Oct 2017 33916 Posts A2.cc compiles with g++. It does something when you give it commandline arguments, but it's too cryptic to tell what the format is without understanding what the program does. If your problem is compiling, try g++ through mingw (or whatever the recommended cross-compilation environment is now, probably WSL2 if you're on windows 10).
2020-06-08, 08:30   #4
kriesel

"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,417 Posts

Quote:
 Originally Posted by Batalov Please. Split. Into separate sentences.
Indeed. That compound sentence is properly a paragraph or two. I count 8 sentences, that if better organized might be 7. Dead giveaways of splicing sentences into one compound include but, and, however, and semicolon (or where a semicolon belongs but a comma was used), or the inability to speak a sentence aloud comfortably using a single breath.

Such compound sentences sometimes arise when the writer is too full of caffeine or adrenaline, or perhaps other substances, or too low on time or rest. They are also sometimes associated with various clinical mental disorders. I have no idea what if any of that applies to the writer.

Compare the above to the following.
Code:
Indeed, that compound sentence is properly a paragraph or two, I count 8
sentences, that if better organized might be 7; dead giveaways of splicing
sentences into one compound include but, and, however, and semicolon (or where
a semicolon belongs but a comma was used), or the inability to speak a sentence
aloud comfortably using a single breath, and such compound sentences sometimes
arise when the writer is too full of  caffeine or adrenaline, or perhaps other
substances, or too low on time  or rest, they are also sometimes associated with
various clinical mental  disorders, but I have no idea what if any of that
applies to the original poster.

Last fiddled with by kriesel on 2020-06-08 at 08:51

 2020-06-08, 16:16 #5 chris2be8     Sep 2009 22·523 Posts One way to tell if someone has not had to support other computer users is when they ask for help without giving any details of what went wrong. Output from trying to run the programs would be a much better start. And do they compile cleanly? Chris

 Similar Threads Thread Thread Starter Forum Replies Last Post chappy Lounge 15 2012-08-11 21:02 nucleon GPU Computing 5 2011-08-21 04:24 henryzz NFSNET Discussion 2 2007-11-06 14:59 henryzz Factoring 6 2007-09-19 13:47 Unregistered Software 14 2004-02-15 16:36

All times are UTC. The time now is 16:25.

Sat Jul 31 16:25:53 UTC 2021 up 8 days, 10:54, 0 users, load averages: 1.71, 1.86, 1.67