Arjun Thakur has Published 1025 Articles

Differences between C and C#

Arjun Thakur

Arjun Thakur

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

2K+ Views

C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its .NET ... Read More

How to save MySQL query output to excel or .txt file?

Arjun Thakur

Arjun Thakur

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

3K+ Views

To save MySQL query output into a text file, we can use the OUTFILE command. Let us first create a table. mysql> create table SaveintoTextFile -> ( -> id int, -> name varchar(100) -> ); Query OK, ... Read More

Comparison between C# and .NET Framework

Arjun Thakur

Arjun Thakur

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

585 Views

C# is a programming language and .NET framework is a software framework developed by Microsoft. .NET has Common Language Runtime (CLR), which is a virtual component of .NET framework. And framework is a large class of library. .NET not only has C#, but through it, you can work with VB, ... Read More

How can I restore the MySQL root user full privileges?

Arjun Thakur

Arjun Thakur

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

2K+ Views

We can restore the MySQL root user full privileges with the help of UPDATE command. Firstly, you need to stop mysqld and restart it with the --skip-grant-tables option. After that, connect to the mysqld server with only mysql (i.e. no -p option, and username may not be required). Issue ... Read More

Events vs Delegates in C#

Arjun Thakur

Arjun Thakur

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

520 Views

C# events are used to resolve the hassles in Delegates. One an easily override Delegate properties and that can eventually lead to errors in the code. To avoid this, C# uses Events and defines wrappers around Delegates. Events in C# To use Event, you should define delegate first. Event is ... Read More

Python program to find the length of the largest consecutive 1's in Binary Representation of a given string.

Arjun Thakur

Arjun Thakur

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

453 Views

Given the number, find length of the longest consecutive 1's in its binary representation. Example Input: n = 15 Output: 4 The binary representation of 14 is 1111. Algorithm Step 1: input the number. Step 2: use one counter variable c=0. Step 3: Count the number of ... Read More

Use of Ionic as desktop web application with HTML5

Arjun Thakur

Arjun Thakur

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

253 Views

Ionic is an HTML5 Mobile App Development Framework targeted at building hybrid mobile apps. Think of Ionic as the front-end UI framework that handles all the look and feel and UI interactions your app needs to be compelling. Kind of like "Bootstrap for Native", but with the support for a ... Read More

Sum of all proper divisors of a natural number in java

Arjun Thakur

Arjun Thakur

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

511 Views

Following is the Java program which prints all the sum of all the divisors of a given number.

Role of CSS Filters

Arjun Thakur

Arjun Thakur

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

186 Views

Use CSS filters to add special effects to text, images and other aspects of a webpage without using images or other graphics. If you are developing your site for multi browsers, then it may not be a good idea to use CSS filters because there is a possibility that it would ... Read More

CSS Grid Gaps

Arjun Thakur

Arjun Thakur

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

129 Views

The space as shown in the following figure, between rows and columns are called Grid Gaps

Advertisements