大多程序员的圈子本来就不大,在加上你又比较老实内向,那么找女朋友的时候,你就需要做到心里有谱在自己能力范围内找,不要找超出自己能力范围太多的姑娘。
不要眼高手低,总是想找一个特别漂亮、特别有能力、性格又特别好的姑娘。虽然,有这样的想法也无可厚非,谁不想找一个完美恋人呢。但是,问题就在于条件特别好、各方面都很完美的姑娘压根就看不上你啊。
程序员找女朋友的技巧二、不用强行改变自己的性格
明明就是内向的程序员,明明就不善言辞,比较直,非要强迫自己在女生面前尬聊,这种强行改变自己的行为,是最笨的。性格是很难改变的。你强行改变,只会让自己变得越来越不会说话,越来越尴尬。本身就老实内向,本身就不太会说话,那我们就学会倾听。我们认真听女孩子说话,根据她们聊的内容和她们互动。
有些女孩子是不喜欢男人喋喋不休说个没完的,她们喜欢男人听自己说话,喜欢被男人认同。做一名合格的倾听者,会让女孩子觉得你好绅士、很沉稳。当你认同女孩说的话,女孩会觉得你好懂自己。
程序员找女朋友的技巧三、展现你的才能和经济实力
作为程序员,其实经济实力和才能就是你找女朋友的优势,就算你老实内向,但是你的身上肯定有亮点。比方说,你虽然不太会说话,但是,你在行业内的名头很响,女生会觉得你很优秀或者你能帮女生解决一些实际事情,女生也会觉得你很有能力或者你的工资很高,有房有车,女生也会觉得你有实力。所以,一个老实内向的程序要找女朋友不是靠聊天来找的,而是靠实力赢得尊重。
代码如下,随便附一句,一定要看写的源码,我已经尽量马马虎虎的写了,你更容易看懂。
public class Test {// 第八题
public static final int NUM = 100
public static final double GOOD = 99.99
public static final String CLASSNAME = "Test.Class"
public static final long MAX = 9999999
public static void main(String[] args) {
// 第一题
byte byte1 = 1
short short1 = 1
int int1 = 1
long long1 = 1
float float1 = 1
double double1 = 1.0
System.out.println("byte1 - " + byte1)
System.out.println("short1 - " + short1)
System.out.println("int1 - " + int1)
System.out.println("long1 - " + long1)
System.out.println("float1 - " + float1)
System.out.println("double1 - " + double1)
// 第二题
String name
char sex
int age
boolean isMember
// 第三题
int score1
double score2 = 98.5
// 第四题
double f1 = 10.1, f2 = 34.2
System.out.println("f1,f2的和:" + (f1 + f2))
System.out.println("f1,f2的差:" + (f1 - f2))
System.out.println("f1,f2的积:" + (f1 * f2))
System.out.println("f1,f2的商:" + (f1 / f2))
// 第五题
int f3 = 5
double f4 = 45.6
System.out.println("f3,f4的和:" + (f3 + f4))
System.out.println("f3,f4的差:" + (f3 - f4))
System.out.println("f3,f4的积:" + (f3 * f4))
System.out.println("f3,f4的商:" + (f3 / f4))
// 第六题
int A = 65
char a = (char) A
System.out.println("整型互转char:" + a)
// 第七题
double timor = 123.456789
int x = Integer
.parseInt(new java.text.DecimalFormat("0").format(timor))// 四舍五入
System.out.println("double -> int :" + x)
// 第八题(定义在最开始)
System.out.println("常量NUM的值: " + NUM)
System.out.println("常量GOOD的值: " + GOOD)
System.out.println("常量CLASSNAME的值: " + CLASSNAME)
System.out.println("常量MAX的值: " + MAX)
// 第九题(自定义商品类)
class Goods {
private String name
private double price
private int count
private double total
public Goods(String name, double price, int count) {
this.name = name
this.price = price
this.count = count
}
public void print() {
total = price * count
System.out.println("商品名 价格 数量 总价")
System.out.println(name + " " + price + " " + count + " "
+ total)
}
}
Goods goods = new Goods("苹果", 2, 10)
goods.print()
// 第十题
double pi = 3.14, r, d
r = 4
d = 2 * r
System.out.println("圆的周长: " + (pi * d))
System.out.println("圆的面积: " + (pi * r * r))
// 第十一题
String qqname = "1234567890"
String qqpassword = "asd!#@#$%66"
Date birth = new Date(2014, 5, 1)
boolean isVIP = false
char sex1 = '男'
StringBuilder personInfo = new StringBuilder()
personInfo.append("我是一个快乐的骚年")
personInfo
.append("然后a!#$%^&*asdasdasdasdsa9d87a9s8d79asdjidauisdhausdihiasd")
// 第十二题
class Swaper {
public void change(int num1, int num2) {
int temp = num1
num1 = num2
num2 = temp
System.out.printf("a=%d,b=%d\n", num1, num2)
}
}
int a1 = 2
int b1 = 5
Swaper swaper = new Swaper()
swaper.change(a1, b1)
}
}
下面是我根据别人的提示和自己的参考总结出的几个阶段的书籍,希望对你有帮助!!第一阶段:
1::H.M.Deitel和P.J.Deitel的《 C++ How to Program 》(C++大学教程)
2:: 钱能的《C++程序设计教程》
3::Stanley B.lippman著 侯捷 译的《essential c++》
4::Stanley B.Lippman,Josee LaJoie,Barbara E.Moo的《c++ primer》
5::Bjarne Stroustrup的《the c++ programming language》
第二阶段:
1::Scott Meyers的《effective c++》
2::Herb Sutter的《exceptional c++》
3::Scott Meyers的《more effective c++》
4::Herb Sutter的《more exceptional c++》
第三阶段:
1::Stanley B.lippman的《insied the c++ object model》(深度探索C++ 对象模型)
2::Bjarne Stroustrup的《The design and evolution of c++》(C++的设 计与演化)
3::tephen C. Dewhurst的《C++ Gotchas: Avoiding Common Problems in Coding and Design》(C++程序设计陷阱)
第四阶段:
1:: Nicolai M.Josuttis的《the c++ standard library》(C++标准程序库 —自修教程与参考手册)
2::Scott Meyers的《effective stl》
3::Matthew H. Austern的《generic programming and the stl》(泛型编程与STL)
4::侯捷的 《stl源码剖析》
第五阶段:
1::Herb Sutter的《exeptional c++ style》
2::《c++ template》
3::Andrei Alexandrescu的《modern c++ design》
第六阶段
1::《C++ 输入输出流及本地化》《C++ Network Programming》《大规模C++程序设计》
2::Barbara E.Moo和Andrew Koenig的《Ruminations On C++》(C++ 沉思录)
其他的:
Stanley B. Lippman,《Inside The C++ Object Model》影印版、中文版《深度探索C++对象模型》
Elements of Reusable Object-Oriented software》影印版、中文版《设计模式:可复用面向对象软件的基础》
John Lakos的著作《Large-Scale C++ Software Design》(《大规模C++程序设计》
Andrew Koenig和Barbara Moo在《Accelerated C++: Practical Programming by Example》《Ruminations on C++》
Bruce Eckel,《C++编程思想》
windows编程系列:
Charles Petzold 的 《Programming Windows》(Windows程序设计)
Jeffrey Richter 的《ProgrammingApplicationsforMicrosoftWindows》(Windows核心编程)和《Advanced Windows》(Windows 高级编程指南)
1::清华教授严蔚敏和广东工业大学教授吴伟民的《数据结构(C语言版)》
2::清华教授殷人昆的《数据结构(用面向对象方法与C++描述)》
3::经典书籍:Mark Allen Weiss的《Data Structures and Algorithm Analysis in C》(数据结构与算法分析--C语言描述)和《Data Structures and Algorithm Analysis in C++》(数据结构与算法分析--C++语言描述)
4::王晓东的《算法设计与分析》
5::M.H.Alsuwaiyel(沙特)的 《Algorithms Design Techniques and Analysis》(算法设计技巧与分析)
6::经典:Thomas H.Cormen, Charles E.Leiserson的《Introduction to Algorithms》(算法导论)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)