标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

最近の作業部屋活動履歴

2014-06-11
2014-06-09
2014-06-05

最近のWikiの更新 (Recent Changes)

2014-06-11

Wikiガイド(Guide)

サイドバー (Side Bar)

トークン・カウント・プログラム

  • R/O
  • R/O (HTTP)
  • R/W (SSH)
  • R/W (HTTPS)
Fork

トークン・カウント・プログラム

リリースファイル (Release Files)

Filename大小时间下载总数
ocp.zip3.3 k2014-06-05 11:14:5439

最近のコミット (Recent Commits)

This repository is empty. Nothing has been committed yet.

最近更新されたチケット (Latest updated Tickets)

No tickets

作業部屋 Wiki について

SourceForge.JP の Wiki システムへようこそ。 ここは作業部屋用の Wiki ページです。

ocp.cを手に入れたら

ソースの6行目を編集して、

ARMマシンなら、#define EEOF 0xff

X86マシンなら、#define EEOF EOF

に書き換えます

$ gcc -o ocp ocp.c

というようにコンパイルします

test.txtをtouchして編集します

=== test.txt begin ===

apple

car

abc

zoo

tree

sports

beta

relax

sale

desk

=== test.txt end ===

$ ./ocp test.txt

これを実行すると、test.ocpが出力結果として吐き出されます

何が出るかは実際に確認してみてください

<出力結果>

Token Count Program (OCP) Ver.130425a

Input file name: test.txt

Output file name: test.ocp

abc (1),L3(S1)

apple (1),L1(S1)

beta (1),L7(S1)

car (1),L2(S1)

desk (1),L10(S1)

relax (1),L8(S1)

sale (1),L9(S1)

sports (1),L6(S1)

tree (1),L5(S1)

zoo (1),L4(S1)

[\n]=10,0x0d=0,space=0,;=0

(=0,)=0,{=0,}=0

[!]=0,?=0,["]=0,[']=0,[\]=0

&=0,|=0,<=0,>=0,==0

#=0,%=0,+=0,-=0,*=0,/=0

[:]=0,,=0,.=0,@=0,_=0,^=0

[ =0, ] =0,~=0,[`]=0,[\t]=0

0=0 1=0 2=0 3=0 4=0

5=0 6=0 7=0 8=0 9=0

a=6 b=2 c=2 d=1 e=7 f=0 g=0

h=0 i=0 j=0 k=1 l=3 m=0 n=0

o=3 p=3 q=0 r=4 s=4 t=3 u=0

v=0 w=0 x=1 y=0 z=1

A=0 B=0 C=0 D=0 E=0 F=0 G=0

H=0 I=0 J=0 K=0 L=0 M=0 N=0

O=0 P=0 Q=0 R=0 S=0 T=0 U=0

V=0 W=0 X=0 Y=0 Z=0

ほぼプロジェクトと同じ機能が使えます。 書式などに関しては、Wikiガイドを参照して下さい。

Chamber Wiki

Welcome to SourceForge.JP Wiki system.

Here is your chamber Wiki space.

Check Wiki Guide (Japanese) to refer syntax and functions.