`
ccjsjymg
  • 浏览: 60745 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
#include <iostream.h> void main() { cout<<"dfdfd\n"; } 上面的void反回类型不可用,插件提示main必须有返回类型int,请问大家有谁用过eclipse开发过c++
有哪位大哥知道? import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; public class GetKaixinWang { p ...
final float MAX_DRAW_MONEY = 2500.0f; float poundage = 5.0f;//对于信息卡取现金的话,每笔是5.0元 float day_interest_rate = 0.0005f;//每天利率 int flag = 0;//银行存在最大取款金额数,产生取款笔数 float sum;//利息之和 float totalSum; int days; /** * 第一种还款方式 */ public float oneInterest(int startMonth,int endMonth,float am ...
package com.zhanglu.date; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.TimeZone; /** * 日期工具 * @author zhanglu * */ public class DateUtil { pri ...
package util; /** * 写两个方法,其中一个方法可以把某个整数插入到整型数组的特定位置,数组中原有元素向后移动 * 另一个方法能够从整形数组中特定位置删除掉一个元素,数组中原有元素向前移动 * @author zhanglu */ public class NuberArrayOperator { /** * 整数插入到整型数组的特定位置,数组中原有元素向后移动 * @param array */ public int[] insertNumber(int[] array,int insertIndex,int insertN ...
package util; import java.util.Calendar; /** * 二分法查找与线性查找效率问题 * @author zhanglu * */ public class DichotomyAndLinearity { private int[] array; public DichotomyAndLinearity(int size){ array = new int[size]; } public void setArayValue(int index,int value){ array[index] ...
请问python字符不能这样比较吗? t = "quit" while True: s = input('input a number:') if s == t: break else: print('Length of the string is',len(s)) else: print('Done')
Global site tag (gtag.js) - Google Analytics