Trending questions in Edureka Community

0 votes
1 answer

What does "#include <iostream>" do?

You must include it in order to read or write to the standard input/output streams. int main( int argc, char * argv[] ...READ MORE

Jun 28, 2022 in C++ by Damon
• 4,960 points
552 views
0 votes
0 answers

Get row and column indices of matches using `which()`

Say I have some matrix, for example: m ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
297 views
0 votes
0 answers

I don't know about return type in typescript

TYPESCRIPT 3.4.3 I want to make function like ...READ MORE

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

Ajax load issues with space in url

You should URL encode the message body ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
1,739 views
0 votes
0 answers

Display a Modal on button click using Jquery

I want to display my Modal on ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 23,260 points
464 views
0 votes
0 answers

Deep copy vs Shallow Copy

What's the distinction between deep and shallow ...READ MORE

Jun 29, 2022 in C++ by Nicholas
• 7,760 points
532 views
0 votes
0 answers

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 exception

I am getting the error java.lang.IndexOutOfBoundsException: Index: ...READ MORE

May 17, 2022 in Java by Kichu
• 19,050 points
2,423 views
0 votes
0 answers

How to make a back-to-top button using CSS and HTML only?

I want to scroll down and up ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,620 points
502 views
0 votes
0 answers

Get current URL with jQuery?

I am using jQuery. How do I ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
544 views
0 votes
0 answers

In R, how to get an object's name after it is sent to a function?

I'm trying to find the opposite of ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
283 views
0 votes
0 answers

Transparent box or an image with HTML or CSS

I have no idea about creating a ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 3,820 points
317 views
0 votes
1 answer

How to one hot encode several categorical variables in R

43 I advise employing the caret package's dummyVars ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
808 views
0 votes
0 answers

How do I get a list of built-in data sets in R?

Please advise on how to obtain the ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
278 views
0 votes
0 answers

R console output only shows most recent command in "if" condition

In RStudio, if I execute this code: "1 ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
278 views
0 votes
1 answer

jQuery vs. javascript?

JavaScript is an independent language and can ...READ MORE

Jun 30, 2022 in Web Development by rajatha
• 7,680 points
477 views
+1 vote
2 answers

change the color for bars in geom_bar in ggplot

Hi @radha, You can have 2 types of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
35,674 views
0 votes
1 answer

Get last modified object from S3 using AWS CLI

With aws s3 ls $BUCKET —recursive, you ...READ MORE

Mar 24, 2022 in Others by gaurav
• 23,260 points
4,737 views
0 votes
0 answers

Using Jquery Ajax to retrieve data from Mysql

list.php: A simple ajax code that I ...READ MORE

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

ajax jquery simple get request

I am making this simple get request ...READ MORE

Jun 30, 2022 in Web Development by gaurav
• 23,260 points
475 views
0 votes
0 answers

Why does HTML5 recommend putting the code element inside pre?

The HTML5 documentation recommends putting the code ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 3,820 points
309 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
• 23,260 points
3,898 views
0 votes
0 answers

How to install NodeJS natively on Apple Silicon M1?

I'm attempting to install NodeJS on the ...READ MORE

Jun 23, 2022 in Node-js by Vaani
• 7,070 points
784 views
0 votes
1 answer

Is there any way to colorize a white PNG image with CSS only?

Filters can be used with -webkit-filter and ...READ MORE

May 27, 2022 in CSS by Edureka
• 12,690 points
1,924 views
0 votes
0 answers

Convert XML String to Object

I'm getting XML strings over a socket ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
1,297 views
0 votes
0 answers

Creating an R dataframe row-by-row

In RStudio, if I execute this code: "1 ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
263 views
0 votes
0 answers

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

An easy illustration of standard deviation calculation: The ...READ MORE

Jun 30, 2022 in Data Science by avinash
• 1,840 points
475 views
0 votes
0 answers

How to base64 encode php in this format?

Can someone please guide me on how ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,680 points
1,353 views
0 votes
1 answer

I am not able to Autoplay youTube video in android chrome

It will play if you set it to ...READ MORE

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

PHP Fatal error: Using $this when not in object context

I am working on a new WebApp without ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,680 points
1,011 views
0 votes
0 answers

@Media min-width & max-width

I have this @media setup: HTML: <head> <meta name="viewport" content="width=device-width, ...READ MORE

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

NodeJS / Express: what is "app.use"?

The app object is instantiated on creation ...READ MORE

Jun 17, 2022 in Node-js by Neha
• 9,020 points
986 views
0 votes
1 answer

What is the difference between JavaScript and jQuery?

JavaScript is an independent language and can ...READ MORE

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

Read a plain text file with php

How do I read all the information ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 63,680 points
659 views
0 votes
0 answers

How to replace innerHTML of a div using jQuery?

How could I achieve the following: document.all.regTitle.innerHTML = ...READ MORE

May 31, 2022 in JQuery by Edureka
• 13,690 points
1,764 views
0 votes
1 answer

Text mining- how to build a term-document matrix

You're not loading the TM library, and ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
707 views
0 votes
0 answers

PHP page redirect

I am working on a function where ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 63,680 points
783 views
0 votes
0 answers

How Stuff and 'For Xml Path' work in SQL Server?

Table is: Id Firstname 4 abc 4 def 4 ghi 4 jkl 4 mno Required output: Id Name 4 abc,def,ghi,jkl,mno Query: SELECT ID, ...READ MORE

Feb 23, 2022 in Database by Neha
• 9,020 points
5,937 views
0 votes
1 answer
0 votes
1 answer

Get checkbox value in jQuery

if you have set a class or id for it, you ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
720 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
1,174 views
0 votes
1 answer

TypeScript, Angular & ESlint - Definition for rule '@typescript-eslint/space-infix-ops' was not found

I managed to resolve this by forcing ...READ MORE

Jun 16, 2022 in TypeSript by Nina
• 3,060 points
1,035 views
0 votes
0 answers

Selection sort in C++ (modified) not working for all cases

I was attempting to tweak the selection sort code in C++ in order to test the results.  My updated code is as follows: #include<bits/stdc++.h> using namespace std; int main() { ...READ MORE

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

array of string with unknown size

Is there a specific reason why an ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
1,427 views
0 votes
1 answer

Easiest way to convert int to string in C++

std::stoi (and variations for each numeric type) ...READ MORE

Jun 15, 2022 in C++ by Damon
• 4,960 points
1,065 views
0 votes
0 answers

Bash - cat command and errors

I was trying bash shell redirection. I ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
839 views
0 votes
0 answers

NodeJS HTTPS API testing with mocha and super test -"DEPTH_ZERO_SELF_SIGNED_CERT"

I need to use mocha and supertest ...READ MORE

Jun 16, 2022 in Node-js by Vaani
• 7,070 points
1,041 views
0 votes
1 answer

How do I format date in jQuery datetimepicker?

d - Day of the month. ddd - ...READ MORE

Jun 28, 2022 in JQuery by rajatha
• 7,680 points
909 views
0 votes
2 answers

How to set margin for a Container in Flutter?

Container( margin: const EdgeInsets.fromLTRB(20, 10, 20, ...READ MORE

Apr 17, 2023 in Others by anonymous
9,213 views
0 votes
1 answer

In C++ abs( *a - *b) does not return absolute value of negative number

On the first line, you reallocated *a, and it is now utilising that new value on the second line.  int origa = *a; *a = abs(origa + ...READ MORE

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

Is 'If Else' statement indentation important or not in C++? [duplicate]

White space has no effect on the understanding of code in C and C++.  That is not to say that the programmer should be unconcerned about its misuse. The easiest method to demonstrate what the above code truly represents is to specify all of the inferred braces directly, as seen below.  The 'if then' or 'otherwise' clause only affects one line of code in the if statement with no brackets. This is one of the reasons why people strive to insist on 'proper coding standards' to guarantee that other people can clearly grasp the programmer's flow and meaning. while(c != cols) { ...READ MORE

Jun 27, 2022 in C++ by Damon
• 4,960 points
532 views