Trending questions in Edureka Community

0 votes
0 answers

Customize jQuery On-Screen Keyboard

I need to display a virtual keyboard ...READ MORE

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

css background-repeat x and y

Is it feasible to repeat x and ...READ MORE

Aug 5, 2022 in CSS by Edureka
• 13,670 points
767 views
0 votes
0 answers

Remove a key from a C++ map

I want to take a key out ...READ MORE

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

edited Mar 4 92 views
0 votes
0 answers

Generic Classes in C++

Generic Classes was the topic I was reading. I at one point became immobile.  Here is the relevant code: template <class StackType> class stack { ...READ MORE

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

edited Mar 4 92 views
0 votes
0 answers

Table scroll with HTML and CSS

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

Aug 10, 2022 in HTML by Deepak
• 980 points
576 views
0 votes
0 answers

Passing vector by reference

Using standard C arrays, I would carry out the following: void do_something(int el, int **arr) { ...READ MORE

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

edited Mar 4 90 views
0 votes
0 answers

Printing prime numbers from 1 through 100

The following prime numbers are printed out by this C++ code: 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 73 79 83 89 97. However, I don't believe that is how my book would prefer it to be written.  It makes a reference to the square root of a number.  I thus tried switching my second loop to for (int j=2; jsqrt(i); j++), but it did not produce the desired outcome. How would I modify this code to make it the way my book desires it to be? int main () { ...READ MORE

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

edited Mar 4 90 views
0 votes
0 answers

Clear an image preview file that was removed from the array with jquery

I tried to figure this out for ...READ MORE

Aug 2, 2022 in Web Development by gaurav
• 23,260 points
1,005 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 85 views
0 votes
1 answer

Why should I use reference variables at all?

References themselves are unrelated to the issue. The issue is because C++ manages object lifetimes differently from run-time systems that employ garbage collectors, such as Java.  There is no standard built-in garbage collector in C++.  Both automatic (within local or global scope) and manual (explicitly allocated/deallocated in heap) object lifetimes are possible in  C++. A C++ reference is nothing more than an object's alias.  It has no knowledge of object lifespan (for the sake of efficiency).  The coder must give it some thought.  A reference bound to a temporary object is an exception; in this situation, the temporary object's lifespan is prolonged to include the lifetime of the bound reference. References play a crucial role in the fundamental ideas of C++, and they are required for 90% of jobs.  Otherwise, pointers must be used, which is typically far worse. You can use references, for instance, when you need to give an object as a function parameter by reference rather than by value: void f(A copyOfObj); ...READ MORE

Aug 5, 2022 in C++ by Damon
• 4,960 points
868 views
0 votes
0 answers

What are the differences between numpy arrays and matrices? Which one should I use?

What are each's advantages and drawbacks? I've noticed ...READ MORE

Aug 8, 2022 in Python by krishna
• 2,820 points
735 views
0 votes
0 answers

Why do we need abstract classes in C++?

I recently learnt about polymorphism in my ...READ MORE

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

edited Mar 4 83 views
0 votes
0 answers

php password_hash and password_verify issues no match

I'm testing out the new password hash ...READ MORE

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

Removing leading zeroes from a field in a SQL statement

I'm dealing with a SQL question that ...READ MORE

Aug 12, 2022 in Database by Kithuzzz
• 38,000 points
515 views
0 votes
0 answers

How can I use Html.Action?

I'm attempting to comprehend how to use: @Html.Action("GetOptions", ...READ MORE

Aug 8, 2022 in HTML by Tejashwini
• 780 points
647 views
0 votes
0 answers

Difference between Arrays.asList(array) and new ArrayList<Integer>(Arrays.asList(array))

What's the difference in these two ways? List<Integer> ...READ MORE

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

jquery - is not a function error

In Wordpress jQuery.noConflict() is called on the jQuery file ...READ MORE

Aug 4, 2022 in Web Development by rajatha
• 7,680 points
887 views
0 votes
0 answers

How to load jQuery Migrate for jQuery via RequireJS?

Can I load jQuery migrate via RequireJS? ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,260 points
604 views
0 votes
1 answer

Splide.js text animation between slides with animate.css classes

The event callback functions contain an event ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,710 points
3,251 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
• 23,260 points
556 views
0 votes
1 answer

How to change the jquery mobile flip switch state from code

I've examined the page you posted and ...READ MORE

Aug 1, 2022 in Web Development by rajatha
• 7,680 points
985 views
0 votes
0 answers

Arrays of different types

Is it possible to have an array ...READ MORE

Aug 8, 2022 in Java by krishna
• 2,820 points
718 views
0 votes
0 answers

How can I use jQuery in Greasemonkey?

I tried putting this line but it ...READ MORE

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

How to I aggregate two data sources in Tableau?

I am trying to combine two data ...READ MORE

Aug 21, 2022 in Tableau by anonymous

edited Mar 4 153 views
0 votes
1 answer

Which keycode for escape key with jQuery

27 is the code for the escape key. ...READ MORE

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

What's the difference between TRUNCATE and DELETE in SQL

What distinguishes SQL's TRUNCATE and DELETE operations? Please ...READ MORE

Aug 11, 2022 in Database by Kithuzzz
• 38,000 points
610 views
0 votes
0 answers

Reading an Excel file in PHP

I'm attempting to read an Excel document ...READ MORE

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

When should you use a class vs a struct in C++?

When using C++, when is it preferable ...READ MORE

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

edited Mar 4 64 views
0 votes
0 answers

What is viewport in HTML.

What exactly is a viewport in HTML? ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 3,820 points
541 views
0 votes
1 answer

Socket Programming in C++

The C++ Standard does not have a ...READ MORE

Aug 2, 2022 in C++ by Damon
• 4,960 points
931 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,840 points
32,714 views
0 votes
0 answers

How to find array / dictionary value using key?

I want to use the key to ...READ MORE

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

How do you declare an interface in C++?

What is the best way to build ...READ MORE

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

edited Mar 4 59 views
0 votes
0 answers

jQuery show for 5 seconds then hide

I'm using .show to display a hidden ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 23,260 points
1,145 views
0 votes
1 answer

why $(window).load() is not working in jQuery?

This event works with elements associated with ...READ MORE

Jun 21, 2022 in JQuery by rajatha
• 7,680 points
2,737 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 55 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,670 points
1,615 views
0 votes
0 answers

Is it more efficient to copy a vector by reserving and copying, or by creating and swapping?

I'm attempting to efficiently duplicate a vector. I see two potential strategies: std::vector<int> copyVecFast1(const std::vector<int>& original) { std::vector<int> newVec; ...READ MORE

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

edited Mar 4 52 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
575 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
701 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 46 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,670 points

edited Mar 4 52 views
0 votes
1 answer

How to set jQuery draggable min/max-left and min/max-right

How to set jQuery draggable min/max-left and ...READ MORE

Jul 25, 2022 in Web Development by rajatha
• 7,680 points
1,346 views
0 votes
0 answers

Cookies vs. sessions

A few months ago, I first used ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
675 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
714 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
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,670 points
2,021 views
0 votes
0 answers

Mapping structure before copying values

Below is the code ``` pragma solidity ^0.4.18; contract Courses ...READ MORE

Aug 22, 2022 in Blockchain by Brijesh
• 120 points

edited Mar 4 70 views
0 votes
1 answer

What does "this" mean in jQuery?

this is a reference to the member that ...READ MORE

Aug 1, 2022 in Web Development by rajatha
• 7,680 points
943 views
0 votes
0 answers

Getting the source of this click event in JQuery

I have multiple dynamically created buttons with ...READ MORE

Jul 21, 2022 in Web Development by gaurav
• 23,260 points
1,327 views