2008 October 8th Wednesday (十月 八日 水曜日)
来源:互联网 发布:备用信用证知乎 编辑:程序博客网 时间:2024/05/29 03:23
I can get a cold again. Last night I can not get a good sleep.
These days I always think what is the happiness? There are not a certain answer. Every one has his or her own standard. Thare
is not a common criterion for that. As a matter of a fact, the happiness is just a noun. Everyone can has different definition on
occasions. Maybe, it is just represented as an interest relation amid people.
Yes. I think that the root of the relation among people is interest relation. That is a macro-interest relation, not narrow at
the relations based on money. That is derived from our various desires. What it is desire?
However, I have not found out the final answer.
I got a utility function. It can be used to get an absolute path of the current process. I changed it as follow.
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
// get an absolute path of the current process
BOOL GetCurrentProcessDirectory(char* path)
{
char lpszFilePath[_MAX_PATH];
if(::GetModuleFileName(NULL, lpszFilePath, _MAX_PATH) > 0){
char szDrive[_MAX_DRIVE];
char szFolder[_MAX_DIR];
char szFileName[_MAX_FNAME];
char szExt[_MAX_EXT];
_splitpath(lpszFilePath, szDrive, szFolder, szFileName, szExt);
sprintf(path, "%s%s", szDrive, szFolder);
return true;
}
return false;
}
These days I always think what is the happiness? There are not a certain answer. Every one has his or her own standard. Thare
is not a common criterion for that. As a matter of a fact, the happiness is just a noun. Everyone can has different definition on
occasions. Maybe, it is just represented as an interest relation amid people.
Yes. I think that the root of the relation among people is interest relation. That is a macro-interest relation, not narrow at
the relations based on money. That is derived from our various desires. What it is desire?
However, I have not found out the final answer.
I got a utility function. It can be used to get an absolute path of the current process. I changed it as follow.
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
// get an absolute path of the current process
BOOL GetCurrentProcessDirectory(char* path)
{
char lpszFilePath[_MAX_PATH];
if(::GetModuleFileName(NULL, lpszFilePath, _MAX_PATH) > 0){
char szDrive[_MAX_DRIVE];
char szFolder[_MAX_DIR];
char szFileName[_MAX_FNAME];
char szExt[_MAX_EXT];
_splitpath(lpszFilePath, szDrive, szFolder, szFileName, szExt);
sprintf(path, "%s%s", szDrive, szFolder);
return true;
}
return false;
}
- 2008 October 8th Wednesday (十月 八日 水曜日)
- 2008 October 15th Wednesday (十月 十五日 水曜日)
- 2008 October 29th Wednesday (十月 二十九日 水曜日)
- October 8th Monday (十月 八日 月曜日)
- October 10th Wednesday (十月 十日 水曜日)
- October 17th Wednesday (十月 十七日 水曜日)
- October 24th Wednesday (十月 二十四日 水曜日)
- October 31th Wednesday (十月 三十一日 水曜日)
- April 8th Wednesday (四月 八日 水曜日)
- July 8th Wednesday (七月 八日 水曜日)
- August 8th Wednesday (八月 八日 水曜日)
- October 14th Wednesday
- October 21th Wednesday
- October 28th Wednesday
- 2008 October 6th Monday (十月 六日 月曜日)
- 2008 October 7th Tuesday (十月 七日 火曜日)
- 2008 October 9th Thursday (十月 九日 木曜日)
- 2008 October 10th Friday (十月 十日 金曜日)
- JPA注释标记一览表
- 2008 October 6th Monday (十月 六日 月曜日)
- 1229 还是A+B
- 2008 October 7th Tuesday (十月 七日 火曜日)
- 1008 Elevator
- 2008 October 8th Wednesday (十月 八日 水曜日)
- SiteMesh的使用(转)
- 2008 October 9th Thursday (十月 九日 木曜日)
- 1021 Fibonacci Again
- 2008 October 10th Friday (十月 十日 金曜日)
- 1022 Train Problem I
- 2008 October 13th Monday (十月 十三日 月曜日)
- 1028 Ignatius and the Princess III
- 2008 October 14th Tuesday (十月 十四日 火曜日)