diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..691a8f6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "C_Cpp.errorSquiggles": "Disabled" +} \ No newline at end of file diff --git a/class config b/class config deleted file mode 100644 index ecab519..0000000 --- a/class config +++ /dev/null @@ -1,18 +0,0 @@ -class config{ - Type type - - config(){ - - type=new Type(); - - } - - void setType(char* value){ - - type->setType() - } - string getType(){ - type->getType(); - } - } - diff --git a/classconfig.h b/classconfig.h new file mode 100644 index 0000000..ac696b6 --- /dev/null +++ b/classconfig.h @@ -0,0 +1,23 @@ +#ifndef config_h + +class configlibre +{ + configLib(); + char *printTest(); +}; +#endif + +class config{ + Type type; + config(){ + type=new Type(); + } + + void setType(char* value){ + type->setType() + + } + String getType{ + type->getType(); + } +}; diff --git a/lib/class config/class config.cpp b/lib/class config/class config.cpp index 4eaea6f..4f24945 100644 --- a/lib/class config/class config.cpp +++ b/lib/class config/class config.cpp @@ -8,28 +8,21 @@ String config: :getType(){ } void config: :setType(){ - return type->setType(); + type->setType(); } - class config{ - Type type; - config(){ - type=new Type(); - - } - + void setType(char* value){ - type->setType() + type->setType(); } String getType{ - type->getType(); - + type->getType(); + return type; } - -} +};