added dane.txt

and Clion configuration
This commit is contained in:
2024-10-09 20:44:12 +02:00
parent fa3a0894e2
commit 2dc6146b34
8 changed files with 44 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakePythonSetting">
<option name="pythonIntegrationState" value="YES" />
</component>
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/MO_pracadomowa.iml" filepath="$PROJECT_DIR$/.idea/MO_pracadomowa.iml" />
</modules>
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+7
View File
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.28)
project(MO_pracadomowa)
set(CMAKE_CXX_STANDARD 14)
add_executable(MO_pracadomowa
horner_simple.cpp)
+5
View File
@@ -0,0 +1,5 @@
1
-3.5
0
2
-1
+1 -1
View File
@@ -9,7 +9,7 @@ pair<vector<float>,int> read_data() {
vector<float> a; vector<float> a;
int stopien = 0; int stopien = 0;
fstream file("dane.txt"); fstream file("../dane.txt");
if (!file) if (!file)
{ {
cerr << "Nie udalo sie otworzyc pliku\n"; cerr << "Nie udalo sie otworzyc pliku\n";