mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2020-06-03, 16:55   #1
sweety439
 
sweety439's Avatar
 
Nov 2016

3·677 Posts
Default 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?
sweety439 is offline   Reply With Quote
Old 2020-06-03, 17:08   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(3,3^1118781+1)/3

5·1,811 Posts
Default

Please. Split. Into separate sentences. Our eyes are bleeding.
Batalov is offline   Reply With Quote
Old 2020-06-03, 18:05   #3
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

2·293 Posts
Default

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).
M344587487 is offline   Reply With Quote
Old 2020-06-08, 08:30   #4
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·43·47 Posts
Default

Quote:
Originally Posted by Batalov View Post
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
kriesel is online now   Reply With Quote
Old 2020-06-08, 16:16   #5
chris2be8
 
chris2be8's Avatar
 
Sep 2009

3×613 Posts
Default

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
chris2be8 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
they used to be called programs... chappy Lounge 15 2012-08-11 21:02
GPU Testing programs nucleon GPU Computing 5 2011-08-21 04:24
nfsnet programs henryzz NFSNET Discussion 2 2007-11-06 14:59
factoring programs henryzz Factoring 6 2007-09-19 13:47
Two programs on same machine? Unregistered Software 14 2004-02-15 16:36

All times are UTC. The time now is 17:30.

Sat Jul 4 17:30:11 UTC 2020 up 101 days, 15:03, 2 users, load averages: 1.73, 1.95, 1.75

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.