⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bcccompp.stp

📁 此程序是本人编写的在MFC环境下调用Matlab函数进行编程的实例
💻 STP
字号:
# $Revision: 1.3 $sub bcccompp {    my $input = shift;    my $default_location = "C:\\BC5";    my $language_handled_fcn = sub {        my $lang = shift;                return $lang eq "C" || $lang eq "CPP";    };    my $locate_fcn = sub {        my @borland_roots = ();        if ($ENV{'BORLAND'} && -e "$ENV{'BORLAND'}\\bin\\bcc32.exe")        {            push(@borland_roots, $ENV{'BORLAND'});        }        my $registry_lookup_fcn = $input->{"registry_lookup"};        my $borland_root = &$registry_lookup_fcn("SOFTWARE\\Borland\\Borland C++\\5.0",                                                 "BCRoot Path");        if ($borland_root ne "" && -e "$borland_root")        {            push(@borland_roots, $borland_root);        }        if (-e "$default_location")        {            push(@borland_roots, $default_location);        }        return @borland_roots;    };    my $root_val = sub {        return shift;    };    return {        "vendor_name"  => "Borland C/C++",        "version"      => "5.0",        "group_id"     => "BORLANDC",        "serial"       => 1.0,        "root_var"     => "BORLAND",        "optfile_name" => "bcccompp.bat",        "default_location" => $default_location,        "language_handled" => $language_handled_fcn,        "root_val"     => $root_val,        "locate"       => $locate_fcn        };}1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -