Search Results for:

Superlative solving equations ax + b = 0

Threads: Superlative solving equations ax + b = 0 (other a 0) With the coefficients a, b is entered from the keyboard. To solve this, you recall the mathematical knowledge we have learned of the ordinary. Due to a different 0 so we always have x = -b experimental / a. So easy and, formula has, only now just code. Simple […]

[Pascal – TUT] Posts 10: Files in pascal – File Type

1 The concept of file: The file is a sequence of elements of the same type are arranged sequentially. The data files are stored in external memory under a certain name. File aggregation in it some element of data has the same structure but different array like array element number of the file is not defined. [qads] In Pascal 3 file types […]

[Pascal – TUT] – Posts 11 : Pointers in Pascal

Since posting the order a bit of confusion to all 10: Files in pascal - file type was written earlier, you see here nhé. During the work we often have to work with the long list and of course we will consider using the array immediately. However, the use of the array is not always, with the long list […]

Find the largest number of 3 number

Hello everyone, surely you know how to find the greatest among 2 numbers a and b. We only have to compare a to b, larger number, then take it alone. But with 3 of a, b, c then why? Threads: Enter 3 integer a, b, c from the keyboard, Please print out the largest number of 3 which. Simple way that you can […]

League quadratic equation 2 ax² + bx + c = 0

Hello everyone, at all before we solve it most, this article we are going to solve the equation Career 2 nhé. Threads: League quadratic equation 2: ax² + bx + c = 0 (a ≠ 0) with a, b, c input from the keyboard We recall knowledge of the quadratic equation 2 with a ≠ 0 as follows: B1: calculate delta: D = […]

[C / C ] Getting mouse events in C on Ubuntu – Mouse event C on Ubuntu

To capture mouse events in ubuntu we use the library X11 / Xlib.h. Install this library with the command: sudo apt-get install libx11-dev This is an illustration from the program page http://stackoverflow.com/questions/14553435/how-to-listen-for-mouse-events-in-linux However, I still do not know how to use it in graphics. We hope you share on this issue. Refer: Click in Dev-C

Tiled 2 * n

Threads: http://vn.spoj.com/problems/LATGACH/ First we consider a rectangular 2×1 there 1 placing it ranked 1 brick 2×1. At the rectangular 2×2 there 2 placing it ranked 2 1 member×2 or 2 2 members×1. At the rectangular 2xi have the following cases with f(in) the placing of the rectangle 2xi. => f(in) = f(i-1) + f(i-2) with f(1) = 1 and […]

[JavaSwing] JPanel

Content and Layout Order Create JPanel Border After the opening introduction to the JFrame and the introduction of JLabel, JButton and JTextField perhaps you have become familiar with how to create an interface in Java Swing. Prior to the introduction of frequently used objects, I think we should learn a very important it is to Container (container, holder) and […]

Ubuntu

Ubuntu (Ubuntu IPA pronunciation) là một hệ điều hành máy tính MIỄN PHÍ dựa trên Debian GNU/Linux, a common Linux distribution. Tên của nó bắt nguồn từ “ubuntu” trong tiếng Zulu, means "the people", describing the ubuntu philosophy: "I be themselves thanks to the people around,” một khía cạnh tích cực của cộng đồng. Mục đích của Ubuntu bao gồm việc cung cấp một hệ […]

[Java] Game chess caro 2 players

Today, I continue to share your Game caro 2 players with nice graphical interface, friendly and easy to use. The program allows the player can choose a new game, new game, please go back and lost. On each side of the image that shows the match score and the state to turn someone away. When starting the game allows you to choose […]