上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 一、编写C语言的源代码 二、用gcc -c C文件名生成.o文件 三、用gcc -o 可执行文件名 .o文件名 生成可执行文件 四、输入可执行文件名前加./执行可执行文件 阅读全文
posted @ 2016-09-09 18:09 胡卫雄 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 用JAVA编写程序,输入半径和高,通过圆柱的底面积公式和体积公式来计算圆柱的底面积和体积! eg: 代码: import java.util.Scanner;public class bb{ public static void main(String[] args){ final double P 阅读全文
posted @ 2016-09-06 19:02 胡卫雄 阅读(1087) 评论(0) 推荐(0) 编辑
摘要: 代码: import javax.swing.*;public class bb{ public static void main(String[] args){ String input = JOptionPane.showInputDialog(null,"Enter a degree in C 阅读全文
posted @ 2016-09-06 18:48 胡卫雄 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 答案:(100+2)%7=4; 所以100天之后是星期四 阅读全文
posted @ 2016-09-06 18:31 胡卫雄 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: details是h5新增的交互元素,details与 summary 标签配合使用可以为 details 定义标题。默认情况下,不显示 details 标记中的内容。当用户点击标题时,会显示出 details。 details元素的常用属性如下: open:值为open,功能是定义details是否 阅读全文
posted @ 2016-07-23 11:06 胡卫雄 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 一、在自己的项目文件中使用npm下载vue npm install vue 二、在文件中引入vue.js 三、第一个hello world 注:scritpt代码必须写在html代码的下面 阅读全文
posted @ 2016-07-23 09:30 胡卫雄 阅读(3121) 评论(0) 推荐(0) 编辑
摘要: 一、最简单的分区 仅分出根目录(/)和最简单的内存置换空间(swap)即可 以虚拟机的分区(20G)为例: 一般给/分15G来安装linux系统,512M给swap,另外的4G可以留下备用 二、复杂一点的分区 注:如果不是在虚拟机上安装,且安装linux只是为了学习使用,个人建议(本人安装linux 阅读全文
posted @ 2016-07-21 20:56 胡卫雄 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 一、php连接mysql的函数 1.mysql_connect 作用:连接mysql eg:$con=mysql_connect('localhost','root','123456'); 2.mysql_select_db 作用:选择数据库 eg:mysql_select_db('test'); 阅读全文
posted @ 2016-07-12 20:16 胡卫雄 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 慕课网 http://www.imooc.com/learn/18 阅读全文
posted @ 2016-07-08 11:10 胡卫雄 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 基础表格 .table 斑马表格 .table .table-striped 带边框的表格 .table .table-bordered 鼠标悬浮高亮的表格 .table .table-hover 紧凑型表格 .table .table-condensed 响应式表格 .table .table-r 阅读全文
posted @ 2016-07-03 17:29 胡卫雄 阅读(159) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 下一页