![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程、读书笔记
文章平均质量分 51
shane_zhou
一只不断前行的程序猿
走在奔三的第三年
展开
-
烫与屯的问题
刚接触编程的同学一定遇到过这个问题:好不容易写出来的程序,一运行, 黑框框里面显示烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫或者屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯这是未初始化变量导致的。当你编译处于Debug模式下的Visual Studio的程序时候,你会发现申请或销毁的内存具有奇怪的值,比如:0xCDCDCDCD或者0原创 2014-12-03 19:45:54 · 1425 阅读 · 0 评论 -
[随笔]在ubuntu下安装tftp服务器
安装tftp服务器的文章网上有很多,但是有些人成功了,有些人不成功。这里记录下我的所有的操作步骤,以便日后查看;1.下载服务器 sudo apt-get install tftpd tftp xinetd2. 建立tftp服务器配置文件vim /etc/xinetd.d/tftp在配置文件中输入以下内容service tftp{ socket_type = dgra原创 2015-01-14 16:58:58 · 671 阅读 · 0 评论 -
【随笔】uboot到sd卡
sudo dd iflag=dsync oflag=dsync if=spl/tiny210-spl.bin of=/dev/sdc seek=1sudo dd iflag=dsync oflag=dsync if=u-boot.bin of=/dev/sdc seek=49原创 2015-01-21 22:12:37 · 644 阅读 · 0 评论 -
【随笔】eclipse cdt 添加自动补全功能
自动代码补全完全是一个改善生活质量的功能呀!cdt拥有自动代码补全功能,只是我们没有打开而已1. 绑定快捷方式 1. windows -> preferences ->general->keys 在搜索框输入 template然后在binding 中输入 alt+/2. 开启自动填充功能windows -> preferences -> c/c++ -> edi原创 2015-03-03 16:15:50 · 8597 阅读 · 0 评论 -
c#异步socket
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace server{ class Program { //服务端buffer为4字节原创 2015-08-29 00:20:44 · 683 阅读 · 0 评论 -
docker实践(1) 在ubuntu15.10里面安装docker
新建一个脚本 内容如下#!/bin/bash sudo apt-get install software-properties-common #增加 add-apt-repository 命令sudo apt-get install python-software-properties sudo add-apt-repository ppa:dotcloud/lxc-docker #增加一个原创 2015-10-31 00:07:57 · 2199 阅读 · 0 评论