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,116 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,726 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,071 views
0 votes
1 answer

how to solve this IndexError: list index out of range in python and streamlit?

Hi,  @Erick, To solve the “index error: list ...READ MORE

Sep 25, 2020 in Python by Roshni
• 10,440 points
29,781 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,434 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,895 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
892 views
+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,743 views
0 votes
1 answer

Nodejs: question of type input with npm inquirer not working

The right code should be: const outPath = ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
2,963 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,106 views
0 votes
1 answer

Windows git "warning: LF will be replaced by CRLF", is that warning tail backward?

 Depending on the editor you are using, ...READ MORE

Feb 16, 2022 in Others by Aditya
• 7,680 points
7,752 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,418 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,593 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,168 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 526 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,132 views
0 votes
0 answers

Use typescript to dynamically set class property in constructor

I am trying create a typescript class MyClass with ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 520 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,692 views
0 votes
0 answers

HTML 5: Is it <br>, <br/>, or <br />?

I've tried checking other answers, but I'm ...READ MORE

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

HTML5 Local storage vs. Session storage

Are there any advantages to session storage ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
863 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,150 views
0 votes
0 answers

divide the page in three parts using div tag

I've been working on the below layout ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
862 views
0 votes
0 answers

Set types on useState React Hook with TypeScript

I'm migrating a React with TypeScript project ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 511 views
0 votes
1 answer

Google OAuth 2 authorization - Error: redirect_uri_mismatch

To answer your question, you need to ...READ MORE

Feb 16, 2022 in Others by Soham
• 9,730 points
7,724 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,854 views
0 votes
0 answers

What is the HTML for="" attribute in <label>?

What does it do? I saw this ...READ MORE

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

How to install and run Typescript locally in npm?

I want to install and run Typescript ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 501 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,193 views
0 votes
0 answers

Enforcing the type of the indexed members of a Typescript object?

I would like to store a mapping ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 497 views
0 votes
0 answers

What is TypeScript and why would I use it in place of JavaScript?

Could you please describe the TypeScript language? What ...READ MORE

Aug 1, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 589 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,380 views
0 votes
0 answers

User-Defined Extended Enums in TypeScript

I am writing a TypeScript library that ...READ MORE

Jul 18, 2022 in TypeSript by Logan
• 2,140 points
1,190 views
0 votes
0 answers

Artisan, creating tables in database

In Laravel 5, I'm attempting to build ...READ MORE

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

What is the difference between var and let in Typescript?

I submitted a question on stack overflow ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 491 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,780 views
0 votes
0 answers

What does the C++ standard state the size of int, long type to be?

I'm seeking for specific information on the sizes of basic C++ types.  I understand that it is determined by the architecture (16 bits, 32 bits, or 64 bits) and the compiler. But are there any C++ standards? On a 32-bit architecture, I'm using Visual Studio 2008.  This is what I get: char : 1 byte short : 2 ...READ MORE

Jul 5, 2022 in C++ by Nicholas
• 7,760 points
1,658 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,818 views
0 votes
1 answer

Stratum connection for bitcoin pool mining

After hours of tinkering around I have ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
5,591 views
0 votes
0 answers

What is object slicing?

What is object slicing in C++ and ...READ MORE

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

Gradient borders

I'm trying to apply a gradient to ...READ MORE

Jul 20, 2022 in CSS by Edureka
• 13,730 points
1,093 views
0 votes
0 answers

why we are using HTMLInputElement in typescript?

Why we are using: (document.getElementById("ipv") as HTMLInputElem ...READ MORE

Aug 3, 2022 in TypeSript by Deepak
• 980 points

edited Mar 4, 2025 481 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,269 views
0 votes
0 answers

TypeScript: Typing the result of an external module's non-mutating extension function

Let's say I'm using external package "foo". ...READ MORE

Jul 18, 2022 in TypeSript by Logan
• 2,140 points
1,179 views
0 votes
0 answers

Overriding interface property type defined in Typescript d.ts file

Is there a way to change the ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 480 views
0 votes
0 answers

Styling the `<html>` element in CSS?

Can anyone explain to me why can ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,730 points
863 views
0 votes
0 answers

What are valid values for the id attribute in HTML?

What guidelines apply to the value of ...READ MORE

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

Why aren't cmath's pow and sqrt templates?

I'm curious as to why std::sqrt and ...READ MORE

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
1,324 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,775 views
0 votes
0 answers

Can I have an onclick effect in CSS?

I have an image element that I ...READ MORE

Jul 20, 2022 in CSS by Edureka
• 13,730 points
1,085 views
0 votes
0 answers

Jenkins lost its knowledge of builds ran on the slave node when there is a ssh connection issue

I am running a build using master ...READ MORE

Aug 3, 2022 in DevOps & Agile by Sai

edited Mar 4, 2025 475 views