format

    -5熱度

    1回答

    進出口工作在這個完全相同的程序,但我無法弄清楚如何使我的對齊(投入,成本,$)這樣一個

    0熱度

    1回答

    我有一個字符串數組,例如: $testArray = array ('here I am going to have a string that is over 50 charactersss ', 'where I am going to hav string that is over 50 charactersss'); 我需要基本上創建其中將採取陣列或多個陣列和計數字符串的長度的函數。如

    -2熱度

    2回答

    我的因子方法工作正常,但我想從輸出數字和因子結果更改輸出。例如,如果用戶對輸出進入6說我想6 * 5 * 4 * 3 * 2 * 1 = 720,代替的6階乘是:720 int count, number;//declared count as loop and number as user input int fact = 1;//declared as 1 Scanner

    0熱度

    1回答

    我試圖僅使用本手冊第二部分(http://man7.org/linux/man-pages/dir_section_2.html)中描述的Linux系統調用寫入stdout。 ssize_t write(int fd, const void *buf, size_t count); 是我嘗試使用的函數,但是我試圖將格式說明符合併到緩衝區中。理想情況下,它會這樣工作: char *adjecti

    1熱度

    1回答

    我想格式化文本。我的意思是這樣的: 我想改變這個: "something'text between apostrophes'text" 到 "something 'text between apostrophes' text" 我想從兩邊添加空格,但要'同TE字符串。 我試圖做這樣的: Arkusz1.Cells(1, 1).Replace What:="'*'" Replacement:

    2熱度

    2回答

    背景 由於一個bug in Renjin的format家庭的功能不可用,但sprintf作品。 代碼 這裏是一個替換功能,一個數字轉換爲逗號分隔字符串: commas <- function(n) { s <- sprintf("%03.0f", n %% 1000) n <- n %/% 1000 while(n > 0) { s <- concat(s

    1熱度

    1回答

    「html.format.wrapAttributes」:「force-align」在jsx上不起作用。 我想格式 <RenderView key="1" className="hah" data="data" /> 到 <RenderView key="1" className="hah" data="data" />

    1熱度

    2回答

    我想把一個完整的名字變成一個字符串的首字母縮寫。我的邏輯是大寫字符串中的所有名稱,將空格中的字符串拆分爲一個列表,然後選擇每個索引的第一個字符,然後將這些字符加入由句點分隔的單個字符串中。 我遇到了麻煩,不知道是否有更好的方法。 這是我目前的進度: def main(): fstn= input("Enter your full name:") fstn=fstn.title

    0熱度

    3回答

    每一個 即時通訊新與ASP .NET,我不知道如何與ASP .nethelp我創建母版頁PLZ 這是我Masterpage標記: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3

    1熱度

    2回答

    我有這個按鈕: <asp:Button runat="server" ID="botao" OnClientClick="submit();" OnClick="submeter" Text="Pedir Revisão" /> 這個JavaScript函數: function submit() { alert("entrei"); //tabelaAutores