码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
check windows return character
#ifndef _FILE_CHECK_H#define _FILE_CHECK_H#include #include const int LINEBUFF_SIZE = 1024;const std::string TAB_REPLACE = " ";const std::string TAB_S...
分类:Windows程序   时间:2015-06-15 10:43:54    阅读次数:118
String类的实现与思考
对于字符串我们有时候很难向整型或其他变量那样进行比较和直接复制或定义,这都是C语言中遇到的问题,在C++ 中提供了一种类专门解决这种对于字符串的操作,叫做string类,我其实也想实现一下并且暂时浅浅的了解一下,以下是我简单的实现string类,我的string叫 String类注意大小写哦!!!!!!!!!/*/******************************************...
分类:其他好文   时间:2015-06-15 09:30:03    阅读次数:138
leetcode | String to Integer (atoi)
String to Integer (atoi) : https://leetcode.com/problems/string-to-integer-atoi/问题描述Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a cha...
分类:其他好文   时间:2015-06-15 09:30:00    阅读次数:240
黑马程序员——java——文件的切割与合并
------ android培训、java培训、期待与您交流! ---------文件的切割与合并功能实现 import java.io.*; import java.util.*; public class FileSpileDemos { public static void main(String[] args) throws Exception { //获取将需要切割的文件 ...
分类:编程语言   时间:2015-06-15 09:25:38    阅读次数:224
basic calculator (stack problem)
Implement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), the plus+or minus...
分类:其他好文   时间:2015-06-15 09:11:32    阅读次数:122
intent实现Activity之间跳转的各种传值
一、在Activity之间传递String类型的数据 传递@Override public void onClick(View v) { String num1 = firstNum.getText().toString(); String num2 = secon...
分类:其他好文   时间:2015-06-15 09:09:59    阅读次数:124
[LeetCode] Word Break II 拆分词句之二
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.Return all such po...
分类:其他好文   时间:2015-06-15 06:54:37    阅读次数:210
Evaluate Reverse Polish Notation
很简单的stack,注意operation orderpublic class Solution { public int evalRPN(String[] tokens) { if(tokens ==null|| tokens.length==0) return 0; ...
分类:其他好文   时间:2015-06-15 06:53:55    阅读次数:187
文件批量改名
private void button1_Click(object sender, EventArgs e) { string NewName=textBox1.Text; string lujing = @"C:\Users\Admin...
分类:其他好文   时间:2015-06-15 01:43:59    阅读次数:190
LeetCode之“字符串”:Restore IP Addresses
题目链接 题目要求: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given"2552551...
分类:其他好文   时间:2015-06-15 00:15:50    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!