七行プログラミング (452レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん

339: 04/09/20 13:46 ID:k3h/6iWb(1)調 AAS
スクリプト -> 335.pl

/* C++のヘッダファイル foo.h */
#include <iostream>
#include <stdlib.h>
#include "common.h"

using namespace std;

namespace test{
class FooTest: public Test {
int total;
public:
Test();
~Test();
int foo(void);
int bar(int n, int m);
}; // End of class FooTest
}; // End of namespace test

実行方法
$ perl -Pn 335.pl < foo.h または、
$ ./335.pl < foo.h
18
test
iostream stdlib.h common.h
FooTest
int foo(void) int bar(int n, int m)
using namespace std int total

行数, namespace, includeファイル, メンバ関数, 変数の順に出力
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 1.266s*