首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 109 毫秒
1.
陈庆章 《软件世界》1997,(6):62-63,92
Java是由美国SUN微系统公司(SunMicrosystems,Inc)所开发的、也是第一种能在国际互连网络上面使用的、具有硬件和软件独立性和交互能力的程序语言。从Java发展历史与其背景来看,Java与C或C+十有着密切的关系,但是Java与C和C++却有着重要的区别,我们仔细的分析Java语言的语法,可以发现Java实际上去掉了不少C和C+十的特有的东西,并加入了一些新的特性。一JJava语言的特点Java乃是因应撰写C+十语言程序时所遇的困难而萌发的。起先只是一个消费性电子产品大计划中的一部份。当初被考虑采用的是C+十语言,但从一开始的编…  相似文献   

2.
本文详细介绍了如何在Java中用C语言实现类的本地方法,以及如何在本地方法中访问对象的动态、静态域和调用对象的方法。  相似文献   

3.
本文以实例程序及其在3种不同编译器上的不同运行结果,表明C/C 运算求值顺序存在缺陷。并利用3种命令行编译器生成实例程序对应的汇编语言程序,深入分析了各编译器在运算求值顺序实现中的具体差异,这对准确、高效地运用C/C 是有益的。  相似文献   

4.
Java语言是目前较为流行的网络编程语言,它克服了C和C++语言的不足之处,具有编程简单、面向对象、分布式、解释执行、安全、与平台无关、可移植、高性能、多线程以及动态性等特点.下面笔者将它与C和C++语言作一比较和分析,从而使懂得或学过C和C++语言的读者能对它们之间的异同有进一步的了解.  相似文献   

5.
V2C++——一个用C++实现的VHDL翻译型模拟器   总被引:2,自引:0,他引:2  
由于面向对象的C++语言更贴近描述硬件对象的VHDL语言C++实现翻译型VHDL模拟器,并利用C++本身的编译器的优化功能,可以得到运行的时间和空间方面效率较高的VHDL模拟器,V2C++的原型设计和初步实践表明,用C++实现VHDL翻译性模拟器比解释性模拟器具有较高效率,利于较大规模的电路的模拟。  相似文献   

6.
C++语言是C语言的超集,C++语言除了在C语言的基础上扩充了面向对象特征外,还扩充了非面向对象特征,本文讨论了C++语言不同于C语言的非面向对象特征、C++面向对象程序设计中的二义性和C++语言的文件操作,并给出了一些应用例子。  相似文献   

7.
嵌入式实时程序设计中C/C++代码的优化   总被引:5,自引:0,他引:5  
本文简单介绍了嵌入式实时程序设计的特点和嵌入式系统中语言的选择,着重介绍了以下几种在嵌入式实时程序设计中优化C/C++代码的方法。  相似文献   

8.
现在许多游戏都是基于DOS4GW的保护模式的程序,用WATCOM C/C++就能编写这种程序。本文介绍了怎样用WATCOM C/C++编写显示真彩色BMP的程序。 1.怎样编写基于DOS4GW的程序 编写基于DOS4GW的程序,需要WATCOMC/C++的32位的DOS编译器,一般9.0以上的版本中就有。WATCOM C/C++与MSC基本上是兼  相似文献   

9.
C或者C+十是当今最为重要的编程语言,其作为开发工具一向是大软件厂商的必争之地。以往BOrland的产品总被公认略胜一筹。但自93年推出VisualC+十以来,Microsoft渐渐地占了上风,进入96年后,Microsoft又接踵推出了VC++4.0、4.正和4.2版本,使它的竞争优势进一步得到了加强。下面介绍的VC++4.X版的新功能,虽然只是其中的一部分,但仍能对它的强大功能有所了解。DeveloperStudio——既熟悉又陌生的开发环境VC++4.0的最大变化莫过于它采用了一个独立于VC++,又与VC+十紧密集成的新开发环境,即DeveloperStudio。…  相似文献   

10.
C是个强有力的程序设计语言。它所提供的各种特点有助于写出简单明了、有效且易于维护的程序。 C语言原是贝尔实验室Dennis Ritchie为DEC PDP11机写UNIX操作系统而创立的。UNIX系统本身、C编译程序及大部分UNIX系统下的实用程序都是用C写的。因此,C的设计思想是基于面向机器的,具有许多机器语言的特点,比如有许多地址操作和位操作,可直接使用机器寄存器,可进行存贮分配等,但作为一个高级语言,又具有高级语言的特点,如具有很丰富的高级数据类型和高级程序结构。  相似文献   

11.
C语言中的运算符优先级关系复杂难记,结合编程和教学实践,给出了C语言运算符优先级的巧记规则,辅以实例加以说明。  相似文献   

12.
C语言是计算机专业中一门很重要的基础性课程,许多中等专业学校和职业学校都开设这门课,同时它又是中职学校高考专业课的必考科目,因此学好这门课对于中职学校的学生来说就显得尤为重要。对于初学者而言要完全掌握这门编程语言还是有一定难度的,用几个典型的C程序实例将理论知识与上机环境结合起来,通过巧妙使用上机键来帮助大家学习C程序代码,为最终实现个人编程打好坚实基础。  相似文献   

13.
随着高校办学规模的不断扩大和业务活动的不断拓展,高校教职工的数量也越来越多,高校教师劳务费管理变得更加复杂,传统的人工计算和审核状态效率低,已经明显不能适应现代教育管理要求。基于此,本文以广州医科大学卫生职业技术学院为研究对象,结合了当前国内外有关劳务费系统的发展现状,根据学校的实际需求,并依托其现有的基础信息,开发了基于C/S结构的"劳务费统计系统"。开发语言是使用目前网络开发中使用较多的C Sharp,数据库采用Microsoft Office Access 2003。实际应用表明,该系统的实施极大地提高了教师劳务费管理的工作效率。  相似文献   

14.
We describe a C++ implementation of the Optimal Jet Definition for identification of jets in hadronic final states of particle collisions. We explain interface subroutines and provide a usage example. The source code is available from http://www.inr.ac.ru/~ftkachov/projects/jets/.

Program summary

Title of program: Optimal Jet Finder (v1.0 C++)Catalogue identifier: ADSB_v2_0Program summary URL:http://cpc.cs.qub.ac.uk/summaries/ADSB_v2_0Program obtainable from: CPC Program Library, Queen's University of Belfast, N. IrelandComputer: any computer with a standard C++ compilerTested with:
(1)
GNU gcc 3.4.2, Linux Fedora Core 3, Intel i686;
(2)
Forte Developer 7 C++ 5.4, SunOS 5.9, UltraSPARC III+;
(3)
Microsoft Visual C++ Toolkit 2003 (compiler 13.10.3077, linker 7.10.30777, option /EHsc), Windows XP, Intel i686.
Programming language used: C++Memory required:∼1 MB (or more, depending on the settings)No. of lines in distributed program, including test data, etc.: 3047No. of bytes in distributed program, including test data, etc.: 17 884Distribution format: tar.gzNature of physical problem: Analysis of hadronic final states in high energy particle collision experiments often involves identification of hadronic jets. A large number of hadrons detected in the calorimeter is reduced to a few jets by means of a jet finding algorithm. The jets are used in further analysis which would be difficult or impossible when applied directly to the hadrons. Grigoriev et al. [D.Yu. Grigoriev, E. Jankowski, F.V. Tkachov, Phys. Rev. Lett. 91 (2003) 061801] provide brief introduction to the subject of jet finding algorithms and a general review of the physics of jets can be found in [R. Barlow, Rep. Prog. Phys. 36 (1993) 1067].Method of solution: The software we provide is an implementation of the so-called Optimal Jet Definition (OJD). The theory of OJD was developed in [F.V. Tkachov, Phys. Rev. Lett. 73 (1994) 2405; Erratum, Phys. Rev. Lett. 74 (1995) 2618; F.V. Tkachov, Int. J. Modern Phys. A 12 (1997) 5411; F.V. Tkachov, Int. J. Modern Phys. A 17 (2002) 2783]. The desired jet configuration is obtained as the one that minimizes Ω, a certain function of the input particles and jet configuration. A FORTRAN 77 implementation of OJD is described in [D.Yu. Grigoriev, E. Jankowski, F.V. Tkachov, Comput. Phys. Comm. 155 (2003) 42].Restrictions on the complexity of the program: Memory required by the program is proportional to the number of particles in the input × the number of jets in the output. For example, for 650 particles and 20 jets ∼300 KB memory is required.Typical running time: The running time (in the running mode with a fixed number of jets) is proportional to the number of particles in the input × the number of jets in the output × times the number of different random initial configurations tried (ntries). For example, for 65 particles in the input and 4 jets in the output, the running time is ∼4⋅10−3 s per try (Pentium 4 2.8 GHz).  相似文献   

15.
案例教学法在高职C语言教学中的应用   总被引:1,自引:0,他引:1  
庄焕 《电脑学习》2009,(4):94-95
本文对高等职业学校C语言教学的现状进行了分析,探索了案例教学法在C语言教学中应用的可行性。在实践过程中针对高职学生的特点使用了案例教学法,使得学生在C语言学习中掌握了基础知识,攻克了难点,增强了教学效果。  相似文献   

16.
任务驱动教学法是以学生为对象,以任务为驱动的教学方式。通过C语言课程教学示例,阐述了任务驱动式教学的实施步骤及达到的效果。  相似文献   

17.
决策树是归纳学习和数据挖掘的重要方法,该文对c4.5算法、决策树的构建和剪枝进行了介绍,然后将C4.5算法应用于信息检索结果分类中,实现了检索结果的分层分类处理。  相似文献   

18.
G. F. Levy 《Software》1995,25(2):217-227
The popularity of C as a computer language has meant that many Fortran 77 programs have been translated into C. Although automatic translation from Fortran 77 to C can be accomplished using the tool f2c, the generated C code is not easy to read and maintain. This article describes a set of tools developed at NAG Ltd for the automatic polishing of f2c generated C code.  相似文献   

19.
任务驱动教学法是以学生为对象,以任务为驱动的教学方式。通过C语言课程教学示例,阐述了任务驱动式教学的实施步骤及达到的效果。  相似文献   

20.
In C2C communication, all necessary information must be collected promptly when a buyer and a seller communicate. That is, an intelligent C2C agent is needed to provide information to buyers and sellers. Along with the evolution of computing technology, C2C agents can exploit the efficient delivery capabilities of peer-to-peer (P2P) technology. However, P2P also increases traffic between agents, but communication faults are a fatal problem for C2C business. This study proposes a robust communication architecture based on current P2P content-delivery standards and its efficiency and robustness have been verified from an experiment.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号