Hi,
I don't know how to call you. So ignored.
I am using OpenSuse for a few weeks , and now i am learning how to use
Kdevelop by reading its handbook, and trying to translate this handbook to
Chinese simplendid when I read it. I am a beginner of C++,also a beginner of
coding. As I am a machanical engineer, coding is just my hobby in spear
time. I wish this translation would do some help for others.
At blow, it's the translation for chapter 1 "What is Kdevelop?".
?1?. KDevelop??
KDevelop??????????????IDE??????C++??????
??????linux?Kde??????????????Gnome??????
?????unix??unix????windows??????
Kdevelop?????IDE??????????????????????
?????????C++?Kdevelop???????????????????
Class???Class???????????????????????????
??
???
class car {
// ...
public:
std::string get_color () const;
};
????????????????
Car my_ride;
// ...do something with this variable...
std::string color = my_ride.ge
Kdevelop??????????? my_ride ??? Class Car ???
??????? get_color() ?????????????????????
? .ge ?? get_color() ??. ????????????,?Enter?K-
develop????????. ?????????,??????,??????
?????????????? functions ? classes ?????.
???,?????????:
double foo()
{
double var = my_func();
return var * var;
}
double bar()
{
double var = muy_func();
return var * var * var;
}
???????? function bar ??? var ?,??????????
? var ?????.???????? var ,?????????? functi-
on bar ??? var ?????,?????,???Kdevelop?? functi-
ion foo ???? var ?????????.
Kdevelop??????????????????????????????.
???????????????,????????????,?????? G-
NU debugger ?? gdb ?????.?????? function ???,Kdev-
elop??????????,????????????????????????
?.??,kdevelop????????????.
Best regards
Guo Yang