在表白之前,对于你喜欢的人,首先你要真诚的对待这份感情, 想清楚自己是否是真的想要和他(她)在一起,你们的性格是否真的合适,当然你也要知道对方是否对你也有感觉。
在确定要向对方表达自己的感情以后,自己要充分的了解对方的喜好,比如向自己的女神表白,了解她是喜欢白色玫瑰,香槟玫瑰还是红玫瑰;她是喜欢粉色还是蓝色;她喜欢唯美的风格还是小清新的风格等等。这些东西都需要自己在平时的生活中注意到的,但一定要注意千万不要一直去进别人的空间或者翻看别人的相册等等,因为如果她对你没有感觉的话,就会对你非常的反感并且想要尽快的摆脱你。
表白可以用多种方式,可以通过自己写一封非常真诚的书信给她,里面写上你内心对她的感觉,这样一来即使她不会答应你但也感受到了一份真诚,以这种低调的方式也不会让很多人知道,因为以那种很大的场面化的表白方式会让很多人围观,如果没有成功的话你也会觉得很尴尬。当然如果你有充分的把握,也可以把场面布置成她喜欢的颜色,并摆上她喜欢的鲜花,有条件的话还可以播放一段关于你们有意义的视频。
#define IdYes 1002
#define IdNo 1003
#define IdStatic 1004
#define IdTimer 1005
#define Width 640
#define Height 480
#define Tick 2000
#include<windowsh>
int x,y;
RECT rdesk;
HINSTANCE hinst;
HWND hyes,hno;
BOOL quit=FALSE;
LRESULT CALLBACK WndProc(HWND hwnd,UINT Message,WPARAM wParam,LPARAM lParam)
{
HDC hdc;
PAINTSTRUCT ps;
RECT rclient;
HBRUSH hbrbkgnd;
static COLORREF c;
static BYTE r,g,b;
switch(Message)
{
case WM_TIMER:
if(IdTimer==LOWORD(wParam))
{
r=(BYTE)(rand()%256);
g=(BYTE)(rand()%256);
b=(BYTE)(rand()%256);
c=RGB(r,g,b);
InvalidateRect(hwnd,NULL,TRUE);
UpdateWindow(hwnd);
}
break;
case WM_PAINT:
hdc=BeginPaint(hwnd,&ps);
hbrbkgnd=CreateSolidBrush(c);
SelectObject(hdc,hbrbkgnd);
GetClientRect(hwnd,&rclient);
FillRect(hdc,&rclient,hbrbkgnd);
DeleteObject(hbrbkgnd);
EndPaint(hwnd,&ps);
break;
case WM_COMMAND:
switch(LOWORD(wParam))
{
case IdYes:
quit=TRUE;
MessageBox(hwnd,TEXT("回答正确,太太太好了!"),TEXT("宝贝"),MB_ICONEXCLAMATION|MB_OK);
SendMessage(hwnd,WM_CLOSE,0,0);
break;
case IdNo:
MessageBox(hwnd,TEXT("回答错误哦,我很生气呢!"),TEXT("宝贝"),MB_ICONEXCLAMATION|MB_OK);
break;
}
break;
case WM_SIZE:
case WM_MOVE:
SetWindowPos(hwnd,HWND_TOPMOST,x,y,Width,Height,SWP_SHOWWINDOW);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
case WM_CLOSE:
if(quit)
{
KillTimer(hwnd,IdTimer);
DestroyWindow(hwnd);
}
break;
case WM_CREATE:
CreateWindow(TEXT("Static"),
TEXT("请回答:做我女朋友好吗?"),
WS_CHILD|WS_VISIBLE|SS_CENTER,
200,
200,
240,
20,
hwnd,
(HMENU)IdStatic,
hinst,
NULL
);
hyes=CreateWindow(TEXT("Button"),
TEXT("好"),
WS_CHILD|WS_VISIBLE|BS_CENTER,
270,
230,
45,
20,
hwnd,
(HMENU)IdYes,
hinst,
NULL
);
hno=CreateWindow(TEXT("Button"),
TEXT("不好"),
WS_CHILD|WS_VISIBLE|BS_CENTER,
325,
230,
45,
20,
hwnd,
(HMENU)IdNo,
hinst,
NULL
);
SetTimer(hwnd,IdTimer,Tick,NULL);
break;
default:
return DefWindowProc(hwnd,Message,wParam,lParam);
}
return 0;
}
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
WNDCLASSEX wc;
HWND hwnd;
MSG msg;
hinst=hInstance;
srand(time(NULL));
memset(&wc,0,sizeof(wc));
wccbSize=sizeof(WNDCLASSEX);
wclpfnWndProc=WndProc;
wchInstance=hInstance;
wchCursor=LoadCursor(NULL,IDC_ARROW);
wchbrBackground=(HBRUSH)(COLOR_WINDOW+1);
wclpszClassName=TEXT("WindowClass");
wchIcon=LoadIcon(NULL,IDI_APPLICATION);
wchIconSm=LoadIcon(NULL,IDI_APPLICATION);
if(!RegisterClassEx(&wc))
{
MessageBox(NULL,TEXT("窗口注册失败!"),TEXT("错误"),MB_ICONEXCLAMATION|MB_OK);
return 0;
}
GetWindowRect(GetDesktopWindow(),&rdesk);
x=(rdeskright-Width)/2;
y=(rdeskbottom-Height)/2,
hwnd = CreateWindowEx(WS_EX_TOPMOST,
TEXT("WindowClass"),
TEXT("I Love You"),
WS_THICKFRAME|WS_VISIBLE,
x,
y,
Width,
Height,
NULL,NULL,hInstance,NULL);
if(NULL==hwnd)
{
MessageBox(NULL,TEXT("窗口创建失败!"),TEXT("错误!"),MB_ICONEXCLAMATION|MB_OK);
return 0;
}
while(GetMessage(&msg,NULL,0,0)>0)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msgwParam;
}
截图
JAVA
传说中规范的爱情代码(2010-11-10 21:37:36)
转载
标签:it
private final static DEPOSIT = 100000;
private final static FELLING = 8;
public void love(boy, girl) {
Boolean isMarried = false;
if(boy有房() &&boy有车()) {
doMarry(boy, girl);
isMarried = true;
} else if(girl愿意等()) {
while(!(boy赚钱 > DEPOSIT && girl感情 > FELLING)) {
for(int day=1; day <=365; day++) {
if( day == 情人节 ) {
if(boygivegirl(玫瑰)) {
girl感情++;
} else {
girl感情--;
}
}
if(day == girl生日) {
if( boygivegirl(玫瑰) )
{
girl感情++;
}
else {
girl感情--;
boy拼命赚钱();
}
}
}
if(boy有房() && boy有车()) {
doMarry(boy, girl);
isMarried = true;
break;
}
年龄++;
girl感情--;
}
}
if(!IsMarried) {
girlgoto(another_boy);
}
private void doMarry(boy, girl) {
boyset(nothing);
girl嫁给(boy);
}
欢迎分享,转载请注明来源:表白网
评论列表(0条)