首先,打開文件夾PackageDemo,運行StudentInfo.jcw, 進入JCreator環(huán)境,要求按順序分別編譯(即運行菜單項“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
本程序通過系統(tǒng)調(diào)用stat讀出文件大小屬性,并顯示輸出。 linux文件系統(tǒng)調(diào)用 編譯命令:cc dir.c 運行命令:./a.out
標簽: stat 程序 系統(tǒng)調(diào)用
上傳時間: 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 } 執(zhí)行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
標簽: 記錄
上傳時間: 2016-01-04
上傳用戶:亞亞娟娟123
在這篇文檔中,將以C/C++的源碼作為我們基礎,所以必然涉及一些關于C/C++的編譯的知識,相關于這方面的內(nèi)容,還請各位查看相關的編譯器的文檔。這里所默認的編譯器是UNIX下的GCC和CC。
標簽: 文檔
上傳時間: 2016-01-13
上傳用戶:chenjjer