Trending questions in Edureka Community

0 votes
1 answer

How to use useState hook in React with TypeScript correctly?

Without any initial argument, the type of email and setEmail will ...READ MORE

Jun 10, 2022 in TypeSript by Nina
• 3,060 points
1,898 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
592 views
0 votes
1 answer

What does |> (pipe greater than) mean in R?

The "pipe" operator in R is |>. ...READ MORE

Jun 14, 2022 in Data Science by Sohail
• 3,040 points
1,726 views
0 votes
0 answers

What are good uses of the css `content` property?

Because CSS is for display and not ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,620 points
294 views
0 votes
0 answers

In typescript, why do the | and & operators flip their meaning when used on function types?

In this code, example1 and example2 are confusing me: type F1 = ...READ MORE

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

Why is Turbo C++ showing this error in DOSBox on my Mac?

Your installation must be defective!  I have a Mac, and I'm typing this on it while using TurboC++.  Consider uninstalling and then reinstalling the programme. Download the package in the same way as you would a.dmg programme from the internet.  (For example, drag and drop the programme into the Applications folder)  Ascertain that your Applications folder is global to your system.  This is what I mean: When in Finder, select the "GO" option from the top menu bar. From the drop down option, choose "Computer." In the newly opened window, click on your hard disc. There is a "Applications" folder there.  That's where you should put TurboC++. Go to Launchpad, and start Turbo C++. ...READ MORE

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

how to use substr() function in jquery?

To get substring of a string in ...READ MORE

Jun 27, 2022 in Web Development by rajatha
• 7,680 points
1,238 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
583 views
0 votes
0 answers

Create a react app react 18 with typescript

I am trying to create react 18 ...READ MORE

Jul 5, 2022 in TypeSript by Logan
• 2,140 points
853 views
0 votes
1 answer

jQuery Validation plugin. Two custom rules not working

validation plugin works according to the name attribute and ...READ MORE

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

Applying pdf watermark at typescript side

I am trying to add a watermark ...READ MORE

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

Python Traceback (most recent call last)

The error message: Traceback (most recent call last): ...READ MORE

May 12, 2022 in Python by Kichu
• 19,050 points
3,170 views
0 votes
0 answers

login system via on localhost not working

I have a login system built and ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,020 points
1,481 views
0 votes
0 answers

R function rep() in Python (replicates elements of a list/vector)

Each element of a vector is duplicated ...READ MORE

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

Font Awesome not working, icons showing as squares

You must have 2 classes, the fa ...READ MORE

Feb 22, 2022 in Others by Aditya
• 7,680 points
6,544 views
0 votes
0 answers

Alternative to decorate function in TypeScript

Since TypeScript allows decorate only class, method, ...READ MORE

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

Loading image using CSS animation VS loading using GIF image

I ran the following tests to see ...READ MORE

Jul 6, 2022 in CSS by Edureka
• 13,620 points
788 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,620 points
1,057 views
0 votes
0 answers

How does c++ std::vector work?

How do the addition and removal of ...READ MORE

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

Send Post request in Node js Rest API

FROM THE CLIENT SIDE, I CAN'T SEND ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
1,174 views
0 votes
0 answers

not able to run graphics in DEV C++

Unable to run the graphics from following ...READ MORE

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

If isset $_POST

I have a form on one page ...READ MORE

May 28, 2022 in PHP by Kichu
• 19,050 points
2,477 views
0 votes
0 answers

C++ convert from 1 char to string?

I simply need to cast one character to string.  The inverse method is as easy as str[0]. The following suggestions did not work for me: char c = 34; string(1,c); //this doesn't work, the ...READ MORE

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

Where do I find a list of all mat-icons -- Angular

To answer your question, the prior Material.io ...READ MORE

Feb 10, 2022 in Others by Rahul
• 9,680 points
7,039 views
0 votes
1 answer

How to get the jQuery $.ajax error response text?

Hello @kartik, Try: error: function(xhr, status, error) { ...READ MORE

Jul 27, 2020 in Java-Script by Niroj
• 82,880 points
31,347 views
0 votes
1 answer

node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected error after installation of Angular 6

Due to the existence of a version ...READ MORE

Feb 10, 2022 in Others by Rahul
• 9,680 points
7,037 views
0 votes
0 answers

How to create a dynamic array of integers

How can I use the new keyword ...READ MORE

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

Python - TypeError: Object of type 'int64' is not JSON serializable

My data frame has store names and ...READ MORE

May 26, 2022 in Python by Kichu
• 19,050 points
2,522 views
0 votes
1 answer

Listening for Youtube Event in JavaScript or jQuery

I'm trying to get the onStateChange event ...READ MORE

May 30, 2022 in JQuery by gaurav
• 23,260 points
2,391 views
0 votes
1 answer

MySQL - UPDATE multiple rows with different values in one query

Hello @kartik You can use a CASE statement to handle ...READ MORE

Jun 1, 2020 in PHP by Niroj
• 82,880 points
33,770 views
0 votes
1 answer

How can I download git branch files to local system?

Clone the master branch. As you  said ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
2,449 views
0 votes
0 answers

How to achieve pages like a math notebook in css?

Hey i'm a beginner to CSS so ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,620 points
669 views
0 votes
1 answer

How to alert using jQuery

alert($('#test')); // or alert($('#test'). get(0)); // also try alert(document. ...READ MORE

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

ApiNotActivatedMapError for simple html page using google-places-api

I'm attempting to make a straightforward HTML ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
666 views
0 votes
0 answers

How to watch typescript files in the background continuously without blocking the terminal?

Is there a way to run tsc ...READ MORE

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

When to use index.php instead of index.html?

When do I need to use an ...READ MORE

Jul 5, 2022 in HTML by Tejashwini
• 3,820 points
781 views
0 votes
0 answers

Mongodb updateMany() not working in nodejs

I have a collection called imported_products with ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
1,119 views
0 votes
0 answers

Check if a string is palindrome

I need to write a software that ...READ MORE

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

Extracting text based on a regex pattern with cheerio nodejs

I'm attempting to construct a scraper using ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
1,363 views
0 votes
0 answers

React.js inline style best practices

I am aware that React classes allow ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,620 points
505 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,620 points
1,318 views
0 votes
1 answer

How to compute the probability of a value given a list of samples from a distribution in Python?

I recommend adopting a non-parametric density estimation ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
5,257 views
0 votes
0 answers

Clickable span not calling javascript even though w3school example works

I have a clickable span element that ...READ MORE

Apr 13, 2022 in Java by Rahul
• 3,380 points
4,347 views
0 votes
1 answer

How to initialize a list of strings (List<string>) with many string values

Simply remove the () at the end. List<string> ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
1,710 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
410 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
748 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
748 views
0 votes
0 answers

Program to calculate square root c++

Making a C++ application to determine a number's square root.  The built-in arithmetic operator "sqrt" is not used in this application.  There are two variables: one for the user-inputted integer and the other for the number's square root.  This software does not function very well, and I am certain that there is a more effective method to accomplish it: Here is my full code: #include <iostream> using namespace ...READ MORE

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

jQuery dialog popup

This HTML is fine: <a href="#" id="contactUs">Contact Us</a> ...READ MORE

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

NodeJS express get request is not working on mobile

For your API call, try to add ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
1,906 views