1. GCC
The famous gnu c/C ++/obj-C compiler. The current version is 2.8.1, But it is said that. 7. * compatibility issues. gcc2.7.2 is widely used. For example, gcc2.7.2.3 is included in redhat5.
Sometimes GCC is used on cyrix, so there is a set of gcc2.7.2.3 features for cyrix.
Here I have the RPM FTP of redhat5: // 166.111.68.98/pub/warez-CD/huricane-contrib (cyrix2.7.2.3 2.8.1)
The basic structure is frontend and backend,/Usr/bin/GCC is a frontend, whose kernel is put under/usr/lib
of threads are in various operational states-can be very difficult, if not impossible. However, even if the situation can be faithfully reproduced, capturing the conditions and determining how the threads are crossed incorrectly is daunting. In short, the shared memory model is the idea of no one's programming fun. As a result, many software that should already be parallelized runs continuously because the job is being postponed until parallelization is the only way to achieve the desired perfo
file to generate profiling information.After you run your program and generate the gmon. out file, you can use the following command to obtain the profiling information:GprofThe program_name parameter is the name of the program that generates the gmon. out file.Tip: gprof generates a large amount of profiling data. If you want to check the data, you 'd better redirect the output to a file.F2c and p2cF2c and p2c are two source code conversion programs. F2c converts
program of the function library. The default command is "ar ";
(2) AS: Compile the program in assembly language. The default command is "";
(3) CC: C language Compiling Program. The default command is "cc ";
(4) CXX: Compile the program in C ++ language. The default command is "g ++ ";
(5) CO: extend the file program from the RFM file. The default command is "co ";
(6) CPP: the pre-processor of the C program (the output is a standard output device). The default command is "$ (CC)-E ";
(7) FC:
executed. This information is useful if you want to improve the performance of your program.To use gprof in your program, you must add the-pg option when compiling the program. This will make the program generate a file named gmon. out during each execution. Gprof uses this file to generate profiling information.After you run your program and generate the gmon. out file, you can use the following command to obtain the profiling information:GprofThe program_name parameter is the name of the prog
lot of language source code and are also interested in the syntax of different languages. So let's talk about this question briefly.
The first appearance is the LISP language. The LISP Language is famous for its popularity. It is a functional programming language. All statements are functions, so the function keyword is not required.
The meaning of formula translation in the subsequent Fortran languageForMulaTranSlation. Since it is a formula transla
commands, other rules should have no command list, otherwise make will report a warning and a command list with the last rule).Target.o:target.hTarget.o:target.cGcc-c Target.c-o TARGET.OMake has the function of automatic derivation, using the obscure rule can write makefile briefly.The above is equivalent to:TARGET.O:target.h (Makefile will attempt to build an implicit command if no command is compiled) The variables used in the implied rules are divided into two kinds: one is command-related,
How arrays are assigned values in C #
After you declare an array, you can immediately populate it with values. method is to use a comma-delimited list of data items in a pair of curly braces. Listing 2-30 declares a string array, and then specifies the names of 9 different programming languages in a pair of curly braces.
Assigning values while declaring an array
String[] languages = {"C #", "COBOL", "Java","C + +", "Visual Basic", "Pascal","Fortran",
for its high-quality language. He is a functional programming language, and all statements are functions, so there is no need for the keyword function.
Subsequently the Fortran language, the formula translated meaning for MulaTranslation. Since it is the Formula translation language, the mathematical formula F (x) = a + B is called in Fortran x = a + b .
Use function on how functions are defined: (Code fro
How to Implement functional programming
Someone asked me over the weekend how to implement functional programming. My answer is: Use your current language to compile pure functions.
For pure functions, its unique input is its parameter list, and its unique output is its return value. If you have never accepted this concept, you may mistakenly assume that all functions are pure functions, because all functions are output based on input.
However, traditional programming usually involves pass
Ftp://ssd.jpl.nasa.gov/anonymous FTP can be down
Pub/EPH/planets/ASC ??? /Sub-Directories With folders such as 405 406 410 423.
Download as needed. My name is 405 406. 405 is vague, and 406 is not included, but the span is relatively large.
The ftp://ssd.jpl.nasa.gov/pub/eph/planets/fortran/ folder contains the FORTRAN application example.
Download another visualfortran6.5 Baidu user wit
module in C, I can use it in my Python program, and the data type in the module is like that in Python? Guido van rosum: That's right. in the Python source code, only the import statement can be used in the module method. python import is a little different from Java import, but the ideas behind them are common.
Once you import a module name, the system will try to find this module in several different ways. we will set a search path to search for different types of files. if you are looking fo
The functions in C language are equivalent to subroutines or functions in Fortran language, and are equivalent to processes or functions in Pascal language. Functions provide an easy way to compute the encapsulation, and you do not need to consider how it is implemented after you use the function. With a properly designed function, programmers do not have to think about how functionality is implemented, but simply know what functionality it has. Funct
obtained from the operating system command line. When we want to run an executable file, type the filename at the DOS prompt, and then enter the actual parameters to transfer the arguments to the main parameter.
The general form of the command line at the dos prompt is: c:\> executable filename parameter parameters ...; however, it should be noted that the two parameters in main and the arguments in the command line are not one by one corresponding on the position. Because there are only two
HTML filesPostScript image compressed by EPSEPSF compressed PostScript filesERI ERWin FileERR when RobooHELP helps the compiler to compile a help system source file, it is used to store the error message.EPX ERWin FileESPS audio filesEUI Ensoniq ESP family of compressed Disk ImagesEVY Special Envoy documentEWL Microsoft Encarta documentationEXC Microsoft Word forbidden Word dictionaryEXE executable file (Program)F fortran FileF2R Farandoyle linear mo
, is the scripting language, of course, if the algorithm is excellent, In fact, the operating costs of language itself can be negligible, especially for scientific research procedures. Many domestic colleges and universities in the numerical calculation (such as when I go to school) using FORTRAN, in my opinion is completely unnecessary, the first Fortran too deviate from the mainstream, and from the effici
substitute for shell scripts. The script is a process framework, and the actual work is still completed in fortran. I write a script on windows and finally run it on linux. I should pay attention to the path issue.
Introduction to the historical development of the Python Programming Language
Introduction to the implementation of the Python Programming Language
Annotate the code in VIM using Python Programming
Why Python programming is easier tha
numerical classes and its own libraries, the disadvantage is that the language runs slowly. After all, it is a script language. If the algorithm is excellent, the running overhead of the language itself is negligible, especially for scientific research procedures. Many domestic colleges and universities use fortran for numerical computing (for example, when I went to school). In my opinion, it is completely unnecessary. The first
in these rules. Of course, we can also use make's parameter "-R" or "–no-builtin-rules" option to cancel all pre-set implied rules.Of course, even if we specify the "-r" parameter, some implied rules will take effect, since there are many implied rules that are defined using the "suffix rule", so long as there is a "suffix list" in the implied rule (and a system is defined on the target.) suffixes), then the implied rules will take effect. The default list of suffixes is:. Out,. A,. LN,. O,. C,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.