Having this error .
Symbol '_moblet' is already defined,
any ways to solve?
i have add in the file for u guys to take a look.
| Attachment | Size |
|---|---|
| Test1.zip | 97.31 KB |
Having this error .
Symbol '_moblet' is already defined,
any ways to solve?
i have add in the file for u guys to take a look.
| Attachment | Size |
|---|---|
| Test1.zip | 97.31 KB |
still working on this error . anyone could give some idea?
Hi, you've got moblet defined twice, and out of the scope of any specific class, so when it says '_moblet' is already defined, you can read that as 'moblet' (your variable MyMoblet*) has already been defined - once in main.cpp and once in EditBoxScreen.cpp. It doesn't like it that you've created two variables with the same name.
than wat should i do? change the name to MyMoblets? ( with additional 's') or ??
i have create this
MyMoblet *moblet;
in my both main.cpp, editboxscreen.cpp
so i just need to change editboxscreen.cpp
to
MyMoblet *moblets; ??