Carbide c++ doesn't pre-check the syntax error
the carbide c++ v3.2 doesn't check the syntax until the code was built. I mean when you change the code, until you press the build button, it's doesn't warn or suggest any thing.
an other example:
[CODE]class MyBase{
public:
MyBase(int a){
}
}
class MyDerived:public MyBase{
}
int E32main(){
MyDerived tem;
}
[/CODE]
carebide doesn't warn that error will happen if that code were built.
Is there any plug in which could help me do that. (the suggestions of carbide is too low).
my carbide version is express edition. may the developer edition could help me do that. if so, could you tell me how to upgrade to the developer edition?
Re: Carbide c++ doesn't pre-check the syntax error
[QUOTE=harunaga;909258]the carbide c++ v3.2 doesn't check the syntax until the code was built. I mean when you change the code, until you press the build button, it's doesn't warn or suggest any thing.
...
carebide doesn't warn that error will happen if that code were built.
Is there any plug in which could help me do that. (the suggestions of carbide is too low).[/QUOTE]Honestly said I have not seen such feature in C/C++ environments. Yes, I know that Java tools do it for example.[QUOTE]my carbide version is express edition. may the developer edition could help me do that. if so, could you tell me how to upgrade to the developer edition?[/QUOTE]Carbide.c++ is completely free starting from its version 2.0, you can pick any configuration when you are installing it. In fact I do not think there would be any express edition for 2.x and 3.x. Re-installing Carbide.c++ will not teach it validating C/C++ code anyway, that feature would come from Eclipse CDT ([url]http://www.eclipse.org/cdt/[/url]), and not even the latest version has such feature. "Build automatically" is the closest thing you can get, it rebuilds the project whenever you save a source file. It is extremely disturbing in my opinion even on a fast machine with lots of RAM.
Re: Carbide c++ doesn't pre-check the syntax error
Try 2 ways below
1.Press key F5 after you altered the code;
2.Close the file you edit and reopen it.
If it still doesn't pre-check ,I also think it's a bug.
Re: Carbide c++ doesn't pre-check the syntax error
[QUOTE=r60600;909307]Try 2 ways below
1.Press key F5 after you altered the code;
2.Close the file you edit and reopen it.
If it still doesn't pre-check ,I also think it's a bug.[/QUOTE]
how to make it's built automatically, mine is not yet.
[url=http://www.upanh.com/untitled-1_upanh/v/bvkfdp3g7ms.htm][img]http://nu5.upanh.com/b4.s34.d1/8c6352f8c27f9e531846902c2d519687_52643545.untitled1.jpg[/img][/url]
Re: Carbide c++ doesn't pre-check the syntax error
how to add suggestion for the keyword this in carbide
when I type th, carbide don't suggest the keyword "this"
the same happen to keyword "void"
how to fix this
thanks.
Re: Carbide c++ doesn't pre-check the syntax error
It seems to be an Eclipse-thing, as it does not work reliably for Java either, most keywords are not completed. If you really need these things, you can add templates (Window, Preferences, C/C++, Editor, Templates). A specific thing about Symbian is that most of the types are not part of the language, but coming from header files, and thus completion of TInt and similar Symbian C++ types works fine.
Re: Carbide c++ doesn't pre-check the syntax error
thanks. template really solved my problem.
but my carbide is still build automatically after I save my code ( please see my picture). how to fix this.
just one more thing. I followed the article to use RDebug. [url]http://www.developer.nokia.com/Commu..._to_use_RDebug[/url]
but I can't find the Debug Message Console. how can I filter the output from emulator. just the info I want to print from RDebug::print
I only find the emulator program output console and It prints too many things to the console.
I works with Carbide 3.3.0 and there is no "view process output" and "Debug message" to enable.
thanks in advance.
Re: Carbide c++ doesn't pre-check the syntax error
[QUOTE=harunaga;909838]
but my carbide is still build automatically after I save my code ( please see my picture). how to fix this. [/QUOTE]
there are some settings under Window->Preferences:
General->Workspace
C/C++ -> Build
Carbide C++ -> Build
regards
pg
Re: Carbide c++ doesn't pre-check the syntax error
thanks. It works now.
now, could you tell me how to filter the out put to the screen. when I use RDebug::print to print debug info but the emulator out put all to the screen. I'm using carbide 3.3.
Re: Carbide c++ doesn't pre-check the syntax error
There do not seem the be too much built-in settings about the Console, as you must have noticed, it is controlled in Window/Preferences/ Run/Debug /Console
Anyway, this topic fits better to [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?238862-output-to-IDE-console[/url]
Yet again, Carbide.c++ is an Eclipse-based thing, consider searching for [b]eclipse filter console output[/b] with Google, you will find ideas.