2010年12月8日星期三
Start C++
today 3rd day to exercise
must 持之以恒 ah !! if not sure wont thin LOL
just now 心血来潮 go learn C++
tot very hard de... but then after understand those code then feel not too hard le
finally know what is {cout << "xxx"} and {cin >> "xxx"}
cout = console output ba? LOL cin = console input
declare become so simple jor LOL...
in vb still nid put "Dim XXX As Integer"...in C++ straight use "Int XXX"
when use If(statement) ... "x == y" not "x=y"
maybe this is 传说中的“恒等于” gua LOL
and very careless de is always will forget to put semicolon ; after a statement
then compile will fail
but the infront de #include no nid semicolon
coz it not statement
int main () also no need semicolon coz it is function ?
anything la...hope can learn as much as possible
to gain more knowledge and skills
then next time go college will be an advantage
coz the syntax for Java, C and C++ almost same
订阅:
博文评论 (Atom)
没有评论:
发表评论