Arjun Thakur has Published 1025 Articles

iscntrl() function in C++

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 09:22:26

135 Views

The iscntrl() function in C++ checks if a character is a control character or not. This function is defined in ctype.h.The syntax for iscntrl() function is given as follows −int iscntrl ( int ch );Here, ch is the character that needs to be checked.A program that demonstrates iscntrl() function by ... Read More

C++ Program to Implement Circular Queue

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 09:19:29

31K+ Views

A queue is an abstract data structure that contains a collection of elements. Queue implements the FIFO mechanism i.e the element that is inserted first is also deleted first.A circular queue is a type of queue in which the last position is connected to the first position to make a ... Read More

Set how auto-placed items are inserted in the CSS grid

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 08:38:45

143 Views

Use the grid-auto-flow property to set how auto-placed items are inserted in grid. You can try to run the following code to implement the grid-auto-flow propertyExampleLive Demo                    .container {             display: grid;       ... Read More

MySQL LIMIT clause equivalent for SQL SERVER?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 08:27:01

378 Views

Firstly, we need to create a table to understand the limit clause (as we want for SQL server).We will create a table with the help of CREATE command.Creating a tablemysql> CREATE table limitDemo -> ( -> id int, -> primary key(id) -> ); Query OK, 0 rows affected (0.58 sec)After ... Read More

Simplest way to copy data from one table to another new table in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 08:14:27

1K+ Views

To copy data from one table to another table, firstly we will create a table.Creating first table −mysql> CREATE table FirstTable -> ( -> id int, -> name varchar(100) -> ); Query OK, 0 rows affected (0.61 sec)After creating a table, we will insert records.mysql> INSERT into FirstTable values(1, 'john'); ... Read More

Values for the CSS cursor property

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 08:14:21

154 Views

The cursor property of CSS allows you to specify the type of cursor that should be displayed to the user.The following table shows the possible values for the cursor propertyValueDescriptionautoShape of the cursor depends on the context area it is over.For example, an 'I' over text, a 'hand' over a link, ... Read More

How to use Straight Join in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 08:08:13

735 Views

The straight join in MySQL works like inner join or join. This means that it returns only the matching rows. Firstly, we need to understand Straight join in MySQL. For that, we need to create two tables and relate both the tables with foreign key constraints.Here is the first tablemysql> ... Read More

How to make an Ember.js app offline with server sync when available?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:55:53

121 Views

Use the ember-localstorage adapter.App.store = DS.Store.create({    revision: 11,    adapter: DS.LSAdapter.create() });ExampleYou need to define the adapter you want to use for client-side storage −App.Store = DS.SyncStore.extend({    revision: 10,    adapter: DS.IndexedDB.adapter({       mappings: {          person: App.Person,          persons: ... Read More

Find and Replace text in the entire table using a MySQL?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:54:10

381 Views

The text can be found and replaced with the help of the replace() function. It is explained with the help of the following steps −First, a table is created with the help of the create command which is given as follows −mysql> CREATE table FindAndReplaceDemo -> ( -> FirstName varchar(200) ... Read More

Reset HTML input style for checkboxes to default in IE

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:52:00

273 Views

It is not possible to reset the checkbox back to the default native style with some web browsers.You can try this and list every type of input to style −input[type="text"], input[type="password"] {    border: 2px solid green; }You can also use the CSS3 pseudo-class, but it may or may not ... Read More

Advertisements