Trending questions in Edureka Community

0 votes
1 answer

How do I erase an element from std::vector<> by index?

You might perform the following to remove a single element: std::vector<int> vec; vec.push_back(6); vec.push_back(-17); vec.push_back(12); // Deletes the second element (vec[1]) vec.erase(std::next(vec.begin())); Alternatively, to remove many elements at once: // ...READ MORE

Jun 10, 2022 in C++ by Damon
• 4,960 points
• 3,193 views
0 votes
0 answers

Render HTML to an image

Is it possible to render HTML to ...READ MORE

Jul 27, 2022 in HTML by Tejashwini
• 5,380 points
• 1,207 views
0 votes
0 answers

What is the css / html `root` element?

I recently started using NetBeans IDE (6.9.1) ...READ MORE

Jul 27, 2022 in HTML by Tejashwini
• 5,380 points
• 1,206 views
0 votes
0 answers

PHP array printing using a loop

How can I print each value of ...READ MORE

Jul 23, 2022 in PHP by Kithuzzz
• 38,000 points
• 1,331 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,783 views
0 votes
0 answers

Javascript - Window open, use CDN

Simple question. I cannot get a new ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 25,250 points
• 1,505 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
• 3,225 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,678 views
0 votes
0 answers

Typescript compiler can't find node with yarn - Cannot find type definition file for 'node'

I have @types/node installed. I'm using Yarn ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 • 893 views
0 votes
0 answers

Typescript: Clicking 'X' doesn't successfully close my popup banner

I've created a popup banner with the ...READ MORE

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

How to make a simple modal pop up form using jquery and html?

I've read the jQuery tutorials, but I'm ...READ MORE

Jul 24, 2022 in HTML by Ashwini
• 5,440 points
• 1,316 views
0 votes
1 answer

Creating a Zoom Effect on an image on hover using CSS?

Try using the following code: <style> .zoom { ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,710 points
• 2,903 views
0 votes
0 answers

HTML5 Email Validation

"With HTML5, we no longer require JavaScript ...READ MORE

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

jquery virtual keyboard - Curser not blinking in Chrome and Edge

I used the jQuery virtual keyboard, but ...READ MORE

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

How to automatically add &raquo; (») to <li> elements using CSS?

I want to automatically add the HTML ...READ MORE

Jul 22, 2022 in CSS by Edureka
• 13,800 points
• 1,392 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,800 points
• 2,222 views
0 votes
0 answers

TypeScript A computed property name in a type literal must directly refer to a built-in symbol

I'm looking forward an object which contains ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 • 875 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
• 3,164 views
0 votes
1 answer

Logging DML operations in ASP.NET MVC project

There are several options. You might register an ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
• 3,063 views
0 votes
0 answers

jQuery : Detect when element is scrolled to

I'd like to detect when an element ...READ MORE

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

How can I create a navigational compass using Typescript and HTML?

I'm looking to display a compass heading ...READ MORE

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

How to line-break from css, without using <br />?

How to achieve the same output without <br>? <p>hello ...READ MORE

Jul 22, 2022 in CSS by Edureka
• 13,800 points
• 1,383 views
0 votes
0 answers

Smooth scrolling when clicking an anchor link

My page has a few hyperlinks. When ...READ MORE

Jul 22, 2022 in CSS by Edureka
• 13,800 points
• 1,381 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,749 views
0 votes
0 answers

How to use <form:form> </form:form> TAG using HTML in Spring MVC?

How to utilize the <form:form> </form:form> In Spring MVC ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,440 points
• 1,213 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,700 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,747 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,490 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
• 2,026 views
0 votes
0 answers

React Typescript: It looks like you're trying to use TypeScript but do not have typescript installed

I want to create a React application ...READ MORE

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

edited Mar 4, 2025 • 854 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,492 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,450 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,733 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
• 3,166 views
0 votes
1 answer

How to make android phone flashlight blink?

This might be too fast to blink:- String[] ...READ MORE

Jun 6, 2022 in Others by nisha
• 2,210 points
• 3,405 views
0 votes
0 answers

Ignore typescript definition error

I have a 3rd party typescript definition ...READ MORE

Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4, 2025 • 842 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,800 points
• 2,359 views
0 votes
1 answer

Get current date in DD-Mon-YYY format in JavaScript/Jquery

Get Current Date In DD-Mon-YYY Format In ...READ MORE

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

Multidimensional Arrays lengths in Java

How can I determine the lengths of ...READ MORE

Aug 8, 2022 in Java by krishna
• 2,820 points

edited Mar 4, 2025 • 624 views
0 votes
1 answer

How to overlay image with color in CSS?

Use the rgba() Function to Overlay Background ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,376 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,898 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,871 views
0 votes
1 answer

Error:Laravel - Session store not set on request

Hello @kartik, You'll need to use the web middleware if ...READ MORE

Aug 4, 2020 in Laravel by Niroj
• 82,800 points
• 32,286 views
0 votes
0 answers

How to embed a PDF viewer in a page?

If I'm not mistaken, Google Docs provides ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,440 points
• 1,179 views
0 votes
0 answers

How to subtract 1 month from the previous week in tableau?

How to subtract 1 month from the ...READ MORE

Jul 27, 2022 in Tableau by anonymous

edited Mar 4, 2025 • 1,137 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,464 views
0 votes
0 answers

re.sub erroring with "Expected string or bytes-like object"

I tried looping through my function but ...READ MORE

May 7, 2022 in Python by narikkadan
• 86,360 points
• 4,595 views
0 votes
0 answers

Jquery Pulsate Times

I use the function Pulsate (http://docs.jquery.com/UI/Effects/Pulsate). With ...READ MORE

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

How can I write to the console in PHP?

Is it possible to write a string ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
• 1,236 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,996 views