Programming Development

How to install Linux under the C development environment

Foreword

This article will guide you with detailed steps to deploy C-language development environment under Linux,Due to numerous Linux distributions,Specific circumstances vary,As used herein, the classic example of RHEL5。

Installation under Linux C development kit

Linux C development kit can be installed under the yum service,You can also use iso CD installation source files via the command rpm,Here use is[……]

Click link to continue reading...

C development environment under Linux Introduction

Lead

Linux operating system kernel is mainly written in C,Many Linux software is written in C,For example, MySQL、Apache, etc.。Beginners When compiling such software,You will encounter a variety of errors,Just a preliminary understanding of the Linux C development environment,Preferences can resolve some errors during installation。

Linux's C Development Kit

Linux C development environment with the Wind[……]

Click link to continue reading...

Make sure that the class defined in this code file and "inherits" attributes match,And which extends the base class(Such as Page or UserControl)is correct。

One problem encountered in a recent lecture over to them is an error at compile time asp.net "Make sure that the code defined in the class file and" inherits "attribute matches,And which extends the base class(Such as Page or UserControl)is correct。”

 

Was so amazing even encountered an error,That is the whole sample pages Copy the code can be executed,[……]

Click link to continue reading...

About pointers in c language in some of the experiments

We learnpointerWhen there may be a lot of things so that we confuse so I use a few small experimental program to give you answers to your questions:

First, from the definition, the variable is a pointer to the address stored in the variable。

Unary operator * is the indirection or dereference operator

Unary operator&Take for an object address,It can only be applied to objects in memory

That * (indirection obtained[……]

Click link to continue reading...

'Javac' is not an internal or external command solutions

These days began playing with a BlackBerry,Engineering mode,Java development environment is installed on the computer,But always after the installation prompts

'javac’ Not an internal or external command balabalabala ... ...

Google ~ solution:

  1. Right-computer--> Properties-> The left side of the "advanced system settings"-> The "Advanced" option[……]

    Click link to continue reading...

On the computer to play dota high with still Caton view point

Now computer configuration,Whether laptop,Or desktop computer,It started getting higher and higher levels,Frequently several G memory,But the software side but difficult to keep up with。

And,More fans prefer their own Zanji,Such hardware can maximize the effectiveness of favorite,This is good,but,A lot of people missed the point:Choice of operating system。

well known,Generally, we use to play the game chose popular than windows[……]

Click link to continue reading...

c = getchar()) != ' N' and for loop

learnedfor loop,In practice when it came to getchar()) != ‘n’ The problem。I.e.while loopSo that in thefor loopEnter the void (to be treated as a character。)

All to known,getchar functionUsed to get the character,And if the direct use in a loop,It found that the situation will not be able to press enter characters into the system。The reason is the carriage return character is so ~,At the same time we want to add[……]

Click link to continue reading...