自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Redcap's Coding World

a place for a beginner in programming to share his learning experience

  • 博客(17)
  • 收藏
  • 关注

原创 [SICP Notes] 1.1 The Elements of Programming

About the BookTo know more about programming, I have decided to start reading the famous Structure and Interpretation of Computer Programs (SICP, or the Wizard Book), which is first published by M

2014-07-26 00:14:34 888

原创 UVa 151 - Power Crisis

The ProblemDuring the power crisis in New Zealand this winter (caused by ashortage of rain and hence low levels in the hydro dams), acontingency scheme was developed to turn off the power to areas o

2014-07-23 21:15:20 943

原创 A Simple Example About Privileged Methods in JavaScript

Douglas Crockford classified the "class methods" in JavaScript into three types:private, privileged and public.Public methods have an obvious meaning: they can be accessed by the public.Priv

2014-07-19 01:28:34 1470

原创 Prototype and Constructor in JavaScript

The concept of prototype in JavaScript is very confusing, especially to those who come with a C++/JAVA/... background. As an OOP langauge, JavaScript is very different from the languages with class. I

2014-07-08 23:26:43 995 1

原创 Difference Between == and === : A Simple Comparison

Beginners in JavaScript may be confused with the two equal operators, === and ==. So what is the difference between them?

2014-07-05 01:59:12 812

原创 Using "return false;" in onclick Event in JavaScript

In my job, I have read the html files of many static webpages. It

2014-06-27 22:05:51 999

原创 [CPPHTP7 NOTES] CH8. POINTERS(6) Simpletron Computer Simulator

(Exercise 8.18 Machine-Language Programming + Exercise 8.19 Computer Simulator)

2014-06-26 22:35:36 2345

原创 Using parseInt() - the Interesting Facts

From Mozilla Developer Network(MDN)SummaryThe parseInt() function parses a string argument and returns an integer of the specified radix or base.SyntaxparseInt(string, radix);P

2014-06-23 23:32:37 1061

原创 UVa 10189 - Minesweeper

// 10189 - Minesweeper#include using namespace std;int main(){ int n; // number of lines int m; // number of columns int num = 1; // number of field char field[110][110]; // 0 < n,m <= 100

2014-06-22 18:11:43 701

原创 [CPPHTP7 NOTES] CH8. POINTERS(5) - Maze Traversal

(Exercise 8.16 Maze Traversal) This exercise takes me quite a long time to finish.

2014-06-22 17:05:29 1701

原创 [CPPHTP7 NOTES] CH8. POINTERS(4)

(Exercise 8.15) This exercise is a classic! It asks the readers to write a quick sort function

2014-06-21 22:56:51 714

原创 [CPPHTP7 NOTES] CH8. POINTERS(3)

(Exercise 8.14) In this exercise, a piece of code is given. Readers are asked to guess what the program does. I

2014-06-20 23:10:17 651

原创 UVa 10812 - Beat the Spread!

Superbowl Sunday is nearly here. In order to pass the time waiting for the half-time commercials and wardrobe malfunctions, the local hackers have organized a betting pool on the game. Members place

2014-06-20 00:45:48 1418

原创 UVa 11799 - Horror Dash

It is that time of the year again! Colorful balloons and brightly colored banners spread out over your entire neighborhood for just this one occasion. It is the annual clown's festival at your local s

2014-06-19 23:45:16 834

原创 UVa 11559 Event Planning

As you didn't show up to the yearly general meeting of the Nordic Club of Pin Collectors, you were unanimously elected to organize this years excursion to Pin City. You are free to choose from a numbe

2014-06-19 22:22:16 854

原创 [CPPHTP7 NOTES] CH8. POINTERS(2)

(Exercise 8.12) In this exercise, I am asked to write a program to simulate the

2014-06-19 21:26:36 804

原创 [CPPHTP7 NOTES] CH8. POINTERS(1)

Here comes my first reading notes for C++ How to Program 7/e, which is in detailed and inspire me a lot. After abandoning the book for long, now I pick up it again and start reading it from Chapter 8:

2014-06-18 23:04:48 616

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除