Signed-off-by: localhorst <localhorst@mosad.xyz>
This commit is contained in:
Hendrik Schutter 2018-06-21 15:44:36 +02:00
parent 27ea61203a
commit ca72b7059d
13 changed files with 614 additions and 123 deletions

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1690635260699973679" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1688463559514484423" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
@ -16,7 +16,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1690635260699973679" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="1688463559514484423" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

60
Uebungen/01_AdvC03.cpp Normal file
View File

@ -0,0 +1,60 @@
#include <iostream>
#include <string.h>
using namespace std;
void ausgabe(char* p[], int max);
void freeArray(char* p[], int max);
int main(int argc, char** argv) {
printf("Anzahl der Parameter %i\n\n", (argc - 1));
char* cpArray[(argc - 1)];
argv++;
for (int i = 0; i < (argc - 1); ++i) {
printf("Übergabe: %s - ", *argv);
int size = strlen(*argv);
printf("Laenge des Parameter %i\n", size);
cpArray[i] = (char*) malloc((size - 1) * sizeof(char*));
strcpy(cpArray[i], *argv);
argv++;
}
free(*argv);
ausgabe(cpArray, argc - 1);
freeArray(cpArray, argc - 1);
ausgabe(cpArray, argc - 1);
cout << endl;
return 0;
}
void ausgabe(char* p[], int max) {
cout << endl;
for (int i = 0; i < max; ++i) {
printf("Ausgabe: %s\n", p[i]);
}
}
void freeArray(char* p[], int max) {
cout << endl << "Freigeben" << endl;
for (int i = 0; i < max; ++i) {
free(p[i]);
}
}

15
Uebungen/01_AdvC04.cpp Normal file
View File

@ -0,0 +1,15 @@
#define MAX(a, b) ((a) < (b) ? (b) : (a))
#include <iostream>
using namespace std;
int main() {
int iwert2 = 1000;
unsigned int uiwert2 = -1500;
printf("Maximum: %d\n", MAX(iwert2, uiwert2));
// --> nicht TypeSafe
return 0;
}

16
Uebungen/01_AdvC05.cpp Normal file
View File

@ -0,0 +1,16 @@
/*
* C5.cpp
*
* Created on: 03.05.2018
* Author: hendrik
*/
#include <iostream>
using namespace std;
int main() {
return 0;
}

65
Uebungen/02_CPP01.cpp Normal file
View File

@ -0,0 +1,65 @@
/*
* Main.cpp
*
* Created on: 07.06.2018
* Author: hendrik
*/
#include <iostream>
using namespace std;
void callByReferenz(int* pi) {
*pi = 10;
}
namespace na01 {
int zahl = 20;
}
namespace na02 {
int zahl = 30;
}
void defaultValues(int x = 2, int y = 4) {
printf("X: %i - Y: %i\n", x, y);
}
void func() {
printf("01\n");
}
void func(int i) {
printf("02: %i\n", i);
}
template<typename T>
T add(T x, T y) {
T value;
value = x + y;
return value;
}
int main(int argc, char *argv[]) {
printf("Hallo Welt\n");
int i = 0;
callByReferenz(&i);
printf("Zahl: %i\n", i);
printf("Namespace 01: %i\n", na01::zahl);
printf("Namespace 02: %i\n", na02::zahl);
defaultValues();
defaultValues(8);
defaultValues(12, 16);
func();
func(2);
printf("tmp01 %i\n" , add(8,9));
printf("tmp01 %f\n" , add(1.259,8985.5));
return 0;
}

113
Uebungen/02_CPP02.cpp Normal file
View File

@ -0,0 +1,113 @@
#include <iostream>
using namespace std;
#define ERROR_RINGPUFFER_EMPTY -1
#define ERROR_RINGPUFFER_FULL -2
#define RINGPUFFER_SIZE 8
class ringpuffer {
private:
unsigned int uispos; //schreib
unsigned int uirpos; //lese
unsigned int uinumelements;
int iArray[RINGPUFFER_SIZE];
public:
ringpuffer() {
cout << "Init\n" << endl;
uispos = 0;
uirpos = 0;
uinumelements = 0;
}
int storeelement(int ielement) {
if ((uispos + 1 == uirpos)
|| (uirpos == 0 && uispos + 1 == uinumelements)) {
printf("ERROR_RINGPUFFER_FULL\n");
return ERROR_RINGPUFFER_FULL;
}
iArray[uispos] = ielement;
uinumelements++;
uispos++;
if (uispos >= RINGPUFFER_SIZE) {
uispos = 0;
}
return 0;
}
int readelement(int& ielement) {
if ((uirpos == uispos) && (uinumelements == 0)) {
printf("ERROR_RINGPUFFER_EMPTY\n");
return ERROR_RINGPUFFER_EMPTY;
}
ielement = iArray[uirpos];
uinumelements--;
uirpos++;
if (uirpos >= RINGPUFFER_SIZE) {
uirpos = 0;
}
return 0;
}
void printArray() {
cout << "Print Array" << endl;
for (unsigned int i = 0; i < RINGPUFFER_SIZE; i++) {
printf("Index: %i --> %i", i, iArray[i]);
if (i == uirpos) {
printf(" --> Lesezeiger");
}
if (i == uispos) {
printf(" --> Schreibzeiger");
}
printf("\n");
}
cout << endl;
}
};
int main() {
ringpuffer* rb = new ringpuffer();
int res;
int* i = &res;
rb->storeelement(1);
rb->storeelement(2);
rb->storeelement(3);
rb->storeelement(4);
rb->printArray();
rb->readelement(*i);
printf("Read: %i\n\n", res); //1
rb->readelement(*i);
printf("Read: %i\n\n", res); //2
rb->readelement(*i);
printf("Read: %i\n\n", res); //3
rb->readelement(*i);
printf("Read: %i\n\n", res); //4
rb->printArray();
rb->storeelement(8);
rb->storeelement(1);
rb->storeelement(2);
rb->storeelement(3);
rb->storeelement(4);
rb->storeelement(1);
rb->storeelement(2);
rb->readelement(*i);
printf("Read: %i\n\n", res); //8
rb->printArray();
}

118
Uebungen/02_CPP03.cpp Normal file
View File

@ -0,0 +1,118 @@
#include <iostream>
using namespace std;
#define ERROR_RINGPUFFER_EMPTY -1
#define ERROR_RINGPUFFER_FULL -2
#define RINGPUFFER_SIZE 8
class ringpuffer {
private:
unsigned int uispos; //schreib
unsigned int uirpos; //lese
unsigned int uinumelements;
int iArray[RINGPUFFER_SIZE];
public:
ringpuffer() {
cout << "Init\n" << endl;
uispos = 0;
uirpos = 0;
uinumelements = 0;
}
int storeelement(int ielement) {
if ((uispos + 1 == uirpos)
|| (uirpos == 0 && uispos + 1 == uinumelements)) {
printf("ERROR_RINGPUFFER_FULL\n");
return ERROR_RINGPUFFER_FULL;
}
iArray[uispos] = ielement;
uinumelements++;
uispos++;
if (uispos >= RINGPUFFER_SIZE) {
uispos = 0;
}
return 0;
}
int readelement(int& ielement) {
if (uirpos == uispos) {
printf("ERROR_RINGPUFFER_EMPTY\n");
return ERROR_RINGPUFFER_EMPTY;
}
ielement = iArray[uirpos];
uinumelements--;
uirpos++;
if (uirpos >= RINGPUFFER_SIZE) {
uirpos = 0;
}
return 0;
}
void printArray() {
cout << "Print Array" << endl;
for (unsigned int i = 0; i < RINGPUFFER_SIZE; i++) {
printf("Index: %i --> %i", i, iArray[i]);
if (i == uirpos) {
printf(" --> Lesezeiger");
}
if (i == uispos) {
printf(" --> Schreibzeiger");
}
printf("\n");
}
cout << endl;
}
};
class IOChannel {
private:
ringpuffer rpA[3];
public:
IOChannel() {
//rpA[0] = new ringpuffer();
}
int storeelement(unsigned int uichannel, int ielement) {
return rpA[uichannel].storeelement(ielement);
}
int readelement(unsigned int uichannel, int& ielement) {
return rpA[uichannel].readelement(ielement);
}
};
int main() {
int res;
int* i = &res;
IOChannel* ioc = new IOChannel();
ioc->storeelement(0, 5);
ioc->storeelement(1, 10);
ioc->storeelement(2, 15);
ioc->readelement(0, res);
printf("Read: %i\n\n", res); //5
ioc->readelement(2, res);
printf("Read: %i\n\n", res); //15
ioc->readelement(1, res);
printf("Read: %i\n\n", res); //10
}

108
Uebungen/02_CPP04.cpp Normal file
View File

@ -0,0 +1,108 @@
#include <iostream>
using namespace std;
class Shape {
protected:
static int inumberofinstances;
public:
static void printInstanzen() {
printf("Instanzen %i \n", Shape::inumberofinstances);
}
virtual void draw() {
}
virtual ~Shape() {
}
Shape() {
}
};
class Triangle: public Shape {
public:
void draw() {
printf("Zeichne Triangle \n");
}
~Triangle() {
printf("Zerstoere Triangle\n");
Shape::inumberofinstances--;
}
Triangle() {
printf("Erstelle Triangle\n");
inumberofinstances++;
}
};
class Circle: public Shape {
public:
void draw() {
printf("Zeichne Circle \n");
}
~Circle() {
printf("Zerstoere Circle\n");
Shape::inumberofinstances--;
}
Circle() {
printf("Erstelle Circle\n");
Shape::inumberofinstances++;
}
};
class Rectangle: public Shape {
public:
void draw() {
printf("Zeichne Rectangle \n");
}
~Rectangle() {
printf("Zerstoere Rectangle\n");
Shape::inumberofinstances--;
}
Rectangle() {
printf("Erstelle Rectangle\n");
Shape::inumberofinstances++;
}
};
int Shape::inumberofinstances = 0;
int main(int argc, char *argv[]) {
Triangle* tri = new Triangle();
Circle* cir = new Circle();
Rectangle* rec = new Rectangle();
printf("\n");
Shape* shapes[10] = { };
shapes[0] = tri;
shapes[1] = cir;
shapes[2] = rec;
shapes[0]->draw();
shapes[1]->draw();
shapes[2]->draw();
Shape* shp = new Shape();
shp->printInstanzen();
printf("\n");
tri->~Triangle();
cir->~Circle();
rec->~Rectangle();
printf("\n");
shp->printInstanzen();
return 0;
}

116
Uebungen/02_CPP05.cpp Normal file
View File

@ -0,0 +1,116 @@
/*
* 02_CPP05.cpp
*
* Created on: 17.06.2018
* Author: hendrik
*/
#include <iostream>
#include <math.h>
using namespace std;
class Complex {
private:
double real;
double img;
public:
Complex(double real, double img) {
this->real = real;
this->img = img;
}
Complex(const Complex& c) {
this->real = c.real;
this->img = c.img;
}
void print() {
cout << real << " + j" << img << "\n";
}
Complex operator+(const Complex& c) {
Complex temp(0, 0);
temp.real = real + c.real;
temp.img = img + c.img;
return temp;
}
Complex operator-(const Complex& c) {
Complex temp(0, 0);
temp.real = real - c.real;
temp.img = img - c.img;
return temp;
}
Complex operator*(const Complex& c) {
Complex temp(0, 0);
temp.real = (real * c.real) - (img * c.img);
temp.img = (real * c.img) + (c.real * img);
return temp;
}
Complex operator/(const Complex& c) {
Complex temp(0, 0);
double div = (pow(c.real, 2)) + (pow(c.img, 2));
temp.real = ((real * c.real + img * c.img) / div);
temp.img = ((img * c.real - real * c.img) / div);
return temp;
}
Complex operator!() {
Complex temp(0, 0);
temp.real = (real) / (pow(real, 2)) + (pow(img, 2));
temp.img = (img) / (pow(real, 2)) + (pow(img, 2));
return temp;
}
friend ostream& operator<<(ostream& ostr, const Complex& c) {
ostr << c.real << "+j" << c.img;
return ostr;
}
};
int main() {
Complex R1 = Complex(50, 0);
Complex R2 = Complex(50, 0);
Complex R3 = Complex(100, 0);
Complex R4 = Complex(200, 0);
Complex XC1 = Complex(0, -100);
Complex XC2 = Complex(0, -100);
Complex XL1 = Complex(0, 100);
Complex XL2 = Complex(0, 100);
Complex XL3 = Complex(0, 50);
Complex Z = Complex(0, 0);
Complex A = Complex(0, 0);
Complex B = Complex(0, 0);
Complex C = Complex(0, 0);
Complex D = Complex(0, 0);
Complex E = Complex(0, 0);
Complex F = Complex(0, 0);
A = (XL1 + R1);
B = (XC1 + R2);
C = (XC2 + R3 + XL3);
D = (XL2 + R4);
E = (A * B) / (A + B);
F = (C * D) / (C + D);
Z = E + F;
Z.print();
return 1;
}

View File

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465" name="Debug" parent="cdt.managedbuild.config.gnu.cross.exe.debug">
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.debug.1225904345" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.debug">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.2096691548" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/C_Praktikum}/Debug" id="cdt.managedbuild.builder.gnu.cross.747716875" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.467426346" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1262564331" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.91277586" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1109571551" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.1670501909" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.906359126" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.debugging.level.116847101" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1906614957" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1165682139" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1270038392" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.2136186082" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.1137298612" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.563372087" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.739127417" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.release.923820403">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.release.923820403" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.release.923820403" name="Release" parent="cdt.managedbuild.config.gnu.cross.exe.release">
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.release.923820403." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.release.617370152" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.release">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.846428484" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/C_Praktikum}/Release" id="cdt.managedbuild.builder.gnu.cross.2127843332" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.679461085" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.38236424" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.1158273005" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.none" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1202367249" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.1542962968" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.1477487807" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.debugging.level.870645697" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.916562889" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.945130782" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1062463594" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.286850790" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.959065276" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.719669717" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1747819506" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="C_Praktikum.cdt.managedbuild.target.gnu.cross.exe.37676306" name="Executable" projectType="cdt.managedbuild.target.gnu.cross.exe"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.release.923820403;cdt.managedbuild.config.gnu.cross.exe.release.923820403.;cdt.managedbuild.tool.gnu.cross.c.compiler.679461085;cdt.managedbuild.tool.gnu.c.compiler.input.1202367249">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.release.923820403;cdt.managedbuild.config.gnu.cross.exe.release.923820403.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.1542962968;cdt.managedbuild.tool.gnu.cpp.compiler.input.916562889">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465;cdt.managedbuild.config.gnu.cross.exe.debug.1302105465.;cdt.managedbuild.tool.gnu.cross.c.compiler.467426346;cdt.managedbuild.tool.gnu.c.compiler.input.1109571551">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.debug.1302105465;cdt.managedbuild.config.gnu.cross.exe.debug.1302105465.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.1670501909;cdt.managedbuild.tool.gnu.cpp.compiler.input.1906614957">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
</cproject>

View File

@ -1 +0,0 @@
/Debug/

1
src/02_CPP06.d Normal file
View File

@ -0,0 +1 @@
src/02_CPP06.o: src/02_CPP06.cpp

BIN
src/02_CPP06.o Normal file

Binary file not shown.