摘要:
方法一: 通过国外网站验证:http://bot.myip.ms/123.125.71.12 返回结果: IP/Domain - 123.125.71.12: Baidu Bot on this IP address - See more at: http://bot.myip.ms/123.125 阅读全文
摘要:
package study; public class testFloatDouble { public static void main(String[] args) { float f = 0; double d = 0; for (int i = 0; i < 10; i++) { f += 阅读全文
摘要:
在学习C语言的时候,涉及到两个变量值的交换,其中用到临时变量。类似于:temp=a;a=b;b=temp;这样的语句,如果在没有临时变量的情况下,该如何做呢?网络上的人们给出了两种方法:一、异或法a=a^b;b=b^a;a=a^b;二、加减法a = a + b; b = a - b; a = a - 阅读全文