Trending questions in Edureka Community

0 votes
1 answer

Is there an easy way to make a min heap in C++?

Use make heap() and its buddies from algorithm>, or priority queue from queue>.  Make heap and friends are used by priority queue. #include <queue> // functional,iostream,ctime,cstdlib using namespace std; int main(int ...READ MORE

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

Returning outlook sender address from VBA in Excel

Returns a String that represents the sender ...READ MORE

Apr 4, 2022 in Database by gaurav
• 25,250 points
5,927 views
0 votes
1 answer

parent-child and child-parent relationships in one query SOQL

Yes, it is possible to do so. In ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,820 points
7,281 views
0 votes
0 answers

How to add Typescript definitions to Express req & res?

I have a set of controller functions ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 667 views
0 votes
0 answers

dynamic_cast and static_cast in C++

 I'm perplexed by the dynamic cast keyword in C++. struct A { virtual ...READ MORE

Jul 15, 2022 in C++ by Nicholas
• 7,760 points
1,301 views
0 votes
0 answers

how to get .att("value") jQuery

<input type="hidden" value="#F00" name="" class="myValue"> $(document).ready(function(){ var myValue = ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 25,250 points
1,114 views
0 votes
0 answers

How can I define the type for a <video> reference in React using Typescript?

I'm trying to control the play/pause state ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 656 views
0 votes
0 answers
+1 vote
0 answers

Parse (split) a string in C++ using string delimiter (standard C++)

In C++, I'm processing a string like follows: using namespace std; string parsed,input="text to be parsed"; stringstream ...READ MORE

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
1,851 views
0 votes
0 answers

jquery $.each() for objects

<script> $(document).ready(function() { ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 25,250 points
1,107 views
0 votes
0 answers

Source has 2 element(s) but target allows only 1. Typescript spread operator

I'm trying to spread all values in ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 649 views
0 votes
1 answer

How to include bootstrap css and js in reactjs app?

To begin, we will use npm to ...READ MORE

Jul 4, 2022 in CSS by Edureka
• 320 points
1,994 views
0 votes
0 answers

typescript - create type that denotes the set of even numbers

Can anyone know how to create this ...READ MORE

Aug 3, 2022 in TypeSript by Abhinaya
• 1,160 points

edited Mar 4, 2025 647 views
0 votes
0 answers

How do you create a hidden div that doesn't create a line break or horizontal space?

I want to have a hidden checkbox ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points
993 views
0 votes
0 answers

Looping Animation of text color change using CSS3

I have text that I want to ...READ MORE

Jun 22, 2022 in CSS by Edureka
• 13,730 points
2,164 views
0 votes
1 answer

open link of google play store in mobile version android

You can use Android Intents library for opening your ...READ MORE

Jun 9, 2022 in Others by nisha
• 2,210 points
2,976 views
0 votes
0 answers

C++ vector erase function not working properly

Here is the code I want to use to delete any entries with values more than 2 and fewer than 5. vector<int> myvector{3, 3, 3, 3, 3, 3, ...READ MORE

Jul 11, 2022 in C++ by Nicholas
• 7,760 points
1,527 views
0 votes
0 answers

jQuery Ajax POST example with PHP

I want to send data from a ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,053 views
0 votes
0 answers

Declare an array in TypeScript

I'm having trouble either declaring or using ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 639 views
0 votes
0 answers

How can I completely uninstall nodejs, npm and node in Ubuntu

I installed it using: sudo apt-get install ...READ MORE

May 15, 2022 in Node-js by Kichu
• 19,040 points
4,037 views
0 votes
0 answers

HTML combo box with option to type an entry

My understanding was that you could enter ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points
984 views
0 votes
0 answers

Jquery Super box automatically loads

The superbox is a jquery plugin that ...READ MORE

Jul 26, 2022 in Web Development by gaurav
• 25,250 points
981 views
0 votes
0 answers

PHP Notice: Undefined offset: 1 with array when reading data

I am getting this error : PHP Notice: ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
2,954 views
0 votes
0 answers

Run Ansible on SUSE linux throws 'ImportError: cannot import name 'context' error.

On 'SUSE Linux Enterprise Server 12 SP5' ...READ MORE

Aug 4, 2022 in Others by Saravanan

edited Mar 4, 2025 584 views
0 votes
0 answers

How to use setprecision in C++

I'm new to C++ and all I want to do is print my point number up to two digits.  For example, if the number is 3.444, the output should be 3.44, and if the number is 99999.4234, the output should be 99999.42.  How am I going to do that?  The value changes over time.  This is my code. #include <iomanip.h> #include <iomanip> int main() { ...READ MORE

Jul 5, 2022 in C++ by Nicholas
• 7,760 points
1,805 views
0 votes
0 answers

Fatal error: Call to undefined function base_url() in C:\wamp\www\Test-CI\application\views\layout.php on line 5

I am getting this error when I ...READ MORE

May 5, 2022 in PHP by Kichu
• 19,040 points
3,324 views
0 votes
1 answer

jQuery UI " $("#datepicker").datepicker is not a function"

I struggled with a similar problem for ...READ MORE

Feb 17, 2022 in Java by Soham
• 9,730 points
7,803 views
0 votes
0 answers

Typescript how to create type with common properties of two types?

There are 2 types type A = { ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 629 views
0 votes
1 answer

Can't Upload Image with Google Photos API using NodeJS

The Google Photos API requires binary-formatted material, ...READ MORE

Jun 10, 2022 in Node-js by Neha
• 9,020 points
2,921 views
0 votes
0 answers

how the iterator in c++ could be printed?

Suppose, I have declared a vector in C++ like ...READ MORE

Jul 11, 2022 in C++ by Nicholas
• 7,760 points
1,513 views
0 votes
1 answer

How to calculate average percentage in Power BI?

You can add one more measure to ...READ MORE

Feb 23, 2022 in Power BI by CoolCoder
• 4,420 points
7,536 views
0 votes
0 answers

HTML table with fixed headers?

Can a large HTML table be displayed ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points
972 views
0 votes
2 answers

How to detect a route change in Angular?

Hii Kartik For Angular 7 someone should write like: this.router.events.subscribe((event: Event) ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,800 points
31,372 views
0 votes
1 answer

jQuery slideDown() animation not working

Your p element is already displayed when you enter ...READ MORE

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

Node.js JSON.stringify() causing &quot; in output. Can't parse with Jquery

It's because when you call ...READ MORE

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

Excel VBA run-time error 1004 : Application-defined or object-defined error

Maybe your code is on Sheet 1, ...READ MORE

Apr 11, 2022 in Database by gaurav
• 25,250 points
5,501 views
0 votes
0 answers

Embed image in a <button> element

I'm attempting to use an HTML element ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,430 points
1,178 views
0 votes
1 answer

Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

Please be aware that AAPT1might be removed in ...READ MORE

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

How to display current element in jQuery?

<! DOCTYPE html> <html> <head> <script> $(document). ready(function(){ $("button"). click(function(){ $("p"). text("Welcome to ...READ MORE

Jun 27, 2022 in Web Development by rajatha
• 7,680 points
2,248 views
0 votes
0 answers

How do I declare a 2d array in C++ using new?

How do I declare a two-dimensional array using new? For example, for a "typical" array, I would:      int* ary = new int[Size] but int** ...READ MORE

Jul 15, 2022 in C++ by Nicholas
• 7,760 points
1,241 views
0 votes
0 answers

Fading in a background image using javascript or css on hover

I have so far been able to ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,730 points
1,953 views
0 votes
1 answer

How to get request string without GET arguments?

dsihhidsvhhdi READ MORE

Sep 18, 2023 in PHP by ijoddi

edited Mar 5, 2025 5,202 views
0 votes
0 answers

When to use Interface and Model in TypeScript / Angular

I recently watched a Tutorial on Angular ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 603 views
0 votes
1 answer

How to use $_GET parameter to make seo friendly urls?

What you can do is the following RewriteEngine ...READ MORE

Feb 27, 2022 in Others by narikkadan
• 86,360 points
7,388 views
0 votes
0 answers

How to sum all column values in multi-dimensional array?

How can I add all the columnar ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 86,360 points
2,485 views
0 votes
0 answers

how to display an image inside SVG circle in html5?

is there a way to display an ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
1,894 views
0 votes
1 answer

How to clean node_modules folder of packages that are not in package.json?

Hello @kartik, You could remove your node_modules/ folder ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
32,986 views
0 votes
0 answers

Why is PHP session_destroy() not working?

Why is session_destroy() not working? Is there any other way ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 86,360 points
2,803 views
0 votes
0 answers

Difference between for loop and the range based loop in C++

The distinction between a for loop and ...READ MORE

Jul 11, 2022 in C++ by Nicholas
• 7,760 points
1,476 views
0 votes
0 answers

How do I encode/decode UTF-16LE byte arrays with a BOM?

UTF-16 byte arrays must be encoded and ...READ MORE

Jul 28, 2022 in Java by krishna
• 2,820 points

edited Mar 4, 2025 842 views