JAVA FlowLayout
The FlowLayout is the simplest layout manager. By default, it puts all the components into a row in the order they are added to the container from left-to-right. If the row meets the end of the container then a new row is started beneath.
JAVA Editors Tools
If you are new to Java programming, you are probably starting by using notepad. When you want to compile and run a program, you need to open a DOS window and type javac MyProgram.java and java MyProgram. Also, what you type is what you get: notepad does not help you any way with Java syntax or design. This is fine if you are just starting, and even experts sometimes use command-line Java options.
JAVA Integrated Development Environment (IDE)
An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.
BorderLayout on Java
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region may contain no more than one component, and is identified by a corresponding constant: NORTH, SOUTH, EAST, WEST, and CENTER.
GridLayout on Java
The GridLayout class is a layout manager that lays out a container's components in a rectangular grid. The container is divided into equal-sized rectangles, and one component is placed in each rectangle. For example, the following is an applet that lays out 3 textfields and 3 labels into three rows and two columns:
Tuesday, February 19, 2013
Introduction to CSS
Array in C, C++ and C#
1. What is an Array?
An array is a collection of same type of elements which are sheltered under a common name. An array can be visualised as a row in a table, whose each successive block can be thought of as memory bytes containing one element. Look at the figure below : An Array of four elements, start from Index-0 to Index-3.2. How to Define an Array?
1. C and C++
When declaring a regular array of local scope (within a function, for example), if we do not specify otherwise, its elements will not be initialized to any value by default, so their content will be undetermined until we store some value in them. The elements of global and static arrays, on the other hand, are automatically initialized with their default values, which for all fundamental types this means they are filled with zeros. In both cases, local and global, when we declare an array, we have the possibility to assign initial values to each one of its elements by enclosing the values in braces { }. For example:
How to Apply a GCC Patch on Windows 7
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.
We strive to provide regular, high quality releases, which we want to work well on a variety of native and cross targets (including GNU/Linux), and encourage everyone to contribute changes or help testing GCC. Our sources are readily and freely available via SVN and weekly snapshots.
Major decisions about GCC are made by the steering committee, guided by the mission statement.
1. first, you need to install the gcc compiler. you can use DevC++ or MinGw. Download the compiler here :
DevC++
MinGw
2. after the install is complete, go to the folder where your compiler installation, then go to the folder "bin" and copy the URL.
example:
C:\Dev Cpp\bin\
or
C:\mingw\bin\
3. Go to "Computer" properties, then select "advanced system settings", a new window will appear.
4. in the "system variables", search variable named 'path', then click edit ...
5. In "Variable value", add a semicolon (;) at the very back, and paste your Compiler URL... and then click OK..
6. Patching the GCC Compiler is successfully. now, tes your GCC.....
Hopefully helpful