struct

英[str?kt]
美[str?kt]

基本釋義

[計(jì)][C](數(shù)據(jù)類型)結(jié)構(gòu),結(jié)構(gòu)體(定義關(guān)鍵字)

實(shí)用例句

Any user - defined struct type that contains fields of unmanaged types only.

僅包含非托管類型的字段的任何用戶定義的結(jié)構(gòu)類型.

互聯(lián)網(wǎng)

This wizard adds a member function to a class, struct, or union.

本向?qū)蝾?、 結(jié)構(gòu)或聯(lián)合添加成員函數(shù).

互聯(lián)網(wǎng)

Class % 1 was converted to a struct, which can't contain null values.

%1類被轉(zhuǎn)換為結(jié)構(gòu), 它不能包含空值.

互聯(lián)網(wǎng)

Whenever a class or struct is created, its constructor is called.

任何時(shí)候,只要?jiǎng)?chuàng)建類或結(jié)構(gòu), 就會(huì)調(diào)用它的構(gòu)造函數(shù).

互聯(lián)網(wǎng)

As a third alternative, you can change your struct to a class.

第三種替代方式是, 您可以將結(jié)構(gòu)更改為類.

互聯(lián)網(wǎng)

In C #, classes and struct s are semantically different.

在C # 中, 類與結(jié)構(gòu)在語義上是不同的.

互聯(lián)網(wǎng)

Because struct s are implicitly sealed, they cannot be inherited.

由于結(jié)構(gòu)是隱式密封的, 因此它們不能被繼承.

互聯(lián)網(wǎng)

Suggestion of changing diet struct u re of consumer was also proposed.

對(duì)消費(fèi)者提出了改變飲食結(jié)構(gòu)的建議.

互聯(lián)網(wǎng)

A class or struct may have multiple constructors that take different arguments.

類或結(jié)構(gòu)可能有多個(gè)接受不同參數(shù)的構(gòu)造函數(shù).

互聯(lián)網(wǎng)

A struct can implement interfaces, and it does that exactly as classes do.

結(jié)構(gòu)可實(shí)現(xiàn)接口, 其方式同類完全一樣.

互聯(lián)網(wǎng)

Con? struct s are e up of things that can take on values, variables.

構(gòu)建是由能表明值與變量的種種事物組合而成的.

互聯(lián)網(wǎng)

Well, now let's take a look at how we can use our struct.

好了, 現(xiàn)在讓我們來看看怎么使用我們的結(jié)構(gòu).

互聯(lián)網(wǎng)

You tried to initialize bit field with a non scalar ( struct, union, array, or class ).

嘗試用非標(biāo)量 ( 結(jié)構(gòu) 、 聯(lián)合 、 數(shù)組或類 ) 初始化位域.

互聯(lián)網(wǎng)

It is an error to define a default ( parameter less ) constructor for a struct.

為結(jié)構(gòu)定義默認(rèn) ( 無參數(shù) ) 構(gòu)造函數(shù)是錯(cuò)誤的.

互聯(lián)網(wǎng)

Then we have the struct definition, which, by default, uses the C calling convention.

然后我們生成該結(jié)構(gòu)的定義, 默認(rèn)情況下, 該結(jié)構(gòu)定義使用C調(diào)用約定.

互聯(lián)網(wǎng)

最新英語單詞

行業(yè)英語