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,106 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,065 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,717 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,428 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,889 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
888 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,767 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,737 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,102 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,953 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,590 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,410 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,163 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 522 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 518 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
862 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,126 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
857 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
857 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,682 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,143 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 506 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,848 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,064 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 496 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 493 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,182 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 582 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,186 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,024 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 486 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,366 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,812 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,650 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,089 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 478 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,265 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
860 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,173 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,774 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,318 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 471 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,037 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 472 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,079 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,316 views
0 votes
1 answer

Double arc shape with CSS jquery or javascript

But for this shape I would use ...READ MORE

Jun 14, 2022 in JQuery by gaurav
• 24,860 points
2,612 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,304 views
0 votes
0 answers

How do I link a JavaScript file to a HTML file?

How should a JavaScript file be linked ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,430 points
1,032 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,757 views