273? C

Similar documents
182.PDF

C C UNIX C ( ) 4 1 HTML 1

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

untitled

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License


X Window System X X &

Microsoft Word - C.....u.K...doc

図 1: 場所をクリックし ホームフォルダーをクリックすると (上図) ホーム フォルダー下にあるファイルやディレクトリの一覧を見ることができる 下図 2

8 / 0 1 i++ i 1 i-- i C !!! C 2

Microsoft PowerPoint - スハ?コン利用入門_ _UNIX利用の基礎知識.pptx

untitled

tebiki00.dvi

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

GNU Emacs GNU Emacs

2012_00表紙

pera1会社概要n

本 日 の 授 業 内 容 最 低 限 覚 えるべきUNIXコマンド pwd, ls, mkdir, cd, cp, rm, mv テキストエディタの 簡 単 な 使 い 方 テキストエディット, Jedit X,Emacs C 言 語 プログラミングの 初 歩 hello, world を 画 面

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

1

( ) 1 Windows HTML ( ) ( ) ( ) WWW 10 ( )

UNIX

42

UNIX version Copyright c Daikoku Manabu 1 UNIX 1.1 UNIX UNIX UNIX OS Windows UNIX UNIX UN

ユーザーズマニュアル

情報処理概論(第二日目)

Raspberry Pi ZeroによるIoT入門

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

programmingII2019-v01

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

スパコンに通じる並列プログラミングの基礎

Microsoft PowerPoint - InfPro_I6.pptx

情報の分析 1. Linux ツールの活用

スパコンに通じる並列プログラミングの基礎

2008 IIA (program) pro(before)+gram(write) (artificial language) (programming languege) (programming) (machine language) (assembly language) ( )

I #2 : ( 8-13), () URL : j inoue/prog2007/prog2007.html

05KLZ_..

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n

スパコンに通じる並列プログラミングの基礎

PowerPoint Presentation

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player jp/download/player/ URL VMware Plaeyr VMware

情報処理概論(第二日目)

情報処理概論(第二日目)

練習 4 ディレクトリにあるファイルを直接指定する (cat) cat コマンドを使う (% cat ファイル名 ) と ファイルの内容を表示できた ファイル名のところにパス名を使い ディレクトリ名 / ファイル名 のように指定すると ディレクトリ内にあるファイルを直接指定できる 1 % cat _

<4D F736F F F696E74202D E3F FC96E55F F554E CC8AEE D8EAF2E B8CDD8AB B83685D>

tsg178.dvi

1 ログインとログアウト 1.1 ログイン ログイン画面で [ password ] 欄にパスワードを入力します (図 1) 図 1 ログイン画面 正しくログインができると Ubuntu のデスクトップ画面 図2 が表示されます 図2 Ubuntu デスクトップ画面 2

1 CUI CUI CUI 1.1 cout cin redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

Informatics 2010.key

file"a" file"b" fp = fopen("a", "r"); while(fgets(line, BUFSIZ, fp)) {... fclose(fp); fp = fopen("b", "r"); while(fgets(line, BUFSIZ, fp)) {... fclose

憲法h1out

C

CONTENTS N T

unix.dvi

203.dvi

160420c_unix.pptx

Vectorworks教育シンポジウム2015

1

Unix * 3 PC 2 Linux, Mac *4 Windows Cygwin Cygwin gnuplot Cygwin unix emulator online gnuplot *5 matplotlib *6 SuperMongo *7 gnuplot gnuplot OS *8 Uni

cat A

Remembering the Kanji (4th Edition) - kanji 1 to 2042

第 3 回情報基礎演習 UNIX / Linux: ファイルシステム シェルを理解しよう! 谷口貴志 Panda に login し 情報基礎演習クラスの VDI から Ubuntu に接続し Linux に login した後, 左 上の Activity 端末のアイオン をクリック 端末 を立ち

スライド 1

第5回お試しアカウント付き並列プログラミング講習会

1) : man [ ] 1: $ man ls ls ( jman) 2: $ man 3 printf C printf 3 man 1: 2: UNIX 3: 4: 5: 6: 7: 8: man man man -k 2) : ls [options] 1: $ ls /etc [ or ]

a0postercls? Gerlinde Kettl, Matthias Weiser T E Xmacro wwwctanorg/tex-archive/macros/latex/contrib/a0poster LAT E X

Copyright 2017 JAPAN POST BANK CO., LTD. All Rights Reserved. 1

00_cover1_2.pm6

アプリケーションソフトウェアガイド PM2200C用

kiso2-01.key

Y100Z28770A

Design for Sports

% 11.1% +6.% 4, % %+12.2% 54,16 6.6% EV7, ,183 Copyright 216 JAPAN POST GROUP. All Rights Reserved. 1

本製品をご購入.indd

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P P.11 P.14 P.15 P.16 P.16 P.17 P.19 P.20 P.22 P P P P P P P P P

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P.10 P.12 P.13 P.14 P.14 P.15 P.17 P.18 P.20 P P P P P.25 P.27 P.28 Copyright 2016 JAPAN POST BA

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裵²ó ¨¡ À©¸æ¹½Â¤¡§¾ò·ïʬ´ô ¨¡

01_06.indd

QW-3414


3M_MS Guidebook_2

ネットワークシステム管理 #01

debug ( ) 1) ( ) 2) ( ) assert, printf ( ) Japan Advanced Institute of Science and Technology

(2-3)CyberSpace

筆王 for NEC

ネットワークシステム管理 #01

スライド 1

PowerPoint プレゼンテーション

double float

slice00_install.dvi


1 return main() { main main C 1 戻り値の型 関数名 引数 関数ブロックをあらわす中括弧 main() 関数の定義 int main(void){ printf("hello World!!\n"); return 0; 戻り値 1: main() 2.2 C main

170420_unix.pptx

やよいの顧客管理

弥生給与/やよいの給与計算

弥生 シリーズ

弥生会計 プロフェッショナル/スタンダード/やよいの青色申告

弥生会計/やよいの青色申告

弥生会計 ネットワーク/プロフェッショナル2ユーザー

Transcription:

TSG Theoretical Science Group

273? C 2-1.................................. 2

-1. Windows Mac Mac UNIX CUI bash >_ Finder TSG No.273? 2

3 pwd ls cd ( ) change directory 3 TSG No.273?

cd hoge cd hoge cd....../ Windows cd / / cd TSG No.273? 4

exit cat touch mkdir cp mv rm man nkf 5 TSG No.273?

cat hoge.txt fuga.tex hoge.txt cat hoge. t x t hoge.txt fuga.tex cat hoge. t x t fuga. t e x hoge.txt fuga.tex hoge.txt 10 head 10 hoge. t x t hoge.txt 10 t a i l 10 hoge. t x t TSG No.273? 6

touch hoge.txt touch hoge. t x t mkdir hoge mkdir hoge 7 TSG No.273?

cp hoge.txt,fuga.tex piyo hoge.txt hogehoge.txt cp hoge. t x t hogehoge. t x t hoge.txt piyo cp hoge. t x t p i y o hoge.txt fuga.tex piyo cp hoge. t x t fuga. t e x p i y o piyo hogepiyo cp r p i y o hogepiyo hogepiyo hogepiyo piyo hogepiyo hogepiyo piyo TSG No.273? 8

mv cp hoge.txt,fuga.tex piyo hoge.txt hogehoge.txt mv hoge. t x t hogehoge. t x t hoge.txt piyo mv hoge. t x t p i y o hoge.txt fuga.tex piyo mv hoge. t x t fuga. t e x p i y o piyo hogepiyo mv p i y o hogepiyo -r hogepiyo hogepiyo hogepiyo hogepiyo piyo 9 TSG No.273?

rm hoge.txt,fuga.tex piyo hoge.txt rm hoge. t x t piyo r m d i r p i y o piyo rm r f p i y o TSG No.273? 10

nkf Windows FUJITSU LTD. Network Kanji Filter hoge.txt hoge.txt EUC nkf e hoge. t x t hoge.txt UTF-8 nkf w hoge. t x t hoge.txt hoge2.txt nkf w hoge. t x t > hoge2. t x t nkf w hoge. t x t > hoge. t x t 11 TSG No.273?

> >> > hoge.txt CommandName > hoge. t x t hoge.txt >> hoge.txt CommandName >> hoge. t x t hoge.txt CommandName1 CommandName2 CommandName1 CommandName2 head 10 hoge. euc. t x t nkf w hoge.euc.txt 10 UTF-8 TSG No.273? 12

Mac Mac open Mac open hoge.txt open hoge. t x t UNIX URL:http://tohoho.wakusei.ne.jp/ open 13 TSG No.273?

mkdir program cd program helloworld.c touch h e l l o w o r l d. c Xcode open h e l l o w o r l d. c emacs emacs h e l l o w o r l d. c Xcode Windows +S Mac +Tab helloworld.c C #include <s t d i o. h> i n t main ( i n t argc, char argv [ ] ) { p r i n t f ( H e l l o world! \ n ) ; return 0 ; } TSG No.273? 14

C gcc gcc h e l l o w o r l d. c a.out a.out gcc o b. out h e l l o w o r l d. c gcc helloworld.c -o > C Mac./. / a. out helloworld 15 TSG No.273?

F test F text F texture 273? 2008 5 1 153-0041 3-8-1 305 Telephone: 03-5454-4343 c Theoretical Science Group, University of Tokyo, 2008. All rights received. Printed in Japan.

273? C 2008 5 1 THEORETICAL SCIENCE GROUP