code-conversion

    1熱度

    1回答

    命名約定 可能重複: mysql naming convention 什麼是SQL表最好的命名約定? 我們可以用大寫和小寫還是駝名來命名它們? 這是正確的嗎?

    2熱度

    3回答

    我正在使用Windows API並必須在Delphi record內重新創建a structure。我想我已經記下了,但是這個有點令人困惑,我需要確保我做對了。 這裏的原有C++結構: typedef struct RETRIEVAL_POINTERS_BUFFER { DWORD ExtentCount; LARGE_INTEGER StartingVcn; s

    0熱度

    2回答

    我必須將java代碼轉換爲objective-c代碼。 在這裏,我必須寫下面的代碼和我的終端上運行: $ cat Hello.java public class Hello { public static void main(String[] args) { System.out.println("hello, world"); } } $ j2objc Hello.java tra

    1熱度

    2回答

    我需要轉換到VB.NET下面的函數,但我不知道如何處理的聲明 res = (uint)((h * 0x21) + c); 功能齊全: private static uint convert(string input) { uint res = 0; foreach (int c in input) res = (uint)((res * 0x21) + c);

    0熱度

    1回答

    我的Android應用到如在XMLVM用戶手冊描述的iPhone _對象環境的轉化工作在我的MAC幾乎正常,但我最終在所得的XCode 3個錯誤: 的前兩個錯誤,只是涉及到丟失的文件,即: org_w3c_dom_Node.h android_app_DatePickerDialog_OnDateSetListener.h 這些顯然不是從轉換的Android應用程序文件。我可以從哪裏得到這些

    0熱度

    1回答

    我環顧了過去一個小時左右,但我找不到任何有關此問題的幫助。我試圖將這個僞代碼轉換爲java,並不知道我做錯了什麼(它曾經打印過任何東西)。 function line(x0, x1, y0, y1) boolean steep := abs(y1 - y0) > abs(x1 - x0) if steep then swap(x0, y0) swap(x

    4熱度

    2回答

    我對編程非常陌生,並被要求將3個haskell函數轉換爲python作爲練習練習。 這3個功能是連接的,因爲一個的輸出被用作下一個的輸入等等。 我得到了什麼haskell功能,但我不知道如何開始轉換它們! 這是Haskell代碼: factorial :: Int -> Int factorial n = product (down n) product :: [Int] -> Int p

    -4熱度

    3回答

    我在vb.net中有一個代碼,我想在C#中使用它。該代碼是: Dim cell As DataGridViewImageCell = CType(tempGrid.Rows(e.RowIndex).Cells(e.ColumnIndex), DataGridViewImageCell) 我試圖得到相應的C#代碼: public void gridmouseclick(object sender

    1熱度

    1回答

    @echo off :: :: Grabbing the users input of job number to create :: SET /P JobNum="Enter Job Number: " :: :: Creating the job number folder structure :: MKDIR "\\server\jobs\%JobNum%" MKD

    1熱度

    1回答

    我想知道是否有在即時窗口將以下VB6片段到Java更好的實現: ? Format("002-", "") -2 ? Str("002-") -2 我通過串Java代碼掃描和如果它看到負號,則將字符串轉換爲負整數,否則爲正。我想知道Java是否有一個實用功能,其功能與此相同。 鏈接到Str功能here。 謝謝!