Archive | Programming

Error XAMPP : Mysql # 2002 – No such file or directory

If after installing xampp without access to phpMyAdmin this error:
Error
MySQL said: Documentation
#2002 – No such file or directory
The server is not responding (or the local server’s socket is not correctly configured).

Fix error xamp 403 Forbidden

After XAMPP on Ubuntu, I restarted the computer and this error

403 Forbidden
You don’t have permission to access / on this server.
Apache/2.4.10 (Ubuntu) Server at localhost Port 80

Android Training Resources

This article by Nguyen Van Chung You write very detailed document, necessary to view the site. 😉 Có thể nói Android phát triển đã khá lâu, document so it is also very much and rich, but good for you to learn to read English, there is also a very important skill. Là một coder nếu bạn không biết tiếng anh thì […]

Programming

Programming

Programming is a creative process to instruct the computer to do a certain job. It looks exactly like the teaching of teachers to students, so when you program, you are the teacher, I like the teachers rather than programmers :).

[Java – Ubuntu] Install the JDK and Eclipse on Ubuntu offline

The way in order to install ubuntu software center or online, then you can do easily. Following his room stating how to install offline when no network. 1. Install JDK You here to download the appropriate JDK and extract it out. (his jdk1.7.0_21) Run the following command to create the directory jvm cd to the directory where the file was unzipped and run: 2. Install Java […]

[Android – Java] The pocket calculator on Android – Calculator Program on Android

Update: Refer to upgrade the program with java desktop computer can perform simple calculations +,-,*,/, factorial, hat, square root 2, inverse and 3 trigonometric calculations : Run Out, With, So. Project based on the value of the expression based on the expression suffix. Download project Due to the errors of the type of data should allow the crystal irrational […]

[Linux – Ubuntu – C / C ] Graphics Programming with C on Linux (Ubuntu) – Programming C with Graphics on Linux (Ubuntu)

Open the screen you can see the following illustration: To do this you first check the basic package is not installed: sudo apt-get install build-essential Then run the following command in the Terminal to install the necessary packages (Maybe before you run this command to update): sudo apt-get update sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev […]

[C / C ] For example, reading record data type structure on the type of binary file in C

With Threads: Write a program to manage the notebook includes the following functions : Functions 1 : Functions imported products 2 : Sort products Function 3 : Product Search Function 1 : – Ask how many people use the product to be imported , then allows the user to enter information […]

[Java] Remember to add the object to the file in java – Append object to file exist in java

After Reading scored objects from the file in java, there are many issues that you need to write more data on file. Usually we just declare, however after many attempts I have not done. Search for a while, apart from the extra stuff 2 is true as above, we need to override the following methods writeStreamHeader: 1. Quick Code to test 2. Code […]

[C / C ]get() and fget() in C/C – Warning when user gets() – Warning when use gets()

Normally we use a variable to enter the function scanf(), This function is used to enter 1 string but when met with blank sign (spaces, enter,…) then do not read anymore and that string was cut from, Example entry “nguyen van agency” then we only get “nguyen”. The fix here is that we use the function gets() to enter the string. 😀 Khi đó ta sẽ nhận được chuỗi nguyên vẹn.