C++ ????????μ????????
???????????? ???????[ 2015/8/28 10:54:51 ] ??????????????????? ???????
?????Щ????
???????????????????????????? C??????????????????????????????????????????????ZX Spectrum????? Z80 ?????Щ?????????????????????????????????????????裬???????????κ??????????д????????????????128K ZX Spectrum +2??????????? CPU ???????????????????????????????????? IBM PC ?? ???????????????????????? Fortran ????????????????????????????????????? Pascal ???????????????????????????????????????? SQL ?? APL??
?????????? C ?????????????????????н???????C????????????????????ζ????????????Unix ????????????????????е????? hello.c ?????????????????????????……???? DOS ?????????? DJGPP ?????????????????????е???? Linux ?????????????а??? Debian???????????? C ?????Plauger ?? “Standard C Library” ??????????顣
???????????????? C ???????C++ ???????ó???????????????????????? C++ ????????????????????
????????……?e?????? C++ ??????????????????????????в??????????????????????д?????????????????????????????????????????????????????? C++ ???e?????е????????????? CPU ????????????????????????????????Щ??? C++ ??????? C ???????????? malloc ?????????????
???????????????????????????????????羭????飬?????? Java ?????????????????????????鷳???????????????????????? socket ????????????????????????????????????????????AWT ?? Swing ?????a?????????????????????????????
?????????????????????????????????????????饗??????????????????????е????java??ó??????в??????????????????????FreeBSD???????????100Mhz???????????16Mb??棬?????????????????????????????????perl??饗mod_perl????Apache????????????????????????????Perl?????
?????????????????????????????????Perl????????????????????????????????????????????????????????е??????????????覴á?
????Perl???????????????????????????????????????Щ????????????????????????? CPAN??
??????????????????? Perl ??????????? HTML ??? HTML ?????????????????????????????????????? ????????????????????Щ????£????????????????????????????????????????????????????????????????? HTML ?????????????????????Ч?????????????????Щ?????????????Ч?? HTML ????????????? XML ????Ч HTML ?????????á?
???????У?Perl ???????????????????????????????????????κ??????????? perl ???????????С?
????????д???Щ???????????????????????и????????
????C++ ???
??????????????C++?????????????????????????????????C++????????????? work of the ISO committee?? boost???????顣
??????????????£??????90%?????????C++???????????????new?????????????C????????????棬C++??Perl??????????????д??Perl????????????????Perl????C??Java??Python??shell??Awk??????????????о???????
?????????????????C++????е???????????????????????????????????????????????????????????????檔
??????????????
??????????????????????? C++ ???? Perl ???????????????????????????????
???????? Perl ?汾???????ο???
????#!/usr/bin/env perl
????use strict;
????use warnings;
????run(/@ARGV);
????sub run {
????my $argv = shift;
????my @counts;
????for my $file ( @$argv ) {
????my $count = -1;
????eval {
????$count = word_count($file);
????1;
????} or warn "$@";
????push @counts?? {
????file => $file??
????word_count => $count??
????};
????}
????for my $result (@counts) {
????printf "%s: %d words/n"?? $result->{file}?? $result->{word_count};
????}
????}
????sub word_count {
????my $file = shift;
????my %words;
????open my $fh?? '<'?? $file
????or die "Cannot open '$file': $!";
????while (my $line = <$fh>) {
????my @words = split ' '?? $line;
????$words{ $_ } += 1 for @words;
????}
????close $fh;
????my $word_count;
????$word_count += $_ for values %words;
????return $word_count;
????}
????????????????????????? Perl ????????? C++ ???檔????г???д????Ц????????? Perl ??????????????д???????棬?????е????????????????????????????????????顣
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11