If you write a CSDN blog

1. Compile the program and add header comments

      Write the program as required, and run the program that meets the established requirements (add necessary comments to the main body of the program). On this basis, further edit the program, add comments before the program, and add necessary comments to the program, which is professional. The basic qualities that programmers should have. These annotations in the blog post are also convenient for your readers. Common program header comments are given below for reference

/* 
* Author:  
* Problem Analysis: 
*/  
       "Paste" the above text into your program, and then "fill in the blank" according to the characteristics of the task to be completed, and complete it. The program after adding comments is in VC++6.0


        In order to make the program typesetting conform to the specification, you can use the tools provided in VC++6.0 to make the code "automatic typesetting". The method is: "Select All" program (with Ctrl-A), click "Edit" menu, select "Advanced", and then select "Format Selection". The shortcut to do this is: Ctrl-A (select all), then Alt-F8 (ie "Format Selection" above), or if you're using CodeBlocks, use the Source code formatter command in the Plugins menu.

2. "Screenshot" the running result of the program and save it as a picture file for later use

       Screenshot method: Ensure that the running result is displayed on the screen, adjust the output window to an appropriate size , press alt+print screen on the keyboard (this key is in the upper right corner of the keyboard), and the screen can be copied to the clipboard. Then open the "Program" -> "Accessories" -> "Brush" program, click "Paste" in the "Edit" menu, and then click "Save" in the "File" menu to save the picture to a separate file.

3. Post a blog post

(1) Enter CSDN, enter the account number and password, start blogging, and write the basic format


(2) Insert code

(3) Insert the running result

关于水印:如果你想防止图片被别人盗用,可以在上传图片时自己选择水印添加位置以及是否添加水印,水印内容为用户的博客地址。若选择的为“中间水印”,则水印在图片中间;若选择的为“右下水印”,则水印在图片右下角;若选择“无水印”,则上传的图片没有水印。
(4)完善其它内容
(5)发表文章
       点击页面最下面的发表文章,从菜单中选择“普通发表”。

特别提示:
        用“代码”工具插入程序,否则不能出现如图所示的漂亮结果。由于在博客文章中插入的代码使用了特殊的“插件”,请在编辑博文中,尽量将在 VC++6.0 中编辑好的程序插入后不再修改,否则会引发格式上的混乱(你如果掌握了 HTML 语言,这个混乱很容易修正)。如果实在乱了,可以将对部分删除后重新插入。
       用“图片”工具插入图片,需要先“上传”,所以会操作两个窗口。在最后的上机总结,请简要说明你对知识点的总结、在实验中的收获、解决所遇到问题的方法 ,以及其他感想等。可以不断给自己打打气。总结将成为你和老师、同学及所有博友之间交流的最有效的话题。

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325650398&siteId=291194637