kleinere Änderungen
This commit is contained in:
parent
c318f26d43
commit
578d0bedc4
|
@ -6,9 +6,13 @@
|
|||
#include "SequenceDiagramCreator.h"
|
||||
|
||||
SequenceDiagrammCreator::SequenceDiagrammCreator() {
|
||||
std::cout << "main()->SequenceDiagramCreator: contstruct" << std::endl;
|
||||
std::cout << "main()->SequenceDiagramCreator: construct" << std::endl;
|
||||
}
|
||||
|
||||
SequenceDiagrammCreator::~SequenceDiagrammCreator() {
|
||||
std::cout << "SequenceDiagramCreator->main(): destruct" << std::endl;
|
||||
}
|
||||
|
||||
void SequenceDiagrammCreator::test(int var) {
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
//
|
||||
class SequenceDiagrammCreator {
|
||||
|
||||
private:
|
||||
int localVar;
|
||||
|
||||
public:
|
||||
SequenceDiagrammCreator();
|
||||
|
||||
~SequenceDiagrammCreator();
|
||||
|
||||
void test(int var);
|
||||
static int staticVar;
|
||||
};
|
|
@ -1,6 +1,10 @@
|
|||
#include <iostream>
|
||||
#include "SequenceDiagramCreator.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
std::cout << "title Hallo Welt" << std::endl;
|
||||
|
||||
auto sdc = new SequenceDiagrammCreator();
|
||||
|
||||
delete sdc;
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// Created by JThei on 17.06.2018.
|
||||
//
|
||||
|
||||
#include "Test.h"
|
||||
|
||||
char *s = "1.0";
|
||||
|
||||
auto b = s;
|
||||
|
||||
auto a = s[2];
|
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// Created by JThei on 17.06.2018.
|
||||
//
|
||||
|
||||
#ifndef TEST_BUILD_TEST_H
|
||||
#define TEST_BUILD_TEST_H
|
||||
|
||||
|
||||
class Test {
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //TEST_BUILD_TEST_H
|
Loading…
Reference in New Issue