我試圖使用這個建議針對此問題 For Linux programming arr[], n, &a, &b are passed in RDI, RSI, RDX and RCX. 和程序的輸出陣列中不總結整數正確。它輸出一個明顯錯誤的大數字。 下面找到的兩個文件是從這裏找到的原始32位版本進行修改的。 http://mcs.uwsuper.edu/sb/224/Intro/c_asm.html
fun lazyProperty(initializer:() -> Int): Int {
val result: Lazy<Int> = lazy(initializer)
return result.value
}
fun main(args: Array<String>) {
// 1.
val bar: Int
我想在結構數組中設置結構數組。爲此我創建了一個函數。我怎麼試試它,我無法做到這一點。 struct polygon {
struct point polygonVertexes[100];
};
struct polygon polygons[800];
int polygonCounter = 0;
int setPolygonQuardinates(struct point po