How to get the ASCII value of a character in dart

Dart program to get the ASCII value of a character. Dart String class provides two different methods to get the code unit of a character in the string or to get all code units.

Read

How to dump and restore mongodb data from cloud.mongodb easily

I was looking for an easy way to dump and restore MongoDB data from my cloud.mongodb cluster free tier plan. Actually, I am running a couple of side projects on cloud.mongodb and the free plan is enough for the current traffic.

Read

C++ program to print the ASCII values of all English alphabets

In this tutorial, we will learn how to print the ASCII values of all English alphabets in upper case and lower case format. With this program, you will learn how to find out the ASCII value of a character in C++.

Read

Java LinkedList poll, pollFirst and pollLast example

Java provides a utility class called LinkedList to create linked lists. Unlike any other programming languages like C, we can create one Linked list easily using this class.

Read

C++ program to find the centroid of a triangle

In this C++ programming tutorial, we will learn how to find the centroid of a triangle. The program will take the vertices as input from the user. It will find the centroid and print it out.

Read

Java peek(), peekFirst() and peekLast() explanation with examples

Using LinkedList class, we can create one linked list in Java. This class provides a lot of different methods to operate on the elements of the linked list. In this tutorial, we will check three inbuilt methods peek(), peekFirst() and peekLast() of the LinkedList class.

Read

Find the cube root of a number in C++

cbrt function is used to find out the cube root of a number in C++. In this tutorial, we will learn how to use cbrt function with an example.

Read

C++ program to print Floyd's triangle using for and while loop

In this C++ tutorial, we will learn how to print Floyd's triangle programmatically. Floyd triangle is named after Robert Floyd. It is a right angled triangle created by using natural numbers. It looks like as below :.

Read

C++ if-else if-else ladder example

An if-else block is used to check a specific condition in C++. We can add one condition in the if block and if this condition is true, it will execute the code written inside the curly braces of the if statement. If the condition is false, it will execute the code written inside the curly braces of the else statement.

Read

How to show a Toast message in a react native application

Learn how to show a Toast message in a react native application with example. React native provides a class called ToastAndroid which can be used to show a simple toast in an android Application.

Read