From 1574b709577f30e038454b80bc01518aab9aab3c Mon Sep 17 00:00:00 2001 From: Jason Jones Date: Sun, 16 May 2021 11:16:57 -0700 Subject: [PATCH] partial p7, p1 complete p4 --- .../nbproject/private/private.xml | 13 -- .../nbproject/private/private.xml | 13 -- .../.dep.inc | 0 .../Makefile | 0 .../dist/Debug/Cygwin-Windows/cis17cmtp1.1 | Bin 189541 -> 184257 bytes cis17cMtP1.1/main.cpp | 89 ++++++++++++ .../nbproject/Makefile-Debug.mk | 6 +- .../nbproject/Makefile-Release.mk | 6 +- .../nbproject/Makefile-impl.mk | 2 +- .../nbproject/Makefile-variables.mk | 16 +-- .../nbproject/Package-Debug.bash | 12 +- .../nbproject/Package-Release.bash | 12 +- .../nbproject/configurations.xml | 0 .../nbproject/private/Makefile-variables.mk | 0 .../private/c_standard_headers_indexer.c | 0 .../nbproject/private/configurations.xml | 0 .../private/cpp_standard_headers_indexer.cpp | 0 .../nbproject/private/launcher.properties | 0 cis17cMtP1.1/nbproject/private/private.xml | 7 + .../nbproject/project.xml | 4 +- cis17cMtP1/.dep.inc | 5 + {cis17cMidTermP4_1.1 => cis17cMtP1}/Makefile | 0 cis17cMtP1/main.cpp | 80 +++++++++++ .../nbproject/Makefile-Debug.mk | 6 +- .../nbproject/Makefile-Release.mk | 6 +- .../nbproject/Makefile-impl.mk | 2 +- .../nbproject/Makefile-variables.mk | 16 +-- .../nbproject/Package-Debug.bash | 12 +- .../nbproject/Package-Release.bash | 12 +- .../nbproject/configurations.xml | 0 .../nbproject/private/Makefile-variables.mk | 0 .../private/c_standard_headers_indexer.c | 0 .../nbproject/private/configurations.xml | 0 .../private/cpp_standard_headers_indexer.cpp | 0 .../nbproject/private/launcher.properties | 0 cis17cMtP1/nbproject/private/private.xml | 7 + .../nbproject/project.xml | 2 +- cis17cMtP1_1/.dep.inc | 5 + cis17cMtP1_1/main.cpp | 77 ++++++++++ cis17cMtP4.1/Makefile | 128 +++++++++++++++++ .../main.cpp | 0 cis17cMtP4.1/nbproject/Makefile-Debug.mk | 83 +++++++++++ cis17cMtP4.1/nbproject/Makefile-Release.mk | 83 +++++++++++ cis17cMtP4.1/nbproject/Makefile-impl.mk | 133 +++++++++++++++++ cis17cMtP4.1/nbproject/Makefile-variables.mk | 35 +++++ cis17cMtP4.1/nbproject/Package-Debug.bash | 76 ++++++++++ cis17cMtP4.1/nbproject/Package-Release.bash | 76 ++++++++++ cis17cMtP4.1/nbproject/configurations.xml | 66 +++++++++ .../nbproject/private/Makefile-variables.mk | 7 + .../private/c_standard_headers_indexer.c | 75 ++++++++++ .../nbproject/private/configurations.xml | 72 ++++++++++ .../private/cpp_standard_headers_indexer.cpp | 135 ++++++++++++++++++ .../nbproject/private/launcher.properties | 42 ++++++ cis17cMtP4.1/nbproject/private/private.xml | 7 + cis17cMtP4.1/nbproject/project.xml | 28 ++++ cis17cMtP4/Makefile | 128 +++++++++++++++++ cis17cMtP4/main.cpp | 109 ++++++++++++++ cis17cMtP4/nbproject/Makefile-Debug.mk | 83 +++++++++++ cis17cMtP4/nbproject/Makefile-Release.mk | 83 +++++++++++ cis17cMtP4/nbproject/Makefile-impl.mk | 133 +++++++++++++++++ cis17cMtP4/nbproject/Makefile-variables.mk | 35 +++++ cis17cMtP4/nbproject/Package-Debug.bash | 76 ++++++++++ cis17cMtP4/nbproject/Package-Release.bash | 76 ++++++++++ cis17cMtP4/nbproject/configurations.xml | 66 +++++++++ .../nbproject/private/Makefile-variables.mk | 7 + .../private/c_standard_headers_indexer.c | 75 ++++++++++ .../nbproject/private/configurations.xml | 72 ++++++++++ .../private/cpp_standard_headers_indexer.cpp | 135 ++++++++++++++++++ .../nbproject/private/launcher.properties | 42 ++++++ cis17cMtP4/nbproject/private/private.xml | 7 + cis17cMtP4/nbproject/project.xml | 28 ++++ 71 files changed, 2528 insertions(+), 83 deletions(-) delete mode 100644 cis17cMidTermP4_1.0/nbproject/private/private.xml delete mode 100644 cis17cMidTermP4_1.1/nbproject/private/private.xml rename {cis17cMidTermP4_1.1 => cis17cMtP1.1}/.dep.inc (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/Makefile (100%) rename cis17cMidTermP4_1.1/dist/Debug/Cygwin-Windows/cis17cmidtermp4_1.0 => cis17cMtP1.1/dist/Debug/Cygwin-Windows/cis17cmtp1.1 (67%) create mode 100644 cis17cMtP1.1/main.cpp rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/Makefile-Debug.mk (88%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/Makefile-Release.mk (88%) rename {cis17cMidTermP4_1.1 => cis17cMtP1.1}/nbproject/Makefile-impl.mk (99%) rename {cis17cMidTermP4_1.1 => cis17cMtP1.1}/nbproject/Makefile-variables.mk (72%) rename {cis17cMidTermP4_1.1 => cis17cMtP1.1}/nbproject/Package-Debug.bash (83%) rename {cis17cMidTermP4_1.1 => cis17cMtP1.1}/nbproject/Package-Release.bash (83%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/configurations.xml (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/private/Makefile-variables.mk (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/private/c_standard_headers_indexer.c (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/private/configurations.xml (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/private/cpp_standard_headers_indexer.cpp (100%) rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/private/launcher.properties (100%) create mode 100644 cis17cMtP1.1/nbproject/private/private.xml rename {cis17cMidTermP4_1.0 => cis17cMtP1.1}/nbproject/project.xml (95%) create mode 100644 cis17cMtP1/.dep.inc rename {cis17cMidTermP4_1.1 => cis17cMtP1}/Makefile (100%) create mode 100644 cis17cMtP1/main.cpp rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/Makefile-Debug.mk (88%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/Makefile-Release.mk (88%) rename {cis17cMidTermP4_1.0 => cis17cMtP1}/nbproject/Makefile-impl.mk (99%) rename {cis17cMidTermP4_1.0 => cis17cMtP1}/nbproject/Makefile-variables.mk (72%) rename {cis17cMidTermP4_1.0 => cis17cMtP1}/nbproject/Package-Debug.bash (83%) rename {cis17cMidTermP4_1.0 => cis17cMtP1}/nbproject/Package-Release.bash (83%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/configurations.xml (100%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/private/Makefile-variables.mk (100%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/private/c_standard_headers_indexer.c (100%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/private/configurations.xml (100%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/private/cpp_standard_headers_indexer.cpp (100%) rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/private/launcher.properties (100%) create mode 100644 cis17cMtP1/nbproject/private/private.xml rename {cis17cMidTermP4_1.1 => cis17cMtP1}/nbproject/project.xml (95%) create mode 100644 cis17cMtP1_1/.dep.inc create mode 100644 cis17cMtP1_1/main.cpp create mode 100644 cis17cMtP4.1/Makefile rename {cis17cMidTermP4_1.1 => cis17cMtP4.1}/main.cpp (100%) create mode 100644 cis17cMtP4.1/nbproject/Makefile-Debug.mk create mode 100644 cis17cMtP4.1/nbproject/Makefile-Release.mk create mode 100644 cis17cMtP4.1/nbproject/Makefile-impl.mk create mode 100644 cis17cMtP4.1/nbproject/Makefile-variables.mk create mode 100644 cis17cMtP4.1/nbproject/Package-Debug.bash create mode 100644 cis17cMtP4.1/nbproject/Package-Release.bash create mode 100644 cis17cMtP4.1/nbproject/configurations.xml create mode 100644 cis17cMtP4.1/nbproject/private/Makefile-variables.mk create mode 100644 cis17cMtP4.1/nbproject/private/c_standard_headers_indexer.c create mode 100644 cis17cMtP4.1/nbproject/private/configurations.xml create mode 100644 cis17cMtP4.1/nbproject/private/cpp_standard_headers_indexer.cpp create mode 100644 cis17cMtP4.1/nbproject/private/launcher.properties create mode 100644 cis17cMtP4.1/nbproject/private/private.xml create mode 100644 cis17cMtP4.1/nbproject/project.xml create mode 100644 cis17cMtP4/Makefile create mode 100644 cis17cMtP4/main.cpp create mode 100644 cis17cMtP4/nbproject/Makefile-Debug.mk create mode 100644 cis17cMtP4/nbproject/Makefile-Release.mk create mode 100644 cis17cMtP4/nbproject/Makefile-impl.mk create mode 100644 cis17cMtP4/nbproject/Makefile-variables.mk create mode 100644 cis17cMtP4/nbproject/Package-Debug.bash create mode 100644 cis17cMtP4/nbproject/Package-Release.bash create mode 100644 cis17cMtP4/nbproject/configurations.xml create mode 100644 cis17cMtP4/nbproject/private/Makefile-variables.mk create mode 100644 cis17cMtP4/nbproject/private/c_standard_headers_indexer.c create mode 100644 cis17cMtP4/nbproject/private/configurations.xml create mode 100644 cis17cMtP4/nbproject/private/cpp_standard_headers_indexer.cpp create mode 100644 cis17cMtP4/nbproject/private/launcher.properties create mode 100644 cis17cMtP4/nbproject/private/private.xml create mode 100644 cis17cMtP4/nbproject/project.xml diff --git a/cis17cMidTermP4_1.0/nbproject/private/private.xml b/cis17cMidTermP4_1.0/nbproject/private/private.xml deleted file mode 100644 index 8e2c70d..0000000 --- a/cis17cMidTermP4_1.0/nbproject/private/private.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - 1 - 0 - - - - - file:/C:/Users/Jason/OneDrive/Documents/GitHub/Cis17c2021/cis17cMidTermP4_1.0/main.cpp - - - diff --git a/cis17cMidTermP4_1.1/nbproject/private/private.xml b/cis17cMidTermP4_1.1/nbproject/private/private.xml deleted file mode 100644 index 3aa8700..0000000 --- a/cis17cMidTermP4_1.1/nbproject/private/private.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - 1 - 0 - - - - - file:/C:/Users/Jason/OneDrive/Documents/GitHub/Cis17c2021/cis17cMidTermP4_1.1/main.cpp - - - diff --git a/cis17cMidTermP4_1.1/.dep.inc b/cis17cMtP1.1/.dep.inc similarity index 100% rename from cis17cMidTermP4_1.1/.dep.inc rename to cis17cMtP1.1/.dep.inc diff --git a/cis17cMidTermP4_1.0/Makefile b/cis17cMtP1.1/Makefile similarity index 100% rename from cis17cMidTermP4_1.0/Makefile rename to cis17cMtP1.1/Makefile diff --git a/cis17cMidTermP4_1.1/dist/Debug/Cygwin-Windows/cis17cmidtermp4_1.0 b/cis17cMtP1.1/dist/Debug/Cygwin-Windows/cis17cmtp1.1 similarity index 67% rename from cis17cMidTermP4_1.1/dist/Debug/Cygwin-Windows/cis17cmidtermp4_1.0 rename to cis17cMtP1.1/dist/Debug/Cygwin-Windows/cis17cmtp1.1 index 68f398cf2f5469144ab1e1506483b614e36d4714..583bec4c4f1bc815521d2261e02f5a3c561c5c7f 100644 GIT binary patch delta 29106 zcmc(|d301&);E04tyHC|ZidQS2_dP35W<{52mu+w5DiKoj3T0ykby)pkyMx*3c-Oq z5d=%Qil_(9-{0QnR;r3T-?zR$zO~+3>()Md zJp1f3+;jImseEx*f8h>&+clXkVPAY_wfG-RxGh4Q5<`TpX@f+J5F&s3p3%-SP;ElA zf2(c(b4l_BA-<0SYnu=!304VldV5ZCRGAQ&fugA4TGf@td-rQ8+Y22=>*Jck;e?P2 zS4?2198}~%NyC+hE9_Gyst=9osH^eS2w^9)g}6|uNDll%W*3#AL|PfR!ail9uxwPj z(mG9aIKy(8fhk&s?M5P12ja8=fpuDpY~P-f8rY@9#IgSyz@rL0fhV+V$2Jqo4;<4n zN~)=@-MGk;5xBxWWx_RmbkPK+tg=CHKZy1z1XULLXKw9>;`V za{!Kmp9{D+a0OJ?BF@5vFRFFznW|;eM~|nVz-!`rRHul`0`FL|9fiQ`pl&>n74;Vx zD2pn%!4|!&3zU@$0d^}cu^ir%l- z66=D|zkO{9)Y|g=)!mh@ita`3lW(E^r@#;=bD`S(!bu(Awes)9V=qTNC5|K}oqPil z72V}0Un@UBa<7#iC*Eu2M|WQ%fpPEkRG#Qr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5Y+=R02PBLthy8! zGALa99AI`wVU_`t7A4i1j5edj4~Ih^DZ&-@$4^O7l!*@w;d$G_gkAi}5S|Qct0Sy= zK?+_k+Z?6(M2kr&QvaF?oEFviE#L|JBls_^)J4^G6L`9!q|O5-xMWaqaV;C5MFSTZ4&`b4$e+3W{ zLNG-BE+Oh?4*ZBvKws(lw?9&4;M-L{;8&{t(MPKOp>6n=a6%u~`TzU{t?#wXz!$V4 z+=l@D;l47)mHrnRjqm$B*gyVgTiDbe=yPmF@N;lv><^?fs4~J>>iFO5ScAR;`)_}{ zj*b0?I{zJ&&fxd(%u}Dz&NV{aE%+0XlFfW#@DJnnhYerjpM3%Dd*heFx9bNp(TMzX z;Ie=JBX$4K#0W3`vkqbW+mR4i`G2PQ|E3tDQ7|4vM9crs{UY38gESle?MEFWjs6e% zhw)Fo7a8H{ANWg@;knYlWGO5VKd^82|7Vlhe>|u0XguW8i~lgH)f^vT=zkl5M)>27 z)UgNa9~3SBb+8Q4zvw@RnSUHI{eOB&i?{V3`<1p__OITrJs{1Z-)J|*;WxSM_>=+m zNz9$U!JERr|BZGo{xK`ysQ7;WbJ_{geB^np$sGHFHpyWT`cHd7TPSVVOEepv#XA89 aU)1I@4bMsD#Fw +#include +#include +#include +using namespace std; + + +//Function Prototypes +void fillAry(int [],int,int,int); +int binSrch(int [],int, int); + + +int main(int argc, char** argv) +{ + //Set the random number seed + srand(static_cast(time(0))); + + //Declare all Variables Here + const int SIZE=80000000; + int *array = new int[SIZE]; + int lowRng=0,highRng=SIZE; + int loopCnt = 100000; + int answer = 0; + //double beg = time(0); + //double endd = time(0); + clock_t t; + + //Finish initializing the rest of the array + fillAry(array,SIZE,highRng,lowRng); + + //Start time + t = clock(); + //beg = time(0); + //auto start = high_resolution_clock::now(); + + //Test the binary search by looping randomly chosen values + for(int i = 0; i < loopCnt; ++i) + { + int value=rand()%(highRng-lowRng+1)+lowRng; + answer += binSrch(array,SIZE,value); + } + + // End time + t = clock() - t; + double time_taken = ((double)t)/CLOCKS_PER_SEC; + //endd = time(0); + //auto stop = high_resolution_clock::now(); + //auto duration = duration_cast(stop - start); + + //Output + cout<<"Array Size: "<a[middle])lowEnd=middle+1; + else highEnd=middle-1; + }while(lowEnd<=highEnd); + + //Not found + return ops; +} + +void fillAry(int a[],int n,int hr,int lr) +{ + for(int indx=0;indx + + + 1 + 0 + + diff --git a/cis17cMidTermP4_1.0/nbproject/project.xml b/cis17cMtP1.1/nbproject/project.xml similarity index 95% rename from cis17cMidTermP4_1.0/nbproject/project.xml rename to cis17cMtP1.1/nbproject/project.xml index 09d4d01..755cacd 100644 --- a/cis17cMidTermP4_1.0/nbproject/project.xml +++ b/cis17cMtP1.1/nbproject/project.xml @@ -3,10 +3,11 @@ org.netbeans.modules.cnd.makeproject - cis17cMidTermP4_1.0 + cis17cMtP1.1 cpp + UTF-8 @@ -19,7 +20,6 @@ 1 - UTF-8 false diff --git a/cis17cMtP1/.dep.inc b/cis17cMtP1/.dep.inc new file mode 100644 index 0000000..38ba445 --- /dev/null +++ b/cis17cMtP1/.dep.inc @@ -0,0 +1,5 @@ +# This code depends on make tool being used +DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES})) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/cis17cMidTermP4_1.1/Makefile b/cis17cMtP1/Makefile similarity index 100% rename from cis17cMidTermP4_1.1/Makefile rename to cis17cMtP1/Makefile diff --git a/cis17cMtP1/main.cpp b/cis17cMtP1/main.cpp new file mode 100644 index 0000000..d26e0d6 --- /dev/null +++ b/cis17cMtP1/main.cpp @@ -0,0 +1,80 @@ +//Libraries +#include +#include +#include +#include + +using namespace std; +using namespace chrono; + +//Function Prototypes +void fillAry(int [],int,int,int); +int linSrch(int [],int, int); + + +int main(int argc, char** argv) +{ + //Set the random number seed + srand(static_cast(time(0))); + + //Declare all Variables Here + const int SIZE=1000000; + int *array = new int[SIZE]; + int lowRng=0,highRng=SIZE; + int loopCnt = 10000; + int answer = 0; + double beg = time(0); + double endd = time(0); + + //Finish initializing the rest of the array + fillAry(array,SIZE,highRng,lowRng); + + + // Start time + beg = time(0); + auto start = high_resolution_clock::now(); + + //Test the linear search by looping randomly chosen values + for(int i = 0; i < loopCnt; ++i) + { + int value=rand()%(highRng-lowRng+1)+lowRng; + answer += linSrch(array,SIZE,value); + } + // End time + endd = time(0); + auto stop = high_resolution_clock::now(); + auto duration = duration_cast(stop - start); + + //Output results + cout<<"Array Size: "< + + + 1 + 0 + + diff --git a/cis17cMidTermP4_1.1/nbproject/project.xml b/cis17cMtP1/nbproject/project.xml similarity index 95% rename from cis17cMidTermP4_1.1/nbproject/project.xml rename to cis17cMtP1/nbproject/project.xml index dac2874..082a345 100644 --- a/cis17cMidTermP4_1.1/nbproject/project.xml +++ b/cis17cMtP1/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.cnd.makeproject - cis17cMidTermP4_1.1 + cis17cMtP1 cpp diff --git a/cis17cMtP1_1/.dep.inc b/cis17cMtP1_1/.dep.inc new file mode 100644 index 0000000..38ba445 --- /dev/null +++ b/cis17cMtP1_1/.dep.inc @@ -0,0 +1,5 @@ +# This code depends on make tool being used +DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES})) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/cis17cMtP1_1/main.cpp b/cis17cMtP1_1/main.cpp new file mode 100644 index 0000000..a9d9986 --- /dev/null +++ b/cis17cMtP1_1/main.cpp @@ -0,0 +1,77 @@ +//Libraries +#include +#include +#include +#include + +using namespace std; +using namespace chrono; + +//Function Prototypes +void fillAry(int [],int,int,int); +int linSrch(int [],int, int); + + +int main(int argc, char** argv) +{ + //Set the random number seed + srand(static_cast(time(0))); + + //Declare all Variables Here + const int SIZE=1000000; + int *array = new int[SIZE]; + int lowRng=0,highRng=SIZE; + int loops = 10000; + int answer = 0; + double beg = time(0); + double endd = time(0); + + //Fill array + fillAry(array,SIZE,highRng,lowRng); + + + // Start time + beg = time(0); + auto start = high_resolution_clock::now(); + for(int i = 0; i < loops; ++i) + { + int value=rand()%(highRng-lowRng+1)+lowRng; + answer += linSrch(array,SIZE,value); + } + // End time + endd = time(0); + auto stop = high_resolution_clock::now(); + auto duration = duration_cast(stop - start); + + //Output results + cout<<"Size: "< Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre .validate-impl .depcheck-impl + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf + + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + @#echo "=> Running $@..." + for CONF in ${ALLCONFS}; \ + do \ + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \ + done + +# all +.all-impl: .all-pre .depcheck-impl + @#echo "=> Running $@..." + for CONF in ${ALLCONFS}; \ + do \ + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \ + done + +# build tests +.build-tests-impl: .build-impl .build-tests-pre + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf + +# run tests +.test-impl: .build-tests-impl .test-pre + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf + +# dependency checking support +.depcheck-impl: + @echo "# This code depends on make tool being used" >.dep.inc + @if [ -n "${MAKE_VERSION}" ]; then \ + echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \ + echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ + echo "include \$${DEPFILES}" >>.dep.inc; \ + echo "endif" >>.dep.inc; \ + else \ + echo ".KEEP_STATE:" >>.dep.inc; \ + echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ + fi + +# configuration validation +.validate-impl: + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ + then \ + echo ""; \ + echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \ + echo "See 'make help' for details."; \ + echo "Current directory: " `pwd`; \ + echo ""; \ + fi + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ + then \ + exit 1; \ + fi + + +# help +.help-impl: .help-pre + @echo "This makefile supports the following configurations:" + @echo " ${ALLCONFS}" + @echo "" + @echo "and the following targets:" + @echo " build (default target)" + @echo " clean" + @echo " clobber" + @echo " all" + @echo " help" + @echo "" + @echo "Makefile Usage:" + @echo " make [CONF=] [SUB=no] build" + @echo " make [CONF=] [SUB=no] clean" + @echo " make [SUB=no] clobber" + @echo " make [SUB=no] all" + @echo " make help" + @echo "" + @echo "Target 'build' will build a specific configuration and, unless 'SUB=no'," + @echo " also build subprojects." + @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no'," + @echo " also clean subprojects." + @echo "Target 'clobber' will remove all built files from all configurations and," + @echo " unless 'SUB=no', also from subprojects." + @echo "Target 'all' will will build all configurations and, unless 'SUB=no'," + @echo " also build subprojects." + @echo "Target 'help' prints this message." + @echo "" + diff --git a/cis17cMtP4.1/nbproject/Makefile-variables.mk b/cis17cMtP4.1/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..4f370c6 --- /dev/null +++ b/cis17cMtP4.1/nbproject/Makefile-variables.mk @@ -0,0 +1,35 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +CND_BUILDDIR=build +CND_DISTDIR=dist +# Debug configuration +CND_PLATFORM_Debug=Cygwin-Windows +CND_ARTIFACT_DIR_Debug=dist/Debug/Cygwin-Windows +CND_ARTIFACT_NAME_Debug=cis17cmtp4 +CND_ARTIFACT_PATH_Debug=dist/Debug/Cygwin-Windows/cis17cmtp4 +CND_PACKAGE_DIR_Debug=dist/Debug/Cygwin-Windows/package +CND_PACKAGE_NAME_Debug=cis17cmtp4.tar +CND_PACKAGE_PATH_Debug=dist/Debug/Cygwin-Windows/package/cis17cmtp4.tar +# Release configuration +CND_PLATFORM_Release=Cygwin-Windows +CND_ARTIFACT_DIR_Release=dist/Release/Cygwin-Windows +CND_ARTIFACT_NAME_Release=cis17cmtp4 +CND_ARTIFACT_PATH_Release=dist/Release/Cygwin-Windows/cis17cmtp4 +CND_PACKAGE_DIR_Release=dist/Release/Cygwin-Windows/package +CND_PACKAGE_NAME_Release=cis17cmtp4.tar +CND_PACKAGE_PATH_Release=dist/Release/Cygwin-Windows/package/cis17cmtp4.tar +# +# include compiler specific variables +# +# dmake command +ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \ + (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk) +# +# gmake command +.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)) +# +include nbproject/private/Makefile-variables.mk diff --git a/cis17cMtP4.1/nbproject/Package-Debug.bash b/cis17cMtP4.1/nbproject/Package-Debug.bash new file mode 100644 index 0000000..50df12d --- /dev/null +++ b/cis17cMtP4.1/nbproject/Package-Debug.bash @@ -0,0 +1,76 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=Cygwin-Windows +CND_CONF=Debug +CND_DISTDIR=dist +CND_BUILDDIR=build +CND_DLIB_EXT=dll +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 +OUTPUT_BASENAME=cis17cmtp4 +PACKAGE_TOP_DIR=cis17cmtp4/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/cis17cmtp4/bin" +copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/cis17cMtP4.1/nbproject/Package-Release.bash b/cis17cMtP4.1/nbproject/Package-Release.bash new file mode 100644 index 0000000..227d883 --- /dev/null +++ b/cis17cMtP4.1/nbproject/Package-Release.bash @@ -0,0 +1,76 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=Cygwin-Windows +CND_CONF=Release +CND_DISTDIR=dist +CND_BUILDDIR=build +CND_DLIB_EXT=dll +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 +OUTPUT_BASENAME=cis17cmtp4 +PACKAGE_TOP_DIR=cis17cmtp4/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/cis17cmtp4/bin" +copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/cis17cMtP4.1/nbproject/configurations.xml b/cis17cMtP4.1/nbproject/configurations.xml new file mode 100644 index 0000000..3175ba1 --- /dev/null +++ b/cis17cMtP4.1/nbproject/configurations.xml @@ -0,0 +1,66 @@ + + + + + + + + + main.cpp + + + + + Makefile + + + Makefile + + + + default + true + false + + + + + + + + + default + true + false + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + + + diff --git a/cis17cMtP4.1/nbproject/private/Makefile-variables.mk b/cis17cMtP4.1/nbproject/private/Makefile-variables.mk new file mode 100644 index 0000000..a64183e --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/Makefile-variables.mk @@ -0,0 +1,7 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +# Debug configuration +# Release configuration diff --git a/cis17cMtP4.1/nbproject/private/c_standard_headers_indexer.c b/cis17cMtP4.1/nbproject/private/c_standard_headers_indexer.c new file mode 100644 index 0000000..c2548d2 --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/c_standard_headers_indexer.c @@ -0,0 +1,75 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. + * + * Oracle and Java are registered trademarks of Oracle and/or its affiliates. + * Other names may be trademarks of their respective owners. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common + * Development and Distribution License("CDDL") (collectively, the + * "License"). You may not use this file except in compliance with the + * License. You can obtain a copy of the License at + * http://www.netbeans.org/cddl-gplv2.html + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + * specific language governing permissions and limitations under the + * License. When distributing the software, include this License Header + * Notice in each file and include the License file at + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the GPL Version 2 section of the License file that + * accompanied this code. If applicable, add the following below the + * License Header, with the fields enclosed by brackets [] replaced by + * your own identifying information: + * "Portions Copyrighted [year] [name of copyright owner]" + * + * If you wish your version of this file to be governed by only the CDDL + * or only the GPL Version 2, indicate your decision by adding + * "[Contributor] elects to include this software in this distribution + * under the [CDDL or GPL Version 2] license." If you do not indicate a + * single choice of license, a recipient has the option to distribute + * your version of this file under either the CDDL, the GPL Version 2 or + * to extend the choice of license to its licensees as provided above. + * However, if you add GPL Version 2 code and therefore, elected the GPL + * Version 2 license, then the option applies only if the new code is + * made subject to such option by the copyright holder. + * + * Contributor(s): + */ + +// List of standard headers was taken in http://en.cppreference.com/w/c/header + +#include // Conditionally compiled macro that compares its argument to zero +#include // Functions to determine the type contained in character data +#include // Macros reporting error conditions +#include // Limits of float types +#include // Sizes of basic types +#include // Localization utilities +#include // Common mathematics functions +#include // Nonlocal jumps +#include // Signal handling +#include // Variable arguments +#include // Common macro definitions +#include // Input/output +#include // String handling +#include // General utilities: memory management, program utilities, string conversions, random numbers +#include // Time/date utilities +#include // (since C95) Alternative operator spellings +#include // (since C95) Extended multibyte and wide character utilities +#include // (since C95) Wide character classification and mapping utilities +#ifdef _STDC_C99 +#include // (since C99) Complex number arithmetic +#include // (since C99) Floating-point environment +#include // (since C99) Format conversion of integer types +#include // (since C99) Boolean type +#include // (since C99) Fixed-width integer types +#include // (since C99) Type-generic math (macros wrapping math.h and complex.h) +#endif +#ifdef _STDC_C11 +#include // (since C11) alignas and alignof convenience macros +#include // (since C11) Atomic types +#include // (since C11) noreturn convenience macros +#include // (since C11) Thread library +#include // (since C11) UTF-16 and UTF-32 character utilities +#endif diff --git a/cis17cMtP4.1/nbproject/private/configurations.xml b/cis17cMtP4.1/nbproject/private/configurations.xml new file mode 100644 index 0000000..3716ba7 --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/configurations.xml @@ -0,0 +1,72 @@ + + + Makefile + + + + localhost + 3 + + + + + + + + + + + + + + + gdb + + + + "${OUTPUT_PATH}" + + "${OUTPUT_PATH}" + + true + 0 + 0 + + + + + + + localhost + 3 + + + + + + + + + + + + + + + gdb + + + + "${OUTPUT_PATH}" + + "${OUTPUT_PATH}" + + true + 0 + 0 + + + + + + diff --git a/cis17cMtP4.1/nbproject/private/cpp_standard_headers_indexer.cpp b/cis17cMtP4.1/nbproject/private/cpp_standard_headers_indexer.cpp new file mode 100644 index 0000000..04f6fa6 --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/cpp_standard_headers_indexer.cpp @@ -0,0 +1,135 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. + * + * Oracle and Java are registered trademarks of Oracle and/or its affiliates. + * Other names may be trademarks of their respective owners. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common + * Development and Distribution License("CDDL") (collectively, the + * "License"). You may not use this file except in compliance with the + * License. You can obtain a copy of the License at + * http://www.netbeans.org/cddl-gplv2.html + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + * specific language governing permissions and limitations under the + * License. When distributing the software, include this License Header + * Notice in each file and include the License file at + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the GPL Version 2 section of the License file that + * accompanied this code. If applicable, add the following below the + * License Header, with the fields enclosed by brackets [] replaced by + * your own identifying information: + * "Portions Copyrighted [year] [name of copyright owner]" + * + * If you wish your version of this file to be governed by only the CDDL + * or only the GPL Version 2, indicate your decision by adding + * "[Contributor] elects to include this software in this distribution + * under the [CDDL or GPL Version 2] license." If you do not indicate a + * single choice of license, a recipient has the option to distribute + * your version of this file under either the CDDL, the GPL Version 2 or + * to extend the choice of license to its licensees as provided above. + * However, if you add GPL Version 2 code and therefore, elected the GPL + * Version 2 license, then the option applies only if the new code is + * made subject to such option by the copyright holder. + * + * Contributor(s): + */ + +// List of standard headers was taken in http://en.cppreference.com/w/cpp/header + +#include // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search +#include // Functions and macro constants for signal management +#include // Macro (and function) that saves (and jumps) to an execution context +#include // Handling of variable length argument lists +#include // Runtime type information utilities +#include // std::bitset class template +#include // Function objects, designed for use with the standard algorithms +#include // Various utility components +#include // C-style time/date utilites +#include // typedefs for types such as size_t, NULL and others +#include // Low-level memory management utilities +#include // Higher level memory management utilities +#include // limits of integral types +#include // limits of float types +#include // standardized way to query properties of arithmetic types +#include // Exception handling utilities +#include // Standard exception objects +#include // Conditionally compiled macro that compares its argument to zero +#include // Macro containing the last error number +#include // functions to determine the type contained in character data +#include // functions for determining the type of wide character data +#include // various narrow character string handling functions +#include // various wide and multibyte string handling functions +#include // std::basic_string class template +#include // std::vector container +#include // std::deque container +#include // std::list container +#include // std::set and std::multiset associative containers +#include // std::map and std::multimap associative containers +#include // std::stack container adaptor +#include // std::queue and std::priority_queue container adaptors +#include // Algorithms that operate on containers +#include // Container iterators +#include // Common mathematics functions +#include // Complex number type +#include // Class for representing and manipulating arrays of values +#include // Numeric operations on values in containers +#include // forward declarations of all classes in the input/output library +#include // std::ios_base class, std::basic_ios class template and several typedefs +#include // std::basic_istream class template and several typedefs +#include // std::basic_ostream, std::basic_iostream class templates and several typedefs +#include // several standard stream objects +#include // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs +#include // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs +#include // std::strstream, std::istrstream, std::ostrstream(deprecated) +#include // Helper functions to control the format or input and output +#include // std::basic_streambuf class template +#include // C-style input-output functions +#include // Localization utilities +#include // C localization utilities +#include // empty header. The macros that appear in iso646.h in C are keywords in C++ +#if __cplusplus >= 201103L +#include // (since C++11) std::type_index +#include // (since C++11) Compile-time type information +#include // (since C++11) C++ time utilites +#include // (since C++11) std::initializer_list class template +#include // (since C++11) std::tuple class template +#include // (since C++11) Nested allocator class +#include // (since C++11) fixed-size types and limits of other types +#include // (since C++11) formatting macros , intmax_t and uintmax_t math and conversions +#include // (since C++11) defines std::error_code, a platform-dependent error code +#include // (since C++11) C-style Unicode character conversion functions +#include // (since C++11) std::array container +#include // (since C++11) std::forward_list container +#include // (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers +#include // (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers +#include // (since C++11) Random number generators and distributions +#include // (since C++11) Compile-time rational arithmetic +#include // (since C++11) Floating-point environment access functions +#include // (since C++11) Unicode conversion facilities +#include // (since C++11) Classes, algorithms and iterators to support regular expression processing +#include // (since C++11) Atomic operations library +#include // (since C++11)(deprecated in C++17) simply includes the header +#include // (since C++11)(deprecated in C++17) simply includes the headers (until C++17) (since C++17) and : the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers +#include // (since C++11)(deprecated in C++17) defines one compatibility macro constant +#include // (since C++11)(deprecated in C++17) defines one compatibility macro constant +#include // (since C++11) std::thread class and supporting functions +#include // (since C++11) mutual exclusion primitives +#include // (since C++11) primitives for asynchronous computations +#include // (since C++11) thread waiting conditions +#endif +#if __cplusplus >= 201300L +#include // (since C++14) shared mutual exclusion primitives +#endif +#if __cplusplus >= 201500L +#include // (since C++17) std::any class template +#include // (since C++17) std::optional class template +#include // (since C++17) std::variant class template +#include // (since C++17) Polymorphic allocators and memory resources +#include // (since C++17) std::basic_string_view class template +#include // (since C++17) Predefined execution policies for parallel versions of the algorithms +#include // (since C++17) std::path class and supporting functions +#endif diff --git a/cis17cMtP4.1/nbproject/private/launcher.properties b/cis17cMtP4.1/nbproject/private/launcher.properties new file mode 100644 index 0000000..3edc2d8 --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/launcher.properties @@ -0,0 +1,42 @@ +# Launchers File syntax: +# +# [Must-have property line] +# launcher1.runCommand= +# [Optional extra properties] +# launcher1.displayName= +# launcher1.hide= +# launcher1.buildCommand= +# launcher1.runDir= +# launcher1.runInOwnTab= +# launcher1.symbolFiles= +# launcher1.env.= +# (If this value is quoted with ` it is handled as a native command which execution result will become the value) +# [Common launcher properties] +# common.runDir= +# (This value is overwritten by a launcher specific runDir value if the latter exists) +# common.env.= +# (Environment variables from common launcher are merged with launcher specific variables) +# common.symbolFiles= +# (This value is overwritten by a launcher specific symbolFiles value if the latter exists) +# +# In runDir, symbolFiles and env fields you can use these macroses: +# ${PROJECT_DIR} - project directory absolute path +# ${OUTPUT_PATH} - linker output path (relative to project directory path) +# ${OUTPUT_BASENAME}- linker output filename +# ${TESTDIR} - test files directory (relative to project directory path) +# ${OBJECTDIR} - object files directory (relative to project directory path) +# ${CND_DISTDIR} - distribution directory (relative to project directory path) +# ${CND_BUILDDIR} - build directory (relative to project directory path) +# ${CND_PLATFORM} - platform name +# ${CND_CONF} - configuration name +# ${CND_DLIB_EXT} - dynamic library extension +# +# All the project launchers must be listed in the file! +# +# launcher1.runCommand=... +# launcher2.runCommand=... +# ... +# common.runDir=... +# common.env.KEY=VALUE + +# launcher1.runCommand= \ No newline at end of file diff --git a/cis17cMtP4.1/nbproject/private/private.xml b/cis17cMtP4.1/nbproject/private/private.xml new file mode 100644 index 0000000..63a27a8 --- /dev/null +++ b/cis17cMtP4.1/nbproject/private/private.xml @@ -0,0 +1,7 @@ + + + + 1 + 0 + + diff --git a/cis17cMtP4.1/nbproject/project.xml b/cis17cMtP4.1/nbproject/project.xml new file mode 100644 index 0000000..aa8d187 --- /dev/null +++ b/cis17cMtP4.1/nbproject/project.xml @@ -0,0 +1,28 @@ + + + org.netbeans.modules.cnd.makeproject + + + cis17cMtP4.1 + cpp + + + UTF-8 + + + + + Debug + 1 + + + Release + 1 + + + + false + + + + diff --git a/cis17cMtP4/Makefile b/cis17cMtP4/Makefile new file mode 100644 index 0000000..05de621 --- /dev/null +++ b/cis17cMtP4/Makefile @@ -0,0 +1,128 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_PLATFORM_${CONF} platform name (current configuration) +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# build tests +build-tests: .build-tests-post + +.build-tests-pre: +# Add your pre 'build-tests' code here... + +.build-tests-post: .build-tests-impl +# Add your post 'build-tests' code here... + + +# run tests +test: .test-post + +.test-pre: build-tests +# Add your pre 'test' code here... + +.test-post: .test-impl +# Add your post 'test' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/cis17cMtP4/main.cpp b/cis17cMtP4/main.cpp new file mode 100644 index 0000000..08c0100 --- /dev/null +++ b/cis17cMtP4/main.cpp @@ -0,0 +1,109 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +/* + * File: main.cpp + * Author: Jason + * + * Created on May 10, 2021, 4:52 PM + */ + +#include +#include +#include + +using namespace std; +// this will return n^1/2 +void sqrtN(long) +{ + cout << "n^1/2" << endl; + cout << pow(s, 2) << endl; + cout << pow(m, 2) << endl; + cout << pow(h, 2) << endl; + cout << pow(d, 2) << endl; + cout << pow(mon, 2) << endl; + cout << pow(y, 2) << endl; + cout << pow(cen, 2) << endl; + cout << pow(dec, 2) << endl << endl; +} +// this will return n^1/3 +void cbrtN(long s, long m, long h, long d, long mon, long y, long cen, long dec) +{ + cout << "n^1/3" << endl; + cout << pow(s, 3) << endl; + cout << pow(m, 3) << endl; + cout << pow(h, 3) << endl; + cout << pow(d, 3) << endl; + cout << pow(mon, 3) << endl; + cout << pow(y, 3) << endl; + cout << pow(cen, 3) << endl; + cout << pow(dec, 3) << endl << endl; +} +// this will return n*log(n) +void logN(long s, long m, long h, long d, long mon, long y, long cen, long dec) +{ + cout << "n*log(n)" << endl; + cout << s*log(s) << endl; + cout << s*log(m) << endl; + cout << s*log(h) << endl; + cout << s*log(d) << endl; + cout << s*log(mon) << endl; + cout << s*log(y) << endl; + cout << s*log(cen) << endl; + cout << s*log(dec) << endl << endl; +} + + +int main(int argc, char** argv) { + + + // in milliseconds + unsigned long s = 1000; + unsigned long m = s * 60; + unsigned long h = m * 60; + unsigned long d = h * 24 ; + unsigned long mon = d * 30; + unsigned long y = d * 365; + unsigned long dec = y * 10; + unsigned long cen = dec * 10; + + sqrtN( s, m, h, d, mon, y, cen, dec); + + cbrtN( s, m, h, d, mon, y, cen, dec); + + logN( s, m, h, d, mon, y, cen, dec); + + cout << "n^2" << endl; + sqrtN(s); + sqrtN(m); + sqrtN(h); + sqrtN(d); + sqrtN(mon); + sqrtN(y); + sqrtN(dec); + sqrtN(cen); + + cout << "2^n" << endl; + twoSqrtN(s); + twoSqrtN(m); + twoSqrtN(h); + twoSqrtN(d); + twoSqrtN(mon); + twoSqrtN(y); + twoSqrtN(dec); + twoSqrtN(cen); + + + + + + + + + + return 0; +} + diff --git a/cis17cMtP4/nbproject/Makefile-Debug.mk b/cis17cMtP4/nbproject/Makefile-Debug.mk new file mode 100644 index 0000000..870df5e --- /dev/null +++ b/cis17cMtP4/nbproject/Makefile-Debug.mk @@ -0,0 +1,83 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Environment +MKDIR=mkdir +CP=cp +GREP=grep +NM=nm +CCADMIN=CCadmin +RANLIB=ranlib +CC=gcc +CCC=g++ +CXX=g++ +FC=gfortran +AS=as + +# Macros +CND_PLATFORM=Cygwin-Windows +CND_DLIB_EXT=dll +CND_CONF=Debug +CND_DISTDIR=dist +CND_BUILDDIR=build + +# Include project Makefile +include Makefile + +# Object Directory +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} + +# Object Files +OBJECTFILES= \ + ${OBJECTDIR}/main.o + + +# C Compiler Flags +CFLAGS= + +# CC Compiler Flags +CCFLAGS= +CXXFLAGS= + +# Fortran Compiler Flags +FFLAGS= + +# Assembler Flags +ASFLAGS= + +# Link Libraries and Options +LDLIBSOPTIONS= + +# Build Targets +.build-conf: ${BUILD_SUBPROJECTS} + "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4.exe + +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4.exe: ${OBJECTFILES} + ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} + ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 ${OBJECTFILES} ${LDLIBSOPTIONS} + +${OBJECTDIR}/main.o: main.cpp + ${MKDIR} -p ${OBJECTDIR} + ${RM} "$@.d" + $(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp + +# Subprojects +.build-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r ${CND_BUILDDIR}/${CND_CONF} + +# Subprojects +.clean-subprojects: + +# Enable dependency checking +.dep.inc: .depcheck-impl + +include .dep.inc diff --git a/cis17cMtP4/nbproject/Makefile-Release.mk b/cis17cMtP4/nbproject/Makefile-Release.mk new file mode 100644 index 0000000..3b6ab63 --- /dev/null +++ b/cis17cMtP4/nbproject/Makefile-Release.mk @@ -0,0 +1,83 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Environment +MKDIR=mkdir +CP=cp +GREP=grep +NM=nm +CCADMIN=CCadmin +RANLIB=ranlib +CC=gcc +CCC=g++ +CXX=g++ +FC=gfortran +AS=as + +# Macros +CND_PLATFORM=Cygwin-Windows +CND_DLIB_EXT=dll +CND_CONF=Release +CND_DISTDIR=dist +CND_BUILDDIR=build + +# Include project Makefile +include Makefile + +# Object Directory +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} + +# Object Files +OBJECTFILES= \ + ${OBJECTDIR}/main.o + + +# C Compiler Flags +CFLAGS= + +# CC Compiler Flags +CCFLAGS= +CXXFLAGS= + +# Fortran Compiler Flags +FFLAGS= + +# Assembler Flags +ASFLAGS= + +# Link Libraries and Options +LDLIBSOPTIONS= + +# Build Targets +.build-conf: ${BUILD_SUBPROJECTS} + "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4.exe + +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4.exe: ${OBJECTFILES} + ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} + ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 ${OBJECTFILES} ${LDLIBSOPTIONS} + +${OBJECTDIR}/main.o: main.cpp + ${MKDIR} -p ${OBJECTDIR} + ${RM} "$@.d" + $(COMPILE.cc) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp + +# Subprojects +.build-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r ${CND_BUILDDIR}/${CND_CONF} + +# Subprojects +.clean-subprojects: + +# Enable dependency checking +.dep.inc: .depcheck-impl + +include .dep.inc diff --git a/cis17cMtP4/nbproject/Makefile-impl.mk b/cis17cMtP4/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..1d9c0d7 --- /dev/null +++ b/cis17cMtP4/nbproject/Makefile-impl.mk @@ -0,0 +1,133 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a pre- and a post- target defined where you can add customization code. +# +# This makefile implements macros and targets common to all configurations. +# +# NOCDDL + + +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf +# and .clean-reqprojects-conf unless SUB has the value 'no' +SUB_no=NO +SUBPROJECTS=${SUB_${SUB}} +BUILD_SUBPROJECTS_=.build-subprojects +BUILD_SUBPROJECTS_NO= +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} +CLEAN_SUBPROJECTS_=.clean-subprojects +CLEAN_SUBPROJECTS_NO= +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} + + +# Project Name +PROJECTNAME=cis17cMtP4 + +# Active Configuration +DEFAULTCONF=Debug +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=Debug Release + + +# build +.build-impl: .build-pre .validate-impl .depcheck-impl + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre .validate-impl .depcheck-impl + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf + + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + @#echo "=> Running $@..." + for CONF in ${ALLCONFS}; \ + do \ + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \ + done + +# all +.all-impl: .all-pre .depcheck-impl + @#echo "=> Running $@..." + for CONF in ${ALLCONFS}; \ + do \ + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \ + done + +# build tests +.build-tests-impl: .build-impl .build-tests-pre + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf + +# run tests +.test-impl: .build-tests-impl .test-pre + @#echo "=> Running $@... Configuration=$(CONF)" + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf + +# dependency checking support +.depcheck-impl: + @echo "# This code depends on make tool being used" >.dep.inc + @if [ -n "${MAKE_VERSION}" ]; then \ + echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \ + echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ + echo "include \$${DEPFILES}" >>.dep.inc; \ + echo "endif" >>.dep.inc; \ + else \ + echo ".KEEP_STATE:" >>.dep.inc; \ + echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ + fi + +# configuration validation +.validate-impl: + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ + then \ + echo ""; \ + echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \ + echo "See 'make help' for details."; \ + echo "Current directory: " `pwd`; \ + echo ""; \ + fi + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ + then \ + exit 1; \ + fi + + +# help +.help-impl: .help-pre + @echo "This makefile supports the following configurations:" + @echo " ${ALLCONFS}" + @echo "" + @echo "and the following targets:" + @echo " build (default target)" + @echo " clean" + @echo " clobber" + @echo " all" + @echo " help" + @echo "" + @echo "Makefile Usage:" + @echo " make [CONF=] [SUB=no] build" + @echo " make [CONF=] [SUB=no] clean" + @echo " make [SUB=no] clobber" + @echo " make [SUB=no] all" + @echo " make help" + @echo "" + @echo "Target 'build' will build a specific configuration and, unless 'SUB=no'," + @echo " also build subprojects." + @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no'," + @echo " also clean subprojects." + @echo "Target 'clobber' will remove all built files from all configurations and," + @echo " unless 'SUB=no', also from subprojects." + @echo "Target 'all' will will build all configurations and, unless 'SUB=no'," + @echo " also build subprojects." + @echo "Target 'help' prints this message." + @echo "" + diff --git a/cis17cMtP4/nbproject/Makefile-variables.mk b/cis17cMtP4/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..4f370c6 --- /dev/null +++ b/cis17cMtP4/nbproject/Makefile-variables.mk @@ -0,0 +1,35 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +CND_BUILDDIR=build +CND_DISTDIR=dist +# Debug configuration +CND_PLATFORM_Debug=Cygwin-Windows +CND_ARTIFACT_DIR_Debug=dist/Debug/Cygwin-Windows +CND_ARTIFACT_NAME_Debug=cis17cmtp4 +CND_ARTIFACT_PATH_Debug=dist/Debug/Cygwin-Windows/cis17cmtp4 +CND_PACKAGE_DIR_Debug=dist/Debug/Cygwin-Windows/package +CND_PACKAGE_NAME_Debug=cis17cmtp4.tar +CND_PACKAGE_PATH_Debug=dist/Debug/Cygwin-Windows/package/cis17cmtp4.tar +# Release configuration +CND_PLATFORM_Release=Cygwin-Windows +CND_ARTIFACT_DIR_Release=dist/Release/Cygwin-Windows +CND_ARTIFACT_NAME_Release=cis17cmtp4 +CND_ARTIFACT_PATH_Release=dist/Release/Cygwin-Windows/cis17cmtp4 +CND_PACKAGE_DIR_Release=dist/Release/Cygwin-Windows/package +CND_PACKAGE_NAME_Release=cis17cmtp4.tar +CND_PACKAGE_PATH_Release=dist/Release/Cygwin-Windows/package/cis17cmtp4.tar +# +# include compiler specific variables +# +# dmake command +ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \ + (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk) +# +# gmake command +.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)) +# +include nbproject/private/Makefile-variables.mk diff --git a/cis17cMtP4/nbproject/Package-Debug.bash b/cis17cMtP4/nbproject/Package-Debug.bash new file mode 100644 index 0000000..50df12d --- /dev/null +++ b/cis17cMtP4/nbproject/Package-Debug.bash @@ -0,0 +1,76 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=Cygwin-Windows +CND_CONF=Debug +CND_DISTDIR=dist +CND_BUILDDIR=build +CND_DLIB_EXT=dll +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 +OUTPUT_BASENAME=cis17cmtp4 +PACKAGE_TOP_DIR=cis17cmtp4/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/cis17cmtp4/bin" +copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/cis17cMtP4/nbproject/Package-Release.bash b/cis17cMtP4/nbproject/Package-Release.bash new file mode 100644 index 0000000..227d883 --- /dev/null +++ b/cis17cMtP4/nbproject/Package-Release.bash @@ -0,0 +1,76 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=Cygwin-Windows +CND_CONF=Release +CND_DISTDIR=dist +CND_BUILDDIR=build +CND_DLIB_EXT=dll +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cis17cmtp4 +OUTPUT_BASENAME=cis17cmtp4 +PACKAGE_TOP_DIR=cis17cmtp4/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/cis17cmtp4/bin" +copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cis17cmtp4.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/cis17cMtP4/nbproject/configurations.xml b/cis17cMtP4/nbproject/configurations.xml new file mode 100644 index 0000000..3175ba1 --- /dev/null +++ b/cis17cMtP4/nbproject/configurations.xml @@ -0,0 +1,66 @@ + + + + + + + + + main.cpp + + + + + Makefile + + + Makefile + + + + default + true + false + + + + + + + + + default + true + false + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + + + diff --git a/cis17cMtP4/nbproject/private/Makefile-variables.mk b/cis17cMtP4/nbproject/private/Makefile-variables.mk new file mode 100644 index 0000000..a64183e --- /dev/null +++ b/cis17cMtP4/nbproject/private/Makefile-variables.mk @@ -0,0 +1,7 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +# Debug configuration +# Release configuration diff --git a/cis17cMtP4/nbproject/private/c_standard_headers_indexer.c b/cis17cMtP4/nbproject/private/c_standard_headers_indexer.c new file mode 100644 index 0000000..c2548d2 --- /dev/null +++ b/cis17cMtP4/nbproject/private/c_standard_headers_indexer.c @@ -0,0 +1,75 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. + * + * Oracle and Java are registered trademarks of Oracle and/or its affiliates. + * Other names may be trademarks of their respective owners. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common + * Development and Distribution License("CDDL") (collectively, the + * "License"). You may not use this file except in compliance with the + * License. You can obtain a copy of the License at + * http://www.netbeans.org/cddl-gplv2.html + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + * specific language governing permissions and limitations under the + * License. When distributing the software, include this License Header + * Notice in each file and include the License file at + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the GPL Version 2 section of the License file that + * accompanied this code. If applicable, add the following below the + * License Header, with the fields enclosed by brackets [] replaced by + * your own identifying information: + * "Portions Copyrighted [year] [name of copyright owner]" + * + * If you wish your version of this file to be governed by only the CDDL + * or only the GPL Version 2, indicate your decision by adding + * "[Contributor] elects to include this software in this distribution + * under the [CDDL or GPL Version 2] license." If you do not indicate a + * single choice of license, a recipient has the option to distribute + * your version of this file under either the CDDL, the GPL Version 2 or + * to extend the choice of license to its licensees as provided above. + * However, if you add GPL Version 2 code and therefore, elected the GPL + * Version 2 license, then the option applies only if the new code is + * made subject to such option by the copyright holder. + * + * Contributor(s): + */ + +// List of standard headers was taken in http://en.cppreference.com/w/c/header + +#include // Conditionally compiled macro that compares its argument to zero +#include // Functions to determine the type contained in character data +#include // Macros reporting error conditions +#include // Limits of float types +#include // Sizes of basic types +#include // Localization utilities +#include // Common mathematics functions +#include // Nonlocal jumps +#include // Signal handling +#include // Variable arguments +#include // Common macro definitions +#include // Input/output +#include // String handling +#include // General utilities: memory management, program utilities, string conversions, random numbers +#include // Time/date utilities +#include // (since C95) Alternative operator spellings +#include // (since C95) Extended multibyte and wide character utilities +#include // (since C95) Wide character classification and mapping utilities +#ifdef _STDC_C99 +#include // (since C99) Complex number arithmetic +#include // (since C99) Floating-point environment +#include // (since C99) Format conversion of integer types +#include // (since C99) Boolean type +#include // (since C99) Fixed-width integer types +#include // (since C99) Type-generic math (macros wrapping math.h and complex.h) +#endif +#ifdef _STDC_C11 +#include // (since C11) alignas and alignof convenience macros +#include // (since C11) Atomic types +#include // (since C11) noreturn convenience macros +#include // (since C11) Thread library +#include // (since C11) UTF-16 and UTF-32 character utilities +#endif diff --git a/cis17cMtP4/nbproject/private/configurations.xml b/cis17cMtP4/nbproject/private/configurations.xml new file mode 100644 index 0000000..3716ba7 --- /dev/null +++ b/cis17cMtP4/nbproject/private/configurations.xml @@ -0,0 +1,72 @@ + + + Makefile + + + + localhost + 3 + + + + + + + + + + + + + + + gdb + + + + "${OUTPUT_PATH}" + + "${OUTPUT_PATH}" + + true + 0 + 0 + + + + + + + localhost + 3 + + + + + + + + + + + + + + + gdb + + + + "${OUTPUT_PATH}" + + "${OUTPUT_PATH}" + + true + 0 + 0 + + + + + + diff --git a/cis17cMtP4/nbproject/private/cpp_standard_headers_indexer.cpp b/cis17cMtP4/nbproject/private/cpp_standard_headers_indexer.cpp new file mode 100644 index 0000000..04f6fa6 --- /dev/null +++ b/cis17cMtP4/nbproject/private/cpp_standard_headers_indexer.cpp @@ -0,0 +1,135 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. + * + * Oracle and Java are registered trademarks of Oracle and/or its affiliates. + * Other names may be trademarks of their respective owners. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common + * Development and Distribution License("CDDL") (collectively, the + * "License"). You may not use this file except in compliance with the + * License. You can obtain a copy of the License at + * http://www.netbeans.org/cddl-gplv2.html + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + * specific language governing permissions and limitations under the + * License. When distributing the software, include this License Header + * Notice in each file and include the License file at + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the GPL Version 2 section of the License file that + * accompanied this code. If applicable, add the following below the + * License Header, with the fields enclosed by brackets [] replaced by + * your own identifying information: + * "Portions Copyrighted [year] [name of copyright owner]" + * + * If you wish your version of this file to be governed by only the CDDL + * or only the GPL Version 2, indicate your decision by adding + * "[Contributor] elects to include this software in this distribution + * under the [CDDL or GPL Version 2] license." If you do not indicate a + * single choice of license, a recipient has the option to distribute + * your version of this file under either the CDDL, the GPL Version 2 or + * to extend the choice of license to its licensees as provided above. + * However, if you add GPL Version 2 code and therefore, elected the GPL + * Version 2 license, then the option applies only if the new code is + * made subject to such option by the copyright holder. + * + * Contributor(s): + */ + +// List of standard headers was taken in http://en.cppreference.com/w/cpp/header + +#include // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search +#include // Functions and macro constants for signal management +#include // Macro (and function) that saves (and jumps) to an execution context +#include // Handling of variable length argument lists +#include // Runtime type information utilities +#include // std::bitset class template +#include // Function objects, designed for use with the standard algorithms +#include // Various utility components +#include // C-style time/date utilites +#include // typedefs for types such as size_t, NULL and others +#include // Low-level memory management utilities +#include // Higher level memory management utilities +#include // limits of integral types +#include // limits of float types +#include // standardized way to query properties of arithmetic types +#include // Exception handling utilities +#include // Standard exception objects +#include // Conditionally compiled macro that compares its argument to zero +#include // Macro containing the last error number +#include // functions to determine the type contained in character data +#include // functions for determining the type of wide character data +#include // various narrow character string handling functions +#include // various wide and multibyte string handling functions +#include // std::basic_string class template +#include // std::vector container +#include // std::deque container +#include // std::list container +#include // std::set and std::multiset associative containers +#include // std::map and std::multimap associative containers +#include // std::stack container adaptor +#include // std::queue and std::priority_queue container adaptors +#include // Algorithms that operate on containers +#include // Container iterators +#include // Common mathematics functions +#include // Complex number type +#include // Class for representing and manipulating arrays of values +#include // Numeric operations on values in containers +#include // forward declarations of all classes in the input/output library +#include // std::ios_base class, std::basic_ios class template and several typedefs +#include // std::basic_istream class template and several typedefs +#include // std::basic_ostream, std::basic_iostream class templates and several typedefs +#include // several standard stream objects +#include // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs +#include // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs +#include // std::strstream, std::istrstream, std::ostrstream(deprecated) +#include // Helper functions to control the format or input and output +#include // std::basic_streambuf class template +#include // C-style input-output functions +#include // Localization utilities +#include // C localization utilities +#include // empty header. The macros that appear in iso646.h in C are keywords in C++ +#if __cplusplus >= 201103L +#include // (since C++11) std::type_index +#include // (since C++11) Compile-time type information +#include // (since C++11) C++ time utilites +#include // (since C++11) std::initializer_list class template +#include // (since C++11) std::tuple class template +#include // (since C++11) Nested allocator class +#include // (since C++11) fixed-size types and limits of other types +#include // (since C++11) formatting macros , intmax_t and uintmax_t math and conversions +#include // (since C++11) defines std::error_code, a platform-dependent error code +#include // (since C++11) C-style Unicode character conversion functions +#include // (since C++11) std::array container +#include // (since C++11) std::forward_list container +#include // (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers +#include // (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers +#include // (since C++11) Random number generators and distributions +#include // (since C++11) Compile-time rational arithmetic +#include // (since C++11) Floating-point environment access functions +#include // (since C++11) Unicode conversion facilities +#include // (since C++11) Classes, algorithms and iterators to support regular expression processing +#include // (since C++11) Atomic operations library +#include // (since C++11)(deprecated in C++17) simply includes the header +#include // (since C++11)(deprecated in C++17) simply includes the headers (until C++17) (since C++17) and : the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers +#include // (since C++11)(deprecated in C++17) defines one compatibility macro constant +#include // (since C++11)(deprecated in C++17) defines one compatibility macro constant +#include // (since C++11) std::thread class and supporting functions +#include // (since C++11) mutual exclusion primitives +#include // (since C++11) primitives for asynchronous computations +#include // (since C++11) thread waiting conditions +#endif +#if __cplusplus >= 201300L +#include // (since C++14) shared mutual exclusion primitives +#endif +#if __cplusplus >= 201500L +#include // (since C++17) std::any class template +#include // (since C++17) std::optional class template +#include // (since C++17) std::variant class template +#include // (since C++17) Polymorphic allocators and memory resources +#include // (since C++17) std::basic_string_view class template +#include // (since C++17) Predefined execution policies for parallel versions of the algorithms +#include // (since C++17) std::path class and supporting functions +#endif diff --git a/cis17cMtP4/nbproject/private/launcher.properties b/cis17cMtP4/nbproject/private/launcher.properties new file mode 100644 index 0000000..3edc2d8 --- /dev/null +++ b/cis17cMtP4/nbproject/private/launcher.properties @@ -0,0 +1,42 @@ +# Launchers File syntax: +# +# [Must-have property line] +# launcher1.runCommand= +# [Optional extra properties] +# launcher1.displayName= +# launcher1.hide= +# launcher1.buildCommand= +# launcher1.runDir= +# launcher1.runInOwnTab= +# launcher1.symbolFiles= +# launcher1.env.= +# (If this value is quoted with ` it is handled as a native command which execution result will become the value) +# [Common launcher properties] +# common.runDir= +# (This value is overwritten by a launcher specific runDir value if the latter exists) +# common.env.= +# (Environment variables from common launcher are merged with launcher specific variables) +# common.symbolFiles= +# (This value is overwritten by a launcher specific symbolFiles value if the latter exists) +# +# In runDir, symbolFiles and env fields you can use these macroses: +# ${PROJECT_DIR} - project directory absolute path +# ${OUTPUT_PATH} - linker output path (relative to project directory path) +# ${OUTPUT_BASENAME}- linker output filename +# ${TESTDIR} - test files directory (relative to project directory path) +# ${OBJECTDIR} - object files directory (relative to project directory path) +# ${CND_DISTDIR} - distribution directory (relative to project directory path) +# ${CND_BUILDDIR} - build directory (relative to project directory path) +# ${CND_PLATFORM} - platform name +# ${CND_CONF} - configuration name +# ${CND_DLIB_EXT} - dynamic library extension +# +# All the project launchers must be listed in the file! +# +# launcher1.runCommand=... +# launcher2.runCommand=... +# ... +# common.runDir=... +# common.env.KEY=VALUE + +# launcher1.runCommand= \ No newline at end of file diff --git a/cis17cMtP4/nbproject/private/private.xml b/cis17cMtP4/nbproject/private/private.xml new file mode 100644 index 0000000..63a27a8 --- /dev/null +++ b/cis17cMtP4/nbproject/private/private.xml @@ -0,0 +1,7 @@ + + + + 1 + 0 + + diff --git a/cis17cMtP4/nbproject/project.xml b/cis17cMtP4/nbproject/project.xml new file mode 100644 index 0000000..bb6fb2a --- /dev/null +++ b/cis17cMtP4/nbproject/project.xml @@ -0,0 +1,28 @@ + + + org.netbeans.modules.cnd.makeproject + + + cis17cMtP4 + cpp + + + UTF-8 + + + + + Debug + 1 + + + Release + 1 + + + + false + + + +