cbegin and cend Functions in C++ STL

Sunidhi Bansal
Updated on 20-Jan-2020 07:19:07

147 Views

Given is the task to show the working of list::cbegin() and list::cend functions in C++.The list::cbegin() and list::cend() functions are a part of the C++ standard template library. header file should be included to call these functions.list::cbegin()This function returns the constant iterator which points to the beginning element of the list. It can be used to traverse the list but it cannot change the values in the list which means cbegin() function can be used for iteration only.SyntaxList_Name.cbegin();ParametersThe function does not accept any parameter.Return ValueThe function returns a constant iterator that point at the beginning element of the list.list::cend()This function ... Read More

Careers in Virtual Reality

karthikeya Boyini
Updated on 20-Jan-2020 07:16:13

614 Views

VR or Virtual Reality is when a simulated environment is created with the use of computer technology and gives a 3D experience to the viewer, complete with enhanced and realistic interaction ability of the viewer with the artificially projected environment displayed.In the last few years, VR Headsets or Head Mounted Displays (HMD) have become extremely popular and quite accessible to the public.Google Cardboard, Meta, Samsung Gear VR, Avegant Glyph, Epson Movario, to name a few. The level of immersion and interaction with the 3D world has improved threefold and there’s no stopping them. Sensory accessories upgrade the participation levels of ... Read More

List Back Function in C++ STL

Sunidhi Bansal
Updated on 20-Jan-2020 07:15:40

263 Views

Given is the task to show the working of list back() function in c++.The list::back() function is a part of the C++ standard template library. It is used to display the last element of any list. header file should be included before calling this function.SyntaxList_Name.back();ParametersThe function does not accept any parameter.Return ValueThe function returns the value of the last element of the list.ExampleInput: Lt.assign(3, 10) Lt.back() Output: 10Explanation − The following example shows how we can find the last value of any list by using the back() function. The list Lt is assigned three elements, each with value 10 and ... Read More

Deque Assign Function in C++ STL

Sunidhi Bansal
Updated on 20-Jan-2020 07:14:55

306 Views

Given the task is to show the working of deque::assign() in C++ STL.Deque is a double ended queue. In C++, deque::assign() is an inbuilt function which is used to assign the new value to the deque container. Every time this function is called it assigns a new value to the deque container by replacing the existing values and changing the size allocated accordingly.SyntaxSyntax of deque::assign() is as follows −dequename.assign( size, val)ParametersThis function includes 2 parameters −First is the size, which represents the size of the deque container and the second one is val, which is the value contained by ... Read More

strstr Function in C/C++

Sunidhi Bansal
Updated on 20-Jan-2020 07:10:22

822 Views

strstr() function is a predefined function in “string.h” header file which is used for performing string handling. This function is used to find the first occurrence of a substring let’s say str2 in the main string let’s say str1.SyntaxSyntax of strstr() is as follows −char *strstr( char *str1, char *str2);Parameters of strstr() arestr2 is the substring which we wish to search in the main string str1Return value of strstr() isThis function returns the address pointer of the first occurrence of the substring which we are searching if found in the main string, else it will return a null when the ... Read More

Careers in Augmented Reality

karthikeya Boyini
Updated on 20-Jan-2020 07:08:28

291 Views

Augmented Reality or AR is where artificial objects are simulated in the real world and incorporates or merges the information as part of the live view. The technology functions by enhancing a person’s concept of reality by overlaying the information over their view and merging it together. This perspective gives information and data of the object/scene viewed and in some cases, lets you manipulate the projected image to suit our needs.AR enhances the real environment whereas, VR creates a new environment altogether.A fragment of Augment Reality was seen with the release of Google Glass, the world saw a glimpse of ... Read More

Best Way to Install Go 1.7 on Ubuntu

Sharon Christine
Updated on 20-Jan-2020 07:05:18

678 Views

Go is a free and open source programming language created by Google in 2007. It supplies convenient to construct simple, nontoxic, and effective programs. This language is designed for writing on servers. This article explains about ‘How to install Go 1.7 on Ubuntu’Installing Go Programming languageTo download Go language binary archive file, use the following command –$ wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gzThe sample output should be like this –--2016-12-29 10:49:44-- https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz Resolving storage.googleapis.com (storage.googleapis.com)... 216.58.197.48, 2404:6800:4007:807::2010 Connecting to storage.googleapis.com (storage.googleapis.com)|216.58.197.48|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 81618401 (78M) [application/x-gzip] Saving to: ‘go1.7.1.linux-amd64.tar.gz’ go1.7.1.linux-amd64 100%[===================>] 77.84M 5.98MB/s in 16s ... Read More

Best Photography Apps for Android

karthikeya Boyini
Updated on 20-Jan-2020 06:50:46

200 Views

Many a time, we click photos and would like to get them edited as per our needs which complete the job. There exists a lot of tools and tricks in various android apps in the play store that will let your favorite photos look even better.Before that, most of the best camera apps have the capability to make even the dullest of photos pop with vivid color and life. Luckily there are a range of available photo editors which are either free of cost or of extremely cheap rates on the Google Play Store designed to provide best results. Let ... Read More

Best Online Tools for Compressing Images

Sharon Christine
Updated on 20-Jan-2020 06:37:59

236 Views

How many times have you thought of sending multiple images to your loved ones but just because of the file size would have easily avoided. Gone are those days of worrying about file sizes as now embrace compression based online tools to your rescue. Here we have shortlisted a few online tools which can help you compress images without losing quality. Hope you will be excited to discover for yourself. Go ahead and make the best use of these tools.Compressor.ioThis is the best image size optimization tools as it allows the user to choose between lossy (picture quality reduction) and ... Read More

Avoid Scope Creep: Control Your Project Scope

karthikeya Boyini
Updated on 20-Jan-2020 06:34:18

184 Views

Let us discuss our favorite and one of the champion Project Manager Mr. K, who is working in a renowned software product company. He is successfully managing a project for last seven months. All his stakeholders, including the client, are very pleased with the project progress so far. Also, the senior management of his company is impressed by the way he is managing the project and generating the revenue for last seven months. It’s a big client, already two more big projects of the same client have been delivered by his company a few months back.One day, he got an ... Read More

Advertisements