So I would like to explain anything in the easiest way. In every blog, I will list specific objectives, prerequisites and the article is all about achieve these objectives.
Most blogs are about shortcuts that I accumulate during the process of daily research. Many ideas come from other experts' technical blogs but I modify them into a much simpler way to share.
Here is an example. As simple as possible.
------------------------------------------
Objectives:
To implement the easiest programs in Java and C++.
Prerequisite:
As long as you have install JDK and Dev-CPP in your computer.
OK. Let's go. I assume you know nothing about programming. Just copy these codes into any code editor (such as UltraEdit). Compile and run.
Java Implementation
public class HelloWorld{ public static void main(String[] args){ System.out.println("helloWorld"); } }
C++ implementation
#include<iostream> using namespace std; int main() { cout<<"Welcome to my digital world!"<<endl; return 0; }
In each codes, only one line makes a little sense, right? For other lines we don't have to change regularly. If you see "Welcome to my digital world!" on the screen, class is over.
没有评论:
发表评论