首先,打开文件夹PackageDemo,运行StudentInfo.jcw, 进入JCreator环境,要求按顺序分别编译(即运行菜单项“Builder”——“Compile File”)Student.java, CourseSession.java, RosterReporter.java, StudentInfo.java. 然后,运行菜单项“Builder”——“Execute File”,并代开文件夹PackageDemo——classes, 看该目录下生成了哪些文件,并将这些文件全部删除。 修改程序,使得运行后RosterReporter.class文件在\classes\sisi\report目录下,Student.class,CourseSession.class,RosterReporter.class及StudentInfo.class文件存放在\classes\sis\studentinfo目录下
标签:
上传时间: 2015-11-06
上传用户:VRMMO
词法分析器。 要求:1.读出所给文件的所有词 2.将所有词输出写入一个txt文档中。 3.每个词用特殊符号‘^’隔开 源程序为自己所编译的cpp文件,即“text2.cpp”,Compile——〉Build——〉BuildExiecute,将结果写入另一个文件“after_execute.txt”中。
上传时间: 2014-01-15
上传用户:13517191407
是MATLAB关于c\c++的使用和应用(英文)。
上传时间: 2013-12-16
上传用户:cazjing
UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC Library Builtin functions: Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc. * Expands the text in expr using the UnderC preprocessor, putting the result into buff. void uc_macro_subst(const char* expr, char* buff, int buffsize) * Executes a UC #-command, like #l or #help. uc_cmd() expects the name of the command, _without_ the hash, e.g. uc_cmd("l fred.cpp") or uc_cmd("help"). void uc_cmd(const char* cmd) * Evaluates any C++ expression or statement will return non-zero if unsuccessful.
标签: implementation Extensions libraries standard
上传时间: 2013-12-14
上传用户:leehom61
对于单个控件,COMPONET-->INSTALL COMPONENT..-->PAS或DCU文件-->INSTALL。 2.对于带*.DPK文件的控件包,FILE-->OPEN(下拉列表框中选*.DPK)-->INSTALL即可。 3.对于带*.BPL文件的控件包,INSTALL PACKAGES-->ADD-->BPL文件名即可。 4.如果以上INSTALL按钮为失效的话,试试COMPILE按钮。 5.是RUN TIME LIB则在OPTION下的PACKAGES下的RUNTIMEPACKES加之。 如果编译时提示文件找不到的话,一般是控件的安装目录不在DELPHI的LIB目录中, 有两种方法可以解决: 1.反安装的源文件拷入到DELPHI的LIB目录下。 2.或者TOOLS-->ENVIRONMENT OPTIONS中把控件源代码路径加入到DELPHI的LIB目录中即可。
标签: INSTALL gt COMPONENT COMPONET
上传时间: 2013-12-25
上传用户:ljmwh2000
Book: Windows Graphics Programming Win32 GDI and DirectDraw Author: Feng Yuan Publisher: Prentice Hall PTR First Edition December 01, 2000 ISBN: 0-13-086985-6, 1234 pages 从Chinaitlab上下载后不能阅读,这是重新Compile、整理后的版本
标签: Programming DirectDraw Publisher Graphics
上传时间: 2014-01-24
上传用户:qunquan
本程序通过系统调用stat读出文件大小属性,并显示输出。 linux文件系统调用 编译命令:cc dir.c 运行命令:./a.out
上传时间: 2015-12-27
上传用户:tzl1975
最大流,The programs are designed to run under BSD UNIX. All programs read from the standard input and write to the standard output. Run "make" to compile the programs and generators. File "list" lists the programs produced my "make". Input files are in DIMACS format. See sample.input.
标签:
上传时间: 2015-12-30
上传用户:zhenyushaw
学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) printf("Inpute your ID :") scanf("%d", &myrec.ID) printf("Input your age :") scanf("%d", &myrec.age) lseek(fd, 0,SEEK_END) lockf(fd, 1, 0) write(fd, (void *)&myrec, sizeof(myrec)) lockf(fd, 0 ,0) return 0 } 执行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
标签: 记录
上传时间: 2016-01-04
上传用户:亚亚娟娟123
在这篇文档中,将以C/C++的源码作为我们基础,所以必然涉及一些关于C/C++的编译的知识,相关于这方面的内容,还请各位查看相关的编译器的文档。这里所默认的编译器是UNIX下的GCC和CC。
标签: 文档
上传时间: 2016-01-13
上传用户:chenjjer