C++ 漫漫长路
AK
posted @ 2012年2月23日 05:29
in 未分类
, 2161 阅读
从大学的第一门计算机课程《计算机导论》开始,老师就说c++是一门不容易的语言。一朝被蛇咬,十年怕草绳,这门语言给我们的印象是疯子才会去搞的东西,似乎神圣不可侵犯。听到指针,模板什么的,腿软了么,蛋疼了么。
人在江湖漂,哪能不骚包。由于做的东西涉及到cocos2d-x这框架,为了生活,学习下c++吧。
蛋疼从今天开始,下载了virtual box,上了ubuntu。GNU Compiler Collection应该有吧,g++ --help ,行了,touch了个file,HelloWorld.cc,然后g++ HelloWorld.cc 编译了a.out文件,./a.out,执行完成了。
#include <iostream> int main() { std::cout<<"HelloWorld"<<std::endl; return 0; }
std::名字空间,std::cout<<"HelloWorld"返回cout对象,所以可以连起来std::cout<<"HelloWorld"<<std::endl;,endl刷缓冲区,换行什么的,return 0正常返回
2020年9月02日 01:46
Eu posso definir minha nova idéia a partir deste post. Ele fornece informações detalhadas. Obrigado por esta informação valiosa para todos.
2024年1月16日 01:40
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
2024年2月03日 19:17
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月03日 19:40
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月03日 19:57
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates whatever point you may require it. The reason behind discussing the dua for your sweetheart back is to get your cherished one back, who has cut off an adoration friendship with you. This dua for my darling back is someone who can't confront partition with their cherish
2024年2月03日 20:03
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.
2024年2月03日 20:17
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post.
2024年2月03日 20:26
I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs…
2024年2月03日 20:42
I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs…
2024年2月03日 20:54
Because these internet companies don't have to front the expense of a shop, they can reduce the costs of their products and offer the consumers a really good deal.
2024年2月03日 20:57
Excellent goods from you, I have understood your stuff previous to and you are simply extremely fantastic. I actually like what you’ve obtained right here, really like what you are saying and the way in which by which you are saying it. You are making it enjoyable and you still care to stay sensible. I can’t wait to read much more from you. This is really a wonderful
2024年2月03日 21:06
But what a delight!!!...after watching your video I decided, I prepared them and sold them Tooodas for this Valentine's Day, it was not only the fact of learning how to make cookies, you definitely increased my self-esteem!! Thank you Alma, greetings from Gto, méx. ....keep us illustrating and sharing your wonderful recipes!!
2024年2月03日 21:13
This article is truly interesting resulting to there's such an extensive number of accommodating data inside. Express appreciation toward you.We require more data like this consistently. Trust you'll reliably redesign this web in the future.We require more data like this once per day. Trust you'll as often as possible redesign this web in the future.This article is truly interesting resulting to there's such an extensive number of profitable data inside. Thankful to you.
2024年2月03日 21:27
This article is truly interesting resulting to there's such an extensive number of accommodating data inside. Express appreciation toward you.We require more data like this consistently. Trust you'll reliably redesign this web in the future.We require more data like this once per day. Trust you'll as often as possible redesign this web in the future.This article is truly interesting resulting to there's such an extensive number of profitable data inside. Thankful to you.
2024年2月03日 21:41
definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!
2024年2月03日 21:47
Generate Eco-Friendly Hand made Cleaning Methods – If you ever don’t prefer to spend some huge cash in shopping for green carpet cleaning service solutions in that case making eco-friendly hand made cleaning methods is a person option that you may try. There will be many domestic items that you can use to generate effective plus eco-friendly cleaning up solutions just like vinegar.
2024年2月03日 21:59
I honestly appreciate the blog you have posted. Really looking forward to this kind of words.
2024年2月03日 22:04
I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
2024年2月03日 22:10
I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
2024年2月03日 22:47
My girlfriend never stops blowing my mind with this series which is filmed near her house x)
2024年2月03日 22:51
This is exactly every bit as an outstanding written content my spouse and i pretty genuinely appreciated checking out. It is not continuously i own probable to exercise a worry.
2024年2月03日 23:01
Long term relations are the consequence of superb Agencies and our Escorts multiple Sessions Price from various inception have the ability to do it. We regard your protection, Per shot Starts INR 10000 we never reveal your personality at any cost that makes us solid Escorts in Delhi.
2024年2月03日 23:12
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月03日 23:19
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月03日 23:31
You make so many great points here that I read your article a couple of times. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.Wow i can say that this is another great article as expected of this blog.Bookmarked this site..
2024年2月03日 23:58
One of these days, I'm going to watch and I'm going to love it ^^
2024年2月04日 00:15
Outstanding post, I think blog owners should larn a lot from this website its rattling user friendly .
2024年2月04日 00:58
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月04日 01:15
I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
2024年2月04日 01:29
My girlfriend never stops blowing my mind with this series which is filmed near her house x)
2024年2月04日 01:34
This is exactly every bit as an outstanding written content my spouse and i pretty genuinely appreciated checking out. It is not continuously i own probable to exercise a worry.
2024年2月04日 01:41
Long term relations are the consequence of superb Agencies and our Escorts multiple Sessions Price from various inception have the ability to do it. We regard your protection, Per shot Starts INR 10000 we never reveal your personality at any cost that makes us solid Escorts in Delhi.
2024年2月04日 01:50
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月04日 02:00
Appreciates for the purpose of penmanship a truly helpful line, To look at manifested next to your webblog except quote two enable. Iwould want varieties build up regarding manuscript...
2024年2月04日 02:43
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates whatever point you may require it. The reason behind discussing the dua for your sweetheart back is to get your cherished one back, who has cut off an adoration friendship with you. This dua for my darling back is someone who can't confront partition with their cherish
2024年2月04日 02:48
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.
2024年2月04日 03:06
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post.