NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

#include <stdio.h> 一對大括號({})表示一個區塊的開始與結束
int main(){
printf("Hello world!/n"); printf 是一個涵式 能將括號內的字串印出
return 0; 字串以雙引號表示
} return的用途是回傳一個結果 return 0 表示回傳
0表示程式成功執行完畢
printf 是另外一個事先寫好的涵式. 所以在程式碼第一行 要加上 #include <stdio.h> #include <stdio.h>
將stdio.h 這個檔案的內容加進來 此檔案為C語言內建的檔案, include的指令會把此檔案內容加入程式碼
這樣就能使用printf這個涵式
此為內建函式的呼叫 (built-in function)

C語言的語法中 字串的雙引號之間是不能用enter換行切開, 所以必須要使用n來表示一個換行字元
n 是一個跳脫序列(escape sequence) 通常跳出序列都是反斜線 開頭
常見的(escape sequence) 反斜線 可以讓你程式延伸到下一行
n 換行 " 雙引號 \ 反斜線 ' 單引號 t 跳位(空行)
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.