File:Printf.svg

出自Wikimedia Commons
跳至導覽 跳至搜尋

原始檔案(SVG 檔案,表面大小:525 × 125 像素,檔案大小:91 KB)

說明

說明

添加單行說明來描述出檔案所代表的內容
Input: 'printf("Color %s, Number %d, Float %3.2f", "red", 123456, 3.14);' Output: 'Color red, Number 123456, Float 3.14'

摘要[編輯]

描述 Example diagram of the printf function in the C programming language
日期
來源 自己的作品
作者 Surachit

{{ImageNote|id=1|x=748|y=80|w=6|h=27|dimx=755|dimy=175|style=2}} There should be a right parenthesis here before the semicolon. My browser will render the SVG directly, with the right parenthesis shown, but the semicolon is not shown. I looked at the XML codes, and it seems to contains a lot of useless codes. Maybe somone who has a account here can fix it {{ImageNoteEnd|id=1}} {{ImageNote|id=1|x=271|y=103|w=11|h=10|dimx=525|dimy=125|style=2}} Space missing! {{ImageNoteEnd|id=1}} {{ImageNote|id=1|x=302|y=50|w=28|h=21|dimx=525|dimy=125|style=2}} This needs to be "%4.2f" or you need to add a space between "Float" and "3.14" in the output. {{ImageNoteEnd|id=1}}

授權條款[編輯]

I, Surachit,此作品的版權所有人,決定用以下授權條款發佈本作品:
GNU head 已授權您依據自由軟體基金會發行的無固定段落、封面文字和封底文字GNU自由文件授權條款1.2版或任意後續版本,對本檔進行複製、傳播和/或修改。該協議的副本列在GNU自由文件授權條款中。
w:zh:創用CC
姓名標示 相同方式分享
此檔案採用創用CC 姓名標示-相同方式分享 3.0 未在地化版本授權條款。
姓名標示: I, Surachit
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
  • 相同方式分享 – 如果您利用本素材進行再混合、轉換或創作,您必須基於如同原先的相同或兼容的條款,來分布您的貢獻成品。
已新增授權條款標題至此檔案,作為GFDL授權更新的一部份。
w:zh:創用CC
姓名標示 相同方式分享
此檔案採用創用CC 姓名標示-相同方式分享 2.5 通用版2.0 通用版以及1.0 通用版授權條款。
姓名標示: I, Surachit
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
  • 相同方式分享 – 如果您利用本素材進行再混合、轉換或創作,您必須基於如同原先的相同或兼容的條款,來分布您的貢獻成品。
您可以選擇您需要的授權條款。

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2022年7月26日 (二) 16:19於 2022年7月26日 (二) 16:19 版本的縮圖525 × 125(91 KB)INDT留言 | 貢獻changed %4.2f to %3.2f
2015年11月15日 (日) 00:01於 2015年11月15日 (日) 00:01 版本的縮圖525 × 125(91 KB)ToBeFree留言 | 貢獻"%5.2f" was incorrect (needs to be "%4.2f" or a space has to be added to the output).
2010年10月3日 (日) 20:46於 2010年10月3日 (日) 20:46 版本的縮圖525 × 125(91 KB)Leeharr留言 | 貢獻Make number input match output (1234567 -> 123456).
2010年4月21日 (三) 23:15於 2010年4月21日 (三) 23:15 版本的縮圖525 × 125(90 KB)Tsaitgaist留言 | 貢獻fixed missing "
2010年1月24日 (日) 16:55於 2010年1月24日 (日) 16:55 版本的縮圖525 × 125(71 KB)Leeharr留言 | 貢獻Arrow from "red" should point to %s instead of Color.
2009年12月20日 (日) 12:22於 2009年12月20日 (日) 12:22 版本的縮圖525 × 125(71 KB)Surachit留言 | 貢獻fix again
2009年12月20日 (日) 12:13於 2009年12月20日 (日) 12:13 版本的縮圖512 × 512(69 KB)Surachit留言 | 貢獻fix
2007年7月25日 (三) 04:47於 2007年7月25日 (三) 04:47 版本的縮圖755 × 175(9 KB)Surachit留言 | 貢獻== Summary == {{Information |Description=Example diagram of the printf function in the C programming language |Source=self-made |Date=July 23, 2007 |Author= Surachit }} [[Category:Programm
2007年7月25日 (三) 04:35於 2007年7月25日 (三) 04:35 版本的縮圖755 × 175(5 KB)Surachit留言 | 貢獻== Summary == {{Information |Description=Example diagram of the printf function in the C programming language |Source=self-made |Date=July 23, 2007 |Author= Surachit }} [[Category:Programm
2007年7月23日 (一) 21:14於 2007年7月23日 (一) 21:14 版本的縮圖755 × 175(7 KB)Surachit留言 | 貢獻{{Information |Description=Example diagram of the printf function in the C programming language |Source=self-made |Date=July 23, 2007 |Author= Surachit }} Category:Computer programming

沒有使用此檔案的頁面。

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

詮釋資料