AK's Blog

我必须强大到,任何事情都不能打破我内心的平和。

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正常返回

 

 

Avatar_small
Comprar seguidores 说:
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.

Avatar_small
seo service london 说:
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..

Avatar_small
먹튀폴리스 说:
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... 

Avatar_small
카지노탐구생활 说:
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... 

Avatar_small
토토사이트추천 说:
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

Avatar_small
사설토토사이트 说:
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.

Avatar_small
먹튀검증커뮤니티 说:
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.

Avatar_small
안전놀이터가입 说:
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…

Avatar_small
ok토토먹튀검증 说:
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…

Avatar_small
먹튀검증 说:
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.

Avatar_small
토토검증커뮤니티 说:
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

Avatar_small
바카라사이트 说:
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!!

Avatar_small
안전토토사이트 说:
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.

Avatar_small
안전놀이터 说:
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.

Avatar_small
메이저사이트 说:
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!

Avatar_small
토토사이트검증 说:
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.

Avatar_small
개구리먹튀검증 说:
2024年2月03日 21:59

I honestly appreciate the blog you have posted. Really looking forward to this kind of words.

Avatar_small
카지노쿠폰 说:
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.

Avatar_small
카지노사이트목록 说:
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.

Avatar_small
토토사이트추천 说:
2024年2月03日 22:47

My girlfriend never stops blowing my mind with this series which is filmed near her house x)

Avatar_small
แนะนำเว็บไซต์แทงบอล 说:
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. 

Avatar_small
먹튀사이트 说:
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.

Avatar_small
토토사이트검증 说:
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... 

Avatar_small
토토사이트홍보 说:
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... 

Avatar_small
안전토토사이트 说:
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..

Avatar_small
먹튀검증 说:
2024年2月03日 23:58

One of these days, I'm going to watch and I'm going to love it ^^

Avatar_small
먹튀검증커뮤니티 说:
2024年2月04日 00:15

Outstanding post, I think blog owners should larn a lot from this website its rattling user friendly .

Avatar_small
메이저토토사이트 说:
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... 

Avatar_small
사설토토 说:
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.

Avatar_small
카지노사이트 说:
2024年2月04日 01:29

My girlfriend never stops blowing my mind with this series which is filmed near her house x)

Avatar_small
토토사이트순위 说:
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. 

Avatar_small
메이저놀이터순위 说:
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.

Avatar_small
먹튀사이트 说:
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... 

Avatar_small
안전토토사이트 说:
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... 

Avatar_small
안전놀이터모음 说:
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

Avatar_small
먹튀검증사이트 说:
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.

Avatar_small
먹튀검증커뮤니티 说:
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.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter