Fendadis John has Published 90 Articles

What is typedef declarations in C++?

Fendadis John

Fendadis John

Updated on 11-Feb-2020 07:35:59

311 Views

The typedef keyword in C++ can be used to give a type a new name. For example, you can give a new name of BYTE to unsigned characters −typedef unsigned char BYTE;After this type definition, the identifier BYTE can be used as an abbreviation for the type unsigned char, for ... Read More

What are primitive data type in C++?

Fendadis John

Fendadis John

Updated on 11-Feb-2020 07:19:29

4K+ Views

A primitive type is a data type where the values that it can represent have a very simple nature (a number, a character or a truth-value); the primitive types are the most basic building blocks for any programming language and are the base for more complex data types.C++ has the ... Read More

What is the top IDE for c++ on Window?

Fendadis John

Fendadis John

Updated on 10-Feb-2020 12:38:12

69 Views

Big projects are difficult to manage on mere text editors. You're likely to be more productive and less frustrated if you use an IDE in such cases. There are various types of IDE's and you should select the right one which fits your needs. Here's a list of best C/C++ ... Read More

How can we split the name string into two parts by using MySQL SUBSTRING_INDEX() function?

Fendadis John

Fendadis John

Updated on 10-Feb-2020 07:22:10

178 Views

To make it understand, we are using the following data from a table named ‘customerdetail’.mysql> Select * from Customerdetail; +----------------------+----------------------+-----------+---------------------+ | Name                 | FName                | Address   | Emailid             ... Read More

What is the best way to compare two strings in JavaScript?

Fendadis John

Fendadis John

Updated on 08-Jan-2020 09:40:36

11K+ Views

To compare two strings in JavaScript, use the localeCompare() method. The method returns 0 if both the strings are equal, -1 if string 1 is sorted before string 2 and 1 if string 2 is sorted before string 1.ExampleYou can try to run the following code to compare two stringsLive ... Read More

How to create a website without using HTML?

Fendadis John

Fendadis John

Updated on 25-Sep-2019 07:52:30

3K+ Views

If you are having no knowledge of HTML or CSS, and want to create a website, then do not worry, you can easily create a website without writing even a single line of HTML code.Here are some ways to build a website without writing any HTML or line of code:Website ... Read More

How to make an HTTP request on iOS App using Swift?

Fendadis John

Fendadis John

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

660 Views

To make an http request in iOS we’ll make use of DataTask and sessions. We’ll create configuration, sessions, url, request, and dataTask objects. Let’s see the steps that we’ll go through.The HTTP request can be of different types, it depends on what kind of request we want to make to ... Read More

How to check Location Manager is running or not in iOS App?

Fendadis John

Fendadis John

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

300 Views

To check any services related to location in ios with swift we can use the CLLocationManager.In this example we’ll see how to check if the location manager is running or not. We’ll do this with help of an sample project. So, create a new project. First we need to create ... Read More

How do I load an image by URL on iOS device using Swift?

Fendadis John

Fendadis John

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

548 Views

To load an image in iOS using swift we’ll make use of simple data Task session. The image needs to be loaded in background because it may be of any size and we don’t want it to stop our main view’s operations.Let’s see this with help of an example. Create ... Read More

How to integrate a facebook login in swift for iOS App?

Fendadis John

Fendadis John

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

333 Views

Social logins in applications have become a very common thing these days. Facebook login is one of them, in this article we’ll see how we can make use of facebook login, to access basic user information and login to the application.Implementing facebook login in an application is a series of ... Read More

Advertisements