Trending questions in Edureka Community

0 votes
1 answer

What is compile-time polymorphism and why does it only apply to functions?

"Compile time polymorphism" used to signify function overloading.  It only applies to functions because that's all you can overload. Templates in modern C++ modify this.  One example has previously been provided by Neil Butterworth.  Another technique is template specialisation.  As an example: #include <iostream> #include <string> template <class T> struct my_template { ...READ MORE

Jun 20, 2022 in C++ by Damon
• 4,960 points
1,083 views
0 votes
1 answer

What is the difference between boot disk and data disk in GCP (especially AI platform)

Boot disk is dedicated to the boot ...READ MORE

Apr 6, 2022 in GCP by Korak
• 5,820 points
4,346 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
921 views
0 votes
1 answer

What happens when prob argument in sample sums to less/greater than 1?

Excellent query. The documentation is ambiguous on ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
949 views
0 votes
1 answer

Facebook debugger does not pick up Next.js next-seo meta tags

It's a common pattern to have a ...READ MORE

Feb 26, 2022 in Others by narikkadan
• 86,360 points
5,924 views
0 votes
0 answers

ImportError: cannot import name api ,when we try to export swagger specification in python restplus

from flask import json from myapp import api urlvars ...READ MORE

Jul 8, 2022 in Python by Rakshitha

edited Mar 4 229 views
0 votes
0 answers

Consumer is not consuming messages, but service is running, please help me on this

Consumer is suddenly stopped consuming messages but ...READ MORE

Jul 6, 2022 in Apache Kafka by KsP

edited Mar 4 327 views
0 votes
1 answer

How to increase maximum execution time in php

Add this at the top of your PHP ...READ MORE

Jun 18, 2022 in PHP by Kithuzzz
• 38,000 points

edited Mar 5 1,095 views
0 votes
1 answer

How to get sender bitcoin address from transaction ID?

 You can use any scripting language with ...READ MORE

Apr 12, 2022 in Blockchain by Rahul
• 9,690 points
4,079 views
0 votes
1 answer

How to use std::sort to sort an array in C++

We receive std::begin and std::end in C++0x/11, which are overloaded for arrays: #include <algorithm> int main(){ int v[2000]; ...READ MORE

Jun 1, 2022 in C++ by Damon
• 4,960 points
1,793 views
0 votes
1 answer

How to use enums in C++

This will be sufficient to declare your ...READ MORE

Jun 20, 2022 in C++ by Damon
• 4,960 points
1,070 views
0 votes
0 answers

Get URL query string parameters

What is the best way to get ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 86,360 points
850 views
0 votes
1 answer

Launching Google Maps Directions via an intent on Android

We can open Google Maps app using ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
1,780 views
0 votes
1 answer

Mixing JavaScript and TypeScript in Node.js

Combine the following TypeScript compiler options --allowJs Explicitly supports ...READ MORE

Jun 15, 2022 in TypeSript by Nina
• 3,060 points
1,199 views
0 votes
1 answer

Installing angularjs with NPM and NODEJS brings an error in ubuntu 16.04

Rename your angular folder to angular-test or ...READ MORE

May 30, 2022 in Node-js by Vaani
• 7,070 points
1,862 views
0 votes
0 answers

How to change maximum viewable tables from 250 to anything in PhpMyadmin?

I wanted to increase my list of ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
1,362 views
0 votes
1 answer

How do I add options to a DropDownList using jQuery?

Without using any extra plugins, var myOptions = ...READ MORE

Jun 21, 2022 in JQuery by rajatha
• 7,680 points
908 views
0 votes
0 answers

No US HAWAII time zone in Momentjs or nodejs

How can I use Momentjs to adjust ...READ MORE

Jun 23, 2022 in Node-js by Vaani
• 7,070 points
866 views
0 votes
0 answers

How to round up integer division and have int result in Java?

I am working on a code to ...READ MORE

May 5, 2022 in Java by Kichu
• 19,040 points
2,926 views
0 votes
1 answer

jQuery Animate not working on background-color property

The background color animate can be performed ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,125 views
0 votes
1 answer

Add two lines on graph using abline in R

I am using "y 0+x" to fit ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
1,012 views
0 votes
1 answer

Difference between paste() and paste0()

paste possesses 3 arguments. (paste, sep = " ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
1,072 views
0 votes
0 answers

Can you use "cin" with string?

To enter a string, I was instructed to use gets(str) rather than cin.  In the programme below, though, I can use cin perfectly well.  Could you please tell me if you can use cin?  Please accept my apologies for my poor English.  The application allows you to enter up to five names and then print them on the screen. The code is as follows: #include <iostream> #include <string.h> using namespace std; int main() { ...READ MORE

Jun 27, 2022 in C++ by Nicholas
• 7,760 points
644 views
0 votes
0 answers

How can I rbind multiple single-value rows to my data.frame?

0 What follows functions as expected: Data.frame(c(1, 2, 3)) ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
817 views
0 votes
1 answer

implementing merge sort in C++

To respond to the question:  std::vectorT> is used to create dynamically sized arrays at runtime.  Ideally, you'd use one of these to get feedback.  If not, they are simple to convert.  For instance, you might make two arrays like this: template <typename T> void merge_sort(std::vector<T>& array) { ...READ MORE

Jun 10, 2022 in C++ by Damon
• 4,960 points
1,404 views
0 votes
1 answer

jQuery if checkbox is checked

for jQuery  if ($('input.checkbox_check').prop('checked')) { ...READ MORE

Jun 20, 2022 in JQuery by rajatha
• 7,680 points
940 views
0 votes
0 answers

In R, how to get an object's name after it is sent to a function?

I'm trying to find the opposite of ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points

edited Mar 4 339 views
0 votes
1 answer

What is a Class and Object in C++?

A Class is like a blueprint, an ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
920 views
0 votes
0 answers

Android facebook login not working with installed Facebook app

Session.openActiveSession(this, true, new Session.StatusCallback() { ...READ MORE

Jun 22, 2022 in Others by nisha
• 2,210 points
899 views
0 votes
0 answers

json_decode to array

I want to decode a JSON string ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
1,669 views
0 votes
0 answers

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

An easy illustration of standard deviation calculation: The ...READ MORE

Jun 27, 2022 in Data Analytics by avinash
• 1,840 points
674 views
0 votes
1 answer

How do I redirect to another webpage?

To redirect from an HTML page, use the ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
824 views
0 votes
1 answer

How can I define colors as variables in CSS?

CSS does not use variables. You can, ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,700 points
998 views
0 votes
1 answer

Create line graph with multiple lines in R

You must first restructure your dataset into ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
906 views
0 votes
1 answer

How to host MEAN stack application with Angular and nodejs on windows IIS

It's fine that you're using Angular. Be ...READ MORE

May 27, 2022 in Node-js by Neha
• 9,020 points
1,954 views
0 votes
1 answer

How do I format date in jQuery datetimepicker?

jquery datepicker format” Code Answer's $('#timePicker'). datetimepicker({ // dateFormat: ...READ MORE

Jun 3, 2022 in JQuery by Edureka
• 13,690 points
1,654 views
0 votes
0 answers

php index of item

I have this array: $fruit = array('apple','orange','grape'); How can ...READ MORE

May 29, 2022 in PHP by Kichu
• 19,040 points
1,928 views
0 votes
1 answer

What is the difference between CSS and SCSS?

CSS, or Cascading Style Sheets, is a ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,700 points

edited Mar 5 1,034 views
0 votes
0 answers

MySQL mysql_num_rows();

The variable: "$num_rows" is not even being ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 86,360 points
788 views
0 votes
1 answer

Jquery and Menu and logo

Seems your anchor tag is not visible ...READ MORE

Jun 22, 2022 in Web Development by rajatha
• 7,680 points
828 views
0 votes
1 answer

How to use new[ ] and delete[ ] operator in C++

int main(){ char *str; ...READ MORE

Jun 20, 2022 in C++ by Damon
• 4,960 points
1,025 views
0 votes
1 answer

How to redirect to another page using PHP

You could use a function which is ...READ MORE

Feb 18, 2022 in Others by Aditya
• 7,680 points
6,185 views
0 votes
1 answer

Using dcast to widen a data frame

> dcast(z, id ~ item, value.var="freq") ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
840 views
0 votes
0 answers

Hashing a string in php

This is the hashed output "bWNgAQW2FLc" I ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
677 views
0 votes
1 answer

Ternary operator ?: vs if...else

It's not any faster.  There is one difference when you can initialize a constant variable using an expression: const int x = (a<b) ? b ...READ MORE

Jun 7, 2022 in C++ by Damon
• 4,960 points
1,584 views
0 votes
0 answers

pass character strings to ggplot2 within a function

In order to streamline my work process, ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
786 views
0 votes
1 answer

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

Jun 13, 2022 in Linux Administration by Korak
• 5,820 points
1,214 views
0 votes
1 answer

Reading Excel File using Python, how do I get the values of a specific column with indicated column name?

We can read excel more easily with ...READ MORE

Mar 14, 2022 in Database by gaurav
• 23,580 points
5,229 views
0 votes
1 answer

What does the extension method do in c# and why do you need it

Extension Methods allow you to add additional ...READ MORE

Jun 21, 2022 in C# by krishna
• 2,820 points
1,088 views
0 votes
1 answer

JQuery string contains check

In this case, we will use the includes() ...READ MORE

Jun 14, 2022 in JQuery by rajatha
• 7,680 points
1,165 views