Trending questions in Edureka Community

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
530 views
0 votes
0 answers

Alternative function in iostream.h for getch() of conio.h?

I'm attempting to hold the screen on ...READ MORE

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

edited Mar 4 44 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 45 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 44 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 44 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 44 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 43 views
0 votes
1 answer

X close button only using css

You can use the ISO code with ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
2,988 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 42 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
477 views
0 votes
1 answer

QR code decoding images using zxing android

 get Qr code Info from Bitmap using ...READ MORE

Jun 20, 2022 in Others by nisha
• 2,210 points
2,785 views
0 votes
1 answer

Fill Data In Existing PDF Form Using NodeJS

Check out the following modules on npm: fill-pdf pdffiller pdf-fill-form node-pdffiller pdfkit The node-pdffilleris ...READ MORE

Jun 10, 2022 in Node-js by Neha
• 9,020 points
3,197 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
566 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,620 points
711 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 124 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
581 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
819 views
0 votes
0 answers

Unable to install Docker Desktop on Windows 10 Pro 21H1

I'm attempting to install Docker Desktop on ...READ MORE

Apr 12, 2022 in Docker by Abhijeet
• 180 points
4,412 views
0 votes
1 answer

TypeScript: Class Constructor type

class Zoo<T extends Animal> { ...READ MORE

Jun 8, 2022 in TypeSript by Nina
• 3,060 points
3,297 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
509 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
602 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,160 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
812 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
896 views
0 votes
1 answer

Error TS1005: ';' expected. TypeScript for First Build error rxjs inside node_modules

 I investigated that rxjs released a new version: 6.4.0. And ...READ MORE

Jun 10, 2022 in TypeSript by Nina
• 3,060 points
3,209 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
835 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 23 views
0 votes
0 answers

Making HTML page zoom by default

I created a page with buttons that ...READ MORE

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

c++ custom compare function for std::sort()

I want to create custom compare function ...READ MORE

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

edited Mar 4 18 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
670 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 18 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 18 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 18 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
500 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
541 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,121 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,620 points
1,575 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,103 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,620 points

edited Mar 4 18 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
922 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
660 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
921 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
675 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
633 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,257 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
908 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,296 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 28 views