自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Windows程序设计 如何制作简单的音乐播放器

1. 解决方案结构2. 核心代码//MyMp3Playerusing System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices; //new DllImportusing System.Text;namespace MyMp3Player...

2018-12-03 22:19:48 1541

原创 Python---Textblob自然语言处理入门 情感分析 以英文与法文为例(一)

首先上代码 英文版Textblob:Last login: Tue Sep  4 17:44:20 on ttys000linhuideMBP:~ linhui$ cd /Users/linhui/anaconda2a/lib/python2.7/site-packageslinhuideMBP:site-packages linhui$ pythonPython 2.7.14 ...

2018-09-04 19:44:22 7084 3

原创 日语学习--浅谈“今日份”

   经常可以看到大家在网上分享自己状态时配文“今日份”。乍一看这可能来源于日语,但也不是正确的翻译。日语原文应该是: 今日の シェア(原意:今天的分享)share在日语中还有“份额“的意思。我猜测有可能源自一些留学生发的状态,最后传入国内。 有意思的是,用“份”字比“分享”能表达更多的意思,比如发有关食物的状态时,可表达“一顿”,在发外出照片时,可表达“今天的一部分活动”。总之是非常有意思词。 ...

2018-08-03 14:49:51 15315

原创 VUEJS学习-如何做计算器

<template> <div class="calculator"> <div class="display">{{current || '0'}}</div> <div @click="clear" class="btn">C</div>

2018-07-31 09:31:32 438

原创 JS学习--细节一

JS计时方法:SETTIMEOUT代码来源:w3cschool <html><head><script type="text/javascript">var c=0var tfunction timedCount(){document.getElementById('txt').value=cc=c+1t=setTimeout("timedCo...

2018-07-06 23:37:01 178

原创 Bootstrap学习(1)

首先上代码:<div id="collapseOne" class="panel-collapse collapse in">最后的in在此的意义是什么呢?有"in"的情况:第一段文字会显示,即默认不折叠没"in"的情况: 第一段文字默认折叠...

2018-07-01 16:20:29 160

原创 Sublime装插件经常抽风或隔段时间后没反应的解决办法

转载:两种方式安装sublime插件 mac以上这个方法也适用于windows注意事项一:Ctr+~ 键位可能与outlook等应用冲突,搜狗输入法暂时不会,先关闭其他应用,然后调出控制台粘贴进。 注意事项二:粘贴进的代码可能报没权限情况,关闭sublime,使用管理员运行,通过。注意事项三: 如果 package Control 没有安装成功,找到这个文件夹路径,删了,重装之前的插件。 Ben,...

2018-06-26 13:10:27 1931

原创 C# 学习笔记(1)-Vamos, Les Gars!

在W3cSchool 学习C# 时的一些疑难记录首先上代码片段  class MyArray { static void Main(string[] args) { int[] n = new int[10]; for(int i = 0; i < 10; i++) //最常见的for循环 { n[i] = i + 100; ...

2018-06-16 15:33:02 224

原创 C语言 二进制左右移运算小程序

#include <stdio.h>#include <stdlib.h>//调用itoa();int convert(int , int );int main(){ int i; int z; int m; char s[128]; scanf("%d",&i); scanf("%d",&m); while(i != 0)

2017-11-28 14:40:21 1718

原创 C++ 结构体细节 c++primer plus例子

#include<iostream>struct antarctica_years_end{ int year;} *p;int main(){ antarctica_years_end s01, s02, s03; //创建antarctica_years_end类型的3个结构体,但未初始化 s01.year = 1998; antarctica_years_end *

2017-11-25 15:20:00 407

原创 C++ IO流一些细节

C++ IO流#include<iostream>#include<string>#include<sstream>using namespace std;int main(){ int age;//standard input(cin) cout<<"Please enter an integer value as your age: ";cin>>age;cout<<"Your

2017-11-24 19:30:59 238

原创 Attendez-moi 指针数组与strcmp fgets等函数的配合使用

#include <stdio.h>#include <string.h>#define LISTSIZE 5int main(int argc, char const *argv[]){ char * list[LISTSIZE] = { "astronomy", "astounding", "astrophysics", "osttracize", "ast

2017-11-04 22:07:15 374

原创 C指针在不同需求中的应用

C指针在不同需求中的应用****#include<stdio.h>#include <string.h>int main() { char * s = “abcd”; char array[4]; char *p; p = array; memcpy(array, s, 3); printf(“%s\n”, p); }#include <stdi

2017-10-14 18:06:03 514

空空如也

空空如也

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

TA关注的人

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