Traverse all c ++Source code:
Write as follows:
Find/home/goodorc/mayao/raknet_working/dependentextensions/-name "*. CPP "-o-name "*. H "-o-name "*. C "-o-name "*. cc"
The reason for writing this blog is: I found that if you write this:
Find
There are two benefits to using shortcuts:
1. sense of accomplishment!
2 efficiency!
Stop your work and learn the best skills in one second. You can do it in five minutes!
"Brown bold" indicates "recommended "!
CTRL-A is equivalent to the
SocketProgramPort windows to Linux:
1) header file
Winsock. h/winsock2.h in Windows
Sys/socket. h in Linux
Error Handling: errno. h
2) initialization
Wsastartup is required for Windows.
Not required in Linux
3) Disable
Mkdir command
Function: create a directory (similarMsdosUnderMDCommand ).
Syntax:Mkdir [Option] Dir-name
Note: This command is createdDir-nameDirectory. You must create a directory in the current directory (Dir-nameIn the parent
The UNIX system is not installed, the system is not easy to obtain, and there is no need to install UNIX. Linux is the best choice. In addition, I was originally a Ubuntu system, so I set up the environment in Ubuntu.
1. Install the compiler.
I have been in the Hall of Linux for more than a year. Here I want to analyze the various implementation mechanisms of Linux. On the one hand, it is also a warm story for myself, and on the other hand, it will promote communication between everyone,
[From making a logo to LCD display or VGA display logo]1. How to Create a logo:First, select a local image. Then, use the gimpsoftware to save the image as. PNG,The conversion method is not mentioned.Then pass the image to a Linux PC, such as ubuntu.
# Include # Include # Include # Include
Int arr [] = {7,348 };Int g_ I = 0;Pthread_t thread [2];Pthread_mutex_t mutex_1, mutex_2; // mutex lock
Void print_arry () // print the Array{Int I = 0;For (; I {Printf ("% d \ t", arr [I]);}Printf ("\ n
Linux inter-process communication (IPC) has the following methods:1-"pipelines (PIPE) and named pipelines (FIFO ).2-> Message Queue3-shared memory4-"semaphores5-"signal (signal)6-"socket (sicket)Here let's take a look at the 3rd types of =
In Linux, GCC is usually used. Here we will give a clear introduction to how to generate executable programs using the GCC compiler for your reference:
1. GCC Quick Start
The general format of GCC commands is: GCC [Option] file to be compiled
A classic excerpt, the heartbeat of the OS, is very important, but seldom attracts attention unless you encounter problems.
1. Beat rate-Hz: It is 1024 in Alpha architecture, and 10 times in other platforms. 100 (2.6 kernel) on the embedded ARM ).
Enable SSH on fedora 16 posted on
February 13,201 2
|
7 Comments
A very quick post, I needed after a fresh fedora 16 install.
EnableSshdService.
$ Systemctl enable sshd. Service
StartSshdService
$ Systemctl start sshd. Service
Usage: ls [Option]... [file]...List the information (the current directory by default ).If-cftuvsux or -- sort is not specified, it is sorted by letter size.
Parameters required for long options are also required when short options are used.-A, --
Linux memory count
Another calculation ......
Using Oracle in recent days, we have found that Oracle uses a memory of up to 10 MB. Khan, quickly asked the manager to buy a new 1g memory to install, and then found that they could not recognize it.
Build Linux kernel tree for ARM platform Date: | category: Linux | tags: Miscellaneous
Copyright statement: reprinted in the form of hyperlink to indicate the original source and author information and this statement http://jezze.blogbus.com/logs/156
Preface:I have been working on nginx Load Balancing for the last few days. After nearly a week, I checked a lot of information on the Internet and finally ran a series of processes and functions today. During the course of study, I found that most
PortMadplayThe following files are required:
Madplay-0.15.2b.tar.gz,
Libmad-0.15.1b.tar.gz,
Libid3tag-0.15.1b.tar.gz
AndZlib-1.2.3.tar.gz.
You can find links to the first three files on this website:Http://sourceforge.net/project/showfiles.php?
Open the file name of the dynamic library specified in the dynamic library function (dlopen or loadlibrary), and search for the dynamic library in the following order when the program is running
1. Search Path of the library file:
1. In the
I have used VI, cssag, taglist, and sourcenav a little before, but I am not familiar with them. First, let's take a look at the popular development environment in Linux (refer to 1). Finally, I decided to build my Linux development environment based
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service