Giter Club home page Giter Club logo

gcc_programing's Introduction

gcc_programing

ふつうのLinuxプログラミングの勉強の記録

ss5

練習問題

  1. catコマンドをstdinを対応させる。=> ok

  2. 行数カウント => ok

ss6

練習問題

  1. catコマンドの改造 => まだ

  2. 行数カウント => ファイル末端の改行がわからない

  3. fread, fwriteでcatを実装 => freadがわからずまともに動かない

ss7 headコマンドを作る

ファイルから読み込ませるまでは行けたが、オプションのAPIで詰まった。

ただのカッコ忘れでした。

ss8 grepコマンドを作る

そこまで困らず行けた。

ss9

特にコードを書くことはなかった。

ss10

lsコマンドは特に困らず行けた

mkdir, rmdirコマンドもok

ハードリンク、シンボリックリンクもok

stat,chmodもok

ss11

malloc() calloc() realloc()などのAPIを使った。

ss12

ふつうにfork()、wait()するのはできた。一方ダブルforkはうまく動かな買った。

popen(),pclose()パイプを作るのはできた。一方、fork(),pipe()の方法 はうまく動かなかった。dup()で作る方はわからなかった。

ss13

APIは理解したが使い方がいまいち

ss14

pwdコマンドはok

ss15

サイバーは出来たが、ホストサーバーがうまいこと動かずレスポンスが帰って来ない。

後でソースコードを分割する。

ss16

概ねサーバーを構成する関数は理解した。 自分で書いた分割したソースコードからのビルドは後回しとする。

ss17

サーバーはできたが、動かし方がいまいち

gcc_programing's People

Contributors

aki-ph-chem avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.