-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
@echo off | ||
|
||
IF "%1" == "" || "%1" == "1" || "%1" == "array" ( | ||
ECHO Building and running the array approach... | ||
ECHO( | ||
g++ -Ofast PrimeCPP_array.cpp -std=c++17 -lstdc++ -oPrimes_array.exe | ||
.\Primes_array.exe | ||
ECHO( | ||
) | ||
|
||
IF "%1" == "" || "%1" == "2" || "%1" == "mask" ( | ||
ECHO Building and running the mask approach... | ||
ECHO( | ||
g++ -Ofast PrimeCPP_mask.cpp -std=c++17 -lstdc++ -oPrimes_mask.exe | ||
.\Primes_mask.exe | ||
ECHO( | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters