Dev-CPP is an IDE with GCC under Win32.Program, Written in dephi 5, only 2 mHas the following features:
1. Integrated compilation environment, supporting engineering templates.2. Support for high syntax and automatic annotation, and good support for Chinese.3. Support for CVS Integration4. Supports source code analysis to form tree charts.5. Support for extension packages.
Dev-CPP is officially released
How to run the. sh file under LinuxThis article describes a method of how to run. sh files under Linux with commands, in two ways:First, direct./plus file name. SH, if running hello.sh for./hello.sh "hello.sh must have x permission"Second, direct sh plus filename. sh, such a
Cocos2d-x about Android. mk automatically read CPP, cocos2dandroid. mk
* *********************************** Please specify the source: bytes ********************************************
I know the development of cocos2d-x games,
When everything is done,
The last step is to generate the APK,
In the past, we used NDK and so on, which is very complicated to do,
After 3.0, you can directly create it in the command line cocos compile.
It is much simpler.
Note One: Installation of Microsoft Visual Studio 2010 Software and establishment of the first CPP fileI am learning C + + using software for Microsoft Visual Studio 2010.First, the software's installation packageLinks: https://pan.baidu.com/s/1kW3ChL1Password: lg9pDownload the software and install not much to say.New ProjectFirst step, open Microsoft Visual Studio 2010Second step, select File--New--ProjectThe third step, select "Visual C + +"--"Win32
Php-cpp is a C + + library for developing PHP extensions. This section explains how to implement PHP classes in C + +.Class and object classes and objectsHow do you write PHP classes in php-cpp? Very simple, see the following example:main.cpp/** * User: Public number: Feihong Shadow's Blog (fhyblog) * DATE:2018/7 * * #include First, the C + + class must inherit from, and Php::Base Secondly, when we add the
A ORA-15031 error is prompted when root. sh is executed
Recently, an Oracle Grid infrastructure (GI) installation problem was solved. The problem occurred while executing root. sh and the following error was displayed:
Disk Group OCR creation failed with the following message:ORA-15018: diskgroup cannot be createdORA-15031: disk specification '/dev/vx/rdsk/dg_db01/lv_vote1' matches no disks ORA-15031: disk
As shown in the preceding figure, the crontab of the project is executed. sh file and then in. sh and find the corresponding php file again. it seems redundant. Is that true? it is impossible to have a problem similar to performance impact. for example, you can see that a project is executed in crontab. sh file and then in. it seems a bit redundant to find the co
DBAs often deploy some sh scripts to log on to the ORACLE database to query the v $ dynamic view to get something for the purpose of actual management automation, but when writing ORACLESQL statements in the sh script,
DBAs often deploy some sh scripts to log on to the ORACLE database to query the v $ dynamic view to get something for the purpose of actual manage
The first time I learned shell programming, I read the article that the shell program must start "#! /Bin/sh.
Although I know that all statements starting with "#" in shell are comments, I never think "#! /Bin/sh is also a comment, just as there is no doubt that a C program must have a main function.
But some time ago I heard that "#! /Bin/sh "is also a comment a
--. 1 root root 54453 Jan 5 18:49Zookeeper.out[root@hadoop01 ~]# Du-sh. [Summary of all directories and files in the current directory,-S for summary,-H for humanized display in KB, MB, GB, TB format]6. 6G. [Root@hadoop01 ~]# Du-sh * [summarizes the size of each directory and file in the current directory]3. 2G Apps4.0K common-friends.log416k Data4. 0K Esdata4. 0K flow.dat82m Flume4. 0K hadooptest150m hdpda
the compiler used. Fortunately, most compilers can set the diagnostic level. When a function declared as inline is not actually inline, the compiler will issue a warning message for you.
Inline functions are actually defined in header files. This allows multiple units (source files) to be compiled to contain the same header file and share the benefits of inline functions defined in the header file.
// File example. hInline void F () {...} // F Definition...// File source1.
Tags: TE tar sha github blank so usr rect. comSince the code to learn is used in the Yaml-cpp, the installation process is documented here, translated from: StackOverflow.About Yaml-cpp You can take a look at Yaml,yaml-cpp to find out.First, delete the original Yaml-cpp library locally:The installer just copies the hea
*. SH and *. Bin are often downloaded in Ubuntu.SoftwarePackage. When I recently installed springsource, right-click it and start running the terminal directly. After installation, the installation directory cannot be found. Depressed.
Later, run the command to install the SDK. You can select the installation directory as in Windows 7. The following two installation methods are settled:1. Install the. Sh f
Run the. Sh file in Ubuntu Linux.
First, make sure that the file type is executable.
There are two ways to set the file as an executable file.
1) directly select "executable" in the file property tag, -- if B uses a graphical interface, this method is the simplest and most direct.
2) run the command chmod + X file. Sh. Add executable attributes to file attributes.
Then, execute the shell script file.
/bin/sh^m:bad interpreter:no Such file or directoryExecutes. sh script in Linux, exception/bin/sh^m:bad interpreter:no such file or directory.Analysis: This is caused by different system encoding formats: the. sh file that is edited in the Windows system may have invisible characters, so the above exception information
Binsh ^ M: badinterpreter: Nosuchfileordirectory the reason is that the sh script is written in the notepad file in windows. Encoding formats of different systems. The encoding format of the transfer file: 1. ensure that you have read and write permissions on the file or bin/sh ^ M: bad interpreter: No such file or directory. sh scripts are written in notepad fil
I often in Linux by compiling the. sh file to build the project, has been no problem, the code has not changed, but the compilation today, but the error is prompt:Then I was very puzzled to see my. sh file, which has a lot of [], are these errors, but has been no problem.Later found, because Ubuntu default sh is connected to dash, but also because of the dash and
*************************************** Reprint Please specify the Source: Http://blog.csdn.net/lttree ********************************************The development of Cocos2d-x games is known,When all the stuff is done,The last step, build apk,Used to be the NDK and so on a series of complex things to do,After 3.0, you can make it directly at the command line Cocos compile.It's a lot easier.However, there are still things that need to be manuallyFor example, fill in the.
Review above:In the previous article, I introduced how to create a package file and create a custom project. Next I will introduce wxwidget installation as agreed. This article is applicable to the dev-CPP and mingw32 compilers.
Chapter 4 download and install wxwidget
This chapter describes how to download and install the wxwidget GUI development library.First, we need to know that wxwidget is used in Win32. Therefore, we need to download the wxmsw de
Dev-CPP/mingw32 Environment Introduction (12)
Review above:In the previous article, we learned how to set and use GTK in mingw. From this article, we will begin to enter the intermediate article. That is to say, we mainly use mingw and other GCC in Win32. Instead of introducing only those operating IDE and installing components. If we used to be on the runway, we are about to take off now. Therefore, we will pay more attention to program configuration
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.