Hi, was mache ich falsch? cpp-Datei:
1 | #include "myclass.h" |
2 | |
3 | void MeineKlasse::a() |
4 | {
|
5 | |
6 | }
|
7 | |
8 | void MeineKlasse::b() |
9 | {
|
10 | |
11 | }
|
12 | |
13 | uint16_t MeineKlasse::c() |
14 | {
|
15 | return 0x000; |
16 | }
|
Header-Datei:
1 | #ifndef MYCLASS_H
|
2 | #define MYCLASS_H
|
3 | |
4 | class MeineKlasse |
5 | {
|
6 | void a(); |
7 | void b(); |
8 | |
9 | uint16_t c(); |
10 | |
11 | };
|
12 | |
13 | #endif
|
Es kommt die Fehlermeldung: Compiler Error 20 The compiler doesn't recognize the name of a variable or class you are trying to reference. Was mache ich falsch?