diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..e7e9d11d4bf243bffe4bb60b4ac1f9392297f4bf --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..8822db8f1c2b8ceffb5d86c69dd1952cf6552980 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> + <component name="JavaScriptSettings"> + <option name="languageLevel" value="ES6" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..a304e09a4fd6f77d9757b7fe37e1a66aa49860e6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/projet_q4_groupe_o4.iml" filepath="$PROJECT_DIR$/.idea/projet_q4_groupe_o4.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/.idea/projet_q4_groupe_o4.iml b/.idea/projet_q4_groupe_o4.iml new file mode 100644 index 0000000000000000000000000000000000000000..f08604bb65b25149b195f9e9f282f9683a428592 --- /dev/null +++ b/.idea/projet_q4_groupe_o4.iml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module classpath="CMake" type="CPP_MODULE" version="4" /> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..94a25f7f4cb416c083d265558da75d457237d671 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$" vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..597cfcb48d2e8b76ff480a3975af2c1eb0e3faa3 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.15) +project(projet_q4_groupe_o4) + +set(CMAKE_CXX_STANDARD 14) + +include_directories(.) + +add_executable(projet_q4_groupe_o4 + Makefile + prime_divs.py + "Programme test" + README.md prime_divs.c) diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt new file mode 100644 index 0000000000000000000000000000000000000000..912e487a542a380c1b2af41f4341a503a6a37c56 --- /dev/null +++ b/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,80 @@ +# This is the CMakeCache file. +# For build in directory: /home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4/cmake-build-debug +# It was generated by CMake: /snap/clion/107/bin/cmake/linux/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:UNINITIALIZED=Debug + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=CMAKE_MAKE_PROGRAM-NOTFOUND + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=projet_q4_groupe_o4 + +//Value Computed by CMake +projet_q4_groupe_o4_BINARY_DIR:STATIC=/home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4/cmake-build-debug + +//Value Computed by CMake +projet_q4_groupe_o4_SOURCE_DIR:STATIC=/home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4 + + +######################## +# INTERNAL cache entries +######################## + +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4/cmake-build-debug +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=15 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/snap/clion/107/bin/cmake/linux/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/snap/clion/107/bin/cmake/linux/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/snap/clion/107/bin/cmake/linux/bin/ctest +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL=CodeBlocks +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/snap/clion/107/bin/cmake/linux/share/cmake-3.15 +//uname command +CMAKE_UNAME:INTERNAL=/bin/uname + diff --git a/cmake-build-debug/CMakeFiles/3.15.3/CMakeSystem.cmake b/cmake-build-debug/CMakeFiles/3.15.3/CMakeSystem.cmake new file mode 100644 index 0000000000000000000000000000000000000000..0c59eead6201ccd8c3ac3decf14d2e302e7e6bab --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.15.3/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-5.3.0-42-generic") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "5.3.0-42-generic") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-5.3.0-42-generic") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "5.3.0-42-generic") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/cmake-build-debug/CMakeFiles/CMakeOutput.log b/cmake-build-debug/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000000000000000000000000000000000000..8e3a44991ed04c112401978f03493ad912cbe5c6 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -0,0 +1 @@ +The system is: Linux - 5.3.0-42-generic - x86_64 diff --git a/cmake-build-debug/CMakeFiles/clion-environment.txt b/cmake-build-debug/CMakeFiles/clion-environment.txt new file mode 100644 index 0000000000000000000000000000000000000000..270d93c28391437bedab63d39ee7c2fb869bccb0 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/clion-environment.txt @@ -0,0 +1,3 @@ +ToolSet: 1.0 (local)Options: + +Options: \ No newline at end of file diff --git a/cmake-build-debug/CMakeFiles/clion-log.txt b/cmake-build-debug/CMakeFiles/clion-log.txt new file mode 100644 index 0000000000000000000000000000000000000000..370d0387c41f95e36e987b6adff454bd3c6f1f22 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/clion-log.txt @@ -0,0 +1,6 @@ +/snap/clion/107/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4 +CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. +CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage +CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage +-- Configuring incomplete, errors occurred! +See also "/home/jtwite/Documents/SINF12BA_Q2/LEPL1503/projet_q4_groupe_o4/cmake-build-debug/CMakeFiles/CMakeOutput.log". diff --git a/cmake-build-debug/CMakeFiles/cmake.check_cache b/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000000000000000000000000000000000000..3dccd731726d7faa8b29d8d7dba3b981a53ca497 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/prime_divs.c b/prime_divs.c new file mode 100644 index 0000000000000000000000000000000000000000..7d13822aa00e4e7e409a3a2f9f2c79b9c0982108 --- /dev/null +++ b/prime_divs.c @@ -0,0 +1,4 @@ +// +// Created by jtwite on 27.03.20. +// +