Trending questions in Edureka Community

0 votes
1 answer

How to add class using jQuery?

Add a class name to the first ...READ MORE

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

When should you use 'friend' in C++?

I like the concept of the << ...READ MORE

Aug 25, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 559 views
0 votes
1 answer

Pure JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it

The simplest thing to do in the ...READ MORE

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

Benefits of arrays

The benefits of a list over an ...READ MORE

Aug 3, 2022 in Java by krishna
• 2,820 points
1,512 views
0 votes
0 answers

Where is array's length property defined?

As you know, to determine the length ...READ MORE

Aug 12, 2022 in Java by krishna
• 2,820 points
1,122 views
0 votes
0 answers

Upgrading PHP in XAMPP for Windows?

How do you upgrade PHP in Xampp ...READ MORE

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

Can't get gettext (php) on Ubuntu working

The translated string is repeated back when ...READ MORE

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

Matrix multiplication using arrays

Utilizing multidimensional arrays, I'm attempting to create ...READ MORE

Aug 5, 2022 in Java by krishna
• 2,820 points
1,417 views
0 votes
1 answer

Linking to a specific part of a web page

This is only possible if the website ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,440 views
0 votes
0 answers

Which is better way to calculate nCr

Approach 1: C(n,r) = n!/(n-r)!r! Approach 2:  I discovered this in Wilf's book Combinatorial Algorithms: C(n,r) may be represented as C(n-1,r) + C (n-1,r-1). e.g. C(7,4) = C(6,4) + ...READ MORE

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

JavaScript Split & jQuery .val() can I chain them?

Here's a very simple question... can I ...READ MORE

Aug 12, 2022 in Web Development by gaurav
• 25,250 points
1,109 views
0 votes
0 answers

In C++, what is the difference between a method and a function

I'm making an effort to use the ...READ MORE

Aug 24, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 576 views
0 votes
1 answer

How do I reverse a C++ vector?

The algorithm header has a method std::reverse for this purpose. #include <vector> #include <algorithm> int main() { std::vector<int> ...READ MORE

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

How to solve this warning: failed to open stream: No such file or directory

Recently, I had a problem as: Warning:include(C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php): failed ...READ MORE

Apr 20, 2022 in PMP by Edureka
• 13,690 points
5,985 views
0 votes
0 answers

How to display image in css grid?

I am trying to make a css ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
2,181 views
0 votes
1 answer

How to use textLocal API with NodeJS and sequelize to send OTP on mobile

Use request npm to create a http ...READ MORE

May 27, 2022 in Node-js by Neha
• 9,020 points
4,377 views
0 votes
0 answers

jQuery: serialize() form and other parameters

Is it possible to send form elements (serialized with .serialize() method) ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
2,942 views
0 votes
0 answers

Combine two arrays

I have two arrays structures like this array( ...READ MORE

Aug 8, 2022 in Others by krishna
• 2,820 points
1,268 views
0 votes
0 answers

When and why do I need to use cin.ignore() in C++?

In C++, I developed a simple application that requested the user to enter a number and then a string.  Surprisingly, when I ran the application, it never paused to ask for the string.  It simply ignored it.  After conducting some research on StackOverflow, I discovered that I needed to include the following line: cin.ignore(256, '\n'); before the line with the string input  That addressed the problem and allowed the software to run.  My issue is why C++ need the cin.ignore() line, and how can I forecast when I will need to use it. Here's the software I created: #include <iostream> #include <string> using namespace std; int main() { ...READ MORE

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
2,524 views
0 votes
0 answers

How to calculate the mean/sd of a vector without using the in-built R function?

I'm just having trouble understanding what must ...READ MORE

Jul 25, 2022 in Data Analytics by avinash
• 1,840 points

edited Mar 4, 2025 1,872 views
0 votes
0 answers

SetInterval 60 second countdown issue jQuery

I'm trying to countdown 60 seconds once ...READ MORE

Jul 22, 2022 in Web Development by gaurav
• 25,250 points
1,873 views
0 votes
1 answer

Cast a JSON Object to a TypeScript class

I had the same issue and this ...READ MORE

May 31, 2022 in TypeSript by Nina
• 3,060 points
4,223 views
0 votes
0 answers

What is cURL in PHP?

I frequently come across the word "cURL" ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,366 views
0 votes
0 answers

Get access token to Flipkart seller account using php

Can someone assist with obtaining an access ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
1,285 views
0 votes
0 answers

How to combine bold and italic in CSS?

I learned how to make text bold ...READ MORE

Aug 23, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 616 views
0 votes
0 answers

Why can we not access elements of a tuple by index?

tuple <int, string, int> x=make_tuple(1, "anukul", 100); cout ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 609 views
0 votes
0 answers

How to convert C++ Code to C

I've got some C++ programme. Numerous classes, ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 609 views
0 votes
0 answers

How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?

I have a development environment based on ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
3,487 views
0 votes
0 answers

Jquery Masonary and item filtering does not work together

I am using a small js filter ...READ MORE

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

What is the difference between List.of and Arrays.asList?

In java 9, new factory methods for ...READ MORE

Aug 2, 2022 in Java by krishna
• 2,820 points
1,520 views
0 votes
0 answers

Confused with object arrays in C++

I originally studied Java, and I'm currently attempting to transition to C++.  I'm having some trouble getting arrays to function properly. Right now, all I'm attempting to do is build an array of the object "Player" and add one to it.  But I encounter a problem. Player* players = new Player[1]; players[0] = new ...READ MORE

Aug 25, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 523 views
0 votes
0 answers

Convert to date format dd/mm/yyyy

I have the following date: 2010-04-19 18:31:27. I ...READ MORE

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

How can I get the intersection, union, and subset of arrays in Ruby?

I want to develop many methods for ...READ MORE

Aug 8, 2022 in Others by krishna
• 2,820 points
1,257 views
0 votes
0 answers

Using jquery-store-locator-plugin (v2) with Multiple Forms

I'm trying to get version 2 of ...READ MORE

Aug 8, 2022 in Web Development by gaurav
• 25,250 points
1,219 views
0 votes
0 answers

Video is not supported in html5

I have the latest FF and I ...READ MORE

Aug 3, 2022 in HTML by Ashwini
• 5,430 points
1,476 views
0 votes
0 answers

jQuery Slide toggle and fade in issue

As you can see when clicking on ...READ MORE

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

Table scroll with HTML and CSS

I have a table like that which ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,790 points
2,587 views
0 votes
0 answers

How do I declare and initialize an array in Java?

How can I declare and initialize an ...READ MORE

Aug 11, 2022 in Java by krishna
• 2,820 points
1,128 views
0 votes
0 answers

Check if user is admin PHP

I have a users table with this ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
3,590 views
0 votes
0 answers

Hi Is it good to switch Job from SAP consultant to JAVA Full Stack Developer.

Hi , currently I am working as ...READ MORE

Aug 3, 2022 in Java by anonymous

edited Mar 4, 2025 1,480 views
0 votes
0 answers

Accessing nested JavaScript objects and arrays by string path

This is my data structure var someObject = ...READ MORE

Aug 8, 2022 in Others by krishna
• 2,820 points
1,251 views
0 votes
0 answers

Accumulate function in Vector (STL) giving negative sum

I'm receiving a negative total when I run the code below (-294967296). #include<iostream> #include<vector> #include<numeric> using namespace std; int main() { ...READ MORE

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

How to echo define value in PHP?

 Code : <?php define("SITENAME","Page TITLE");?> I want to echo ...READ MORE

Aug 6, 2022 in PHP by Kithuzzz
• 38,000 points
1,291 views
0 votes
0 answers

Php Program to find Palindrome?

The palindrome can be found in three ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,459 views
0 votes
0 answers

C++11: How to alias a function?

If I have a class Foo in ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 596 views
0 votes
0 answers

Remove Image background with php and save transparent png

I am working on functionality that removes ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
4,325 views
0 votes
0 answers

How is HTML converted into machine language?

I've been unsure of this for a ...READ MORE

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

Add target="_blank" in CSS

On my website, there are external links ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,790 points
2,456 views
0 votes
1 answer

How to get Australia/Sydney timezone offset in javascript/nodejs?

It is very easy with Moment JS. ...READ MORE

Jun 16, 2022 in Node-js by anonymous
3,507 views
0 votes
0 answers

Google Unicode Fonts not rendered properly in mpdf for PHP

I want to use Baloo2 Google Font ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
3,772 views