以我的老師為題作文300字
一.簡答題.

1.避免死鎖的方法有哪些?
2.在Sybase數(shù)據(jù)庫中注冊用戶與數(shù)據(jù)庫用戶有什么區(qū)別?
3.在MS SQL_Server 數(shù)據(jù)庫中通過什么約束保證數(shù)據(jù)庫的實體完整性
4.內(nèi)存有哪幾種存儲組織結(jié)構(gòu).請分別加以說明
5.JAVA中的Wait() 和notify()方法使用時應(yīng)注意些什么?
6.用戶輸入一個整數(shù).系統(tǒng)判斷,并輸出是負(fù)數(shù)還是非負(fù)數(shù),請設(shè)計測試用例.
7.操作系統(tǒng)中的同步和互訴解決了什么問題
8.UNIX 中init
二.編寫類String 的構(gòu)造函數(shù),析構(gòu)函數(shù)和賦值函數(shù)
已知類String 的原型為
class string
{
public:
string(const char *str=null);/pic/p>
string(const string &other);/pic/p>
---string(void);
string &operate=(const string &other);/pic/p>
private:
char * m-data;/pic/p>
};
請編寫string 的上述4個函數(shù)
三.有關(guān)內(nèi)存的思考題
1.void getmemory(char *p)
{ p=(char*)mallol(100);
}
void test(void)
{
char * str =null;
getmemory(str);
strcpy(str,”hello,world”);
printf(str);
}
請問運行Test函數(shù)會有什么樣的結(jié)果
2.char*getmemory(void)
{ char p[]=”hello world”;
return p;
}
void test(void)
{
char *str=null;
str=Getmemory();
printf(str);
} 請問運行Test 函數(shù)會有什么樣的結(jié)果.
【以我的老師為題作文300字】相關(guān)文章:
以我的養(yǎng)母為題的作文07-23
以我的煩惱為題的作文05-07
以我的偶像為題的作文11-28
以我的姐姐為題作文12-12
以我們成功了為題作文06-27
【優(yōu)秀】以我的煩惱為題的作文08-01
以我的老師為題的作文(合集20篇)06-30
以我的老師為題的作文(通用36篇)09-10
以我的美國留學(xué)夢為題的作文05-07
- 相關(guān)推薦