George John has Published 1080 Articles

HTML canvas strokeStyle Property

George John

George John

Updated on 30-Jul-2019 22:30:26

465 Views

The strokeStyle property in HTML canvas is used to set the color, gradient or pattern for the stroke. The element allows you to draw graphics on a web page using JavaScript. Every canvas has two elements that describes the height and width of the canvas i.e. height and width ... Read More

Request To Send (RTS)

George John

George John

Updated on 30-Jul-2019 22:30:26

3K+ Views

Request to Send (RTS) is a control frame employed in the medium access control (MAC) layer protocol IEEE 802.11 RTS/CTS. The protocol uses the concept of Multiple Access with Collision Avoidance (MACA) in wireless networks. The RTS/CTS (Request to Send / Clear to Send) mechanism aims to reduce frame collisions ... Read More

Classic Ethernet

George John

George John

Updated on 30-Jul-2019 22:30:26

4K+ Views

Ethernet is a set of technologies and protocols that are used primarily in LANs. It was first standardized in 1980s as IEEE 802.3 standard. Ethernet is classified into two categories: classic Ethernet and switched Ethernet.Classic Ethernet is the original form of Ethernet that provides data rates between 3 to 10 ... Read More

HTML cite Attribute

George John

George John

Updated on 30-Jul-2019 22:30:26

199 Views

The cite attribute of the element sets a URL to the HTML document and states why a specific text was deleted. Following is the syntax −Here, url is the link that displays the address of the document wherein it is specified why the text was deleted. Let us now see an ... Read More

Listing modified, old and newly created files on Linux using C++

George John

George John

Updated on 30-Jul-2019 22:30:26

319 Views

Here we will see how to list the modified files and old and newly created files on Linux platform using C++ program.The task is very simple. We can use the Linux shell command to get the files in desired order. The ls –l command is used to get all of ... Read More

How to perform SELECT using COUNT in MySQL?

George John

George John

Updated on 30-Jul-2019 22:30:26

211 Views

To perform SELECT with COUNT, use aggregate function COUNT(). Let us first create a table −mysql> create table DemoTable    (    Id int NOT NULL AUTO_INCREMENT PRIMARY KEY,    Name varchar(100),    Subject varchar(100)    ); Query OK, 0 rows affected (0.54 sec)Insert some records in the table using ... Read More

What are all the common undefined behaviours that a C++ programmer should know about?

George John

George John

Updated on 30-Jul-2019 22:30:26

181 Views

In C++, there are some undefined behaviors. These are identified by doing some tasks in C++. There are no such direct definitions. These few things should be known to all of the programmers, who want to use C++ for different purposes.Here we will see some C++ Codes. and try to ... Read More

HTML Charset

George John

George John

Updated on 30-Jul-2019 22:30:26

296 Views

Different charsets include ASCII, ANSI, ISO-8859-1, UTF-8, etc. ISO-8859-1 supports 256 different character codes. ASCII defined 128 different alphanumeric characters. The charset attribute in HTML is used with the to specify the character encoding.Following is the syntax −Above, char_set is the character set to specify the character encoding of ... Read More

How to create a left-right split pane in Java?

George John

George John

Updated on 30-Jul-2019 22:30:26

300 Views

To create a left-right split pane, let us create two components and split them −JComponent one = new JLabel("Left Split"); one.setBorder(BorderFactory.createLineBorder(Color.MAGENTA)); JComponent two = new JLabel("Right Split"); two.setBorder(BorderFactory.createLineBorder(Color.ORANGE));Now, we will split them. The two components will be split one to the left of the other using HORIZONTAL_PANE constant −JSplitPane splitPane ... Read More

Hidden features of C++

George John

George John

Updated on 30-Jul-2019 22:30:26

528 Views

Here we will see some good features and tricks of C++ programming language that can help us in different area. Like if we want to participate in some competitive programming events, then these tricks will help us to reduce the time for writing codes. Let us see some of these ... Read More

Advertisements