Trending questions in Edureka Community

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

#defining constants in C++

In various C code, I see constants ...READ MORE

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

edited Mar 4 193 views
0 votes
0 answers

Making a div vertically scrollable using CSS

This <div id="" style="overflow:scroll; height:400px;"> provides a div that ...READ MORE

Aug 25, 2022 in CSS by Edureka
• 13,730 points

edited Mar 4 237 views
0 votes
0 answers

Laravel 5.3 - TokenMismatchException in VerifyCsrfToken.php line 68:

How can I fix the title-related issue ...READ MORE

Jul 28, 2022 in Laravel by Kithuzzz
• 38,000 points
1,465 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
801 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 403 views
0 votes
0 answers

jQuery exclude elements with certain class in selector

I want to setup a click event ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 23,580 points
1,793 views
0 votes
0 answers

What is the difference between private and protected members of C++ classes?

What distinguishes C++ classes' private and protected ...READ MORE

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

edited Mar 4 189 views
0 votes
0 answers

Nested try...catch inside C++ exception handler?

I may wish to run code that might throw an exception in my exception handler. Is the following C++ structure acceptable?  Are there any drawbacks if so? try { // ... } catch (const ...READ MORE

Aug 5, 2022 in C++ by Nicholas
• 7,760 points
942 views
0 votes
1 answer

What does CSS measurement unit 'em' actually stand for?

It stands for "emphemeral unit," which refers ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,370 points
1,163 views
0 votes
0 answers

chmod: unable to change file mode on install.sh. operation not permitted

Hi Everybody, I'm trying to install McAfee agent ...READ MORE

Aug 24, 2022 in Linux Administration by madzr

edited Mar 4 274 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 346 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
1,088 views
0 votes
0 answers

Rules for C++ string literals escape character

What are the string literals' escape character rules?  Are all the characters that are escaped listed somewhere? In particular, gedit colours the following three values differently when I use the symbol in a string literal. I was attempting to generate a std::string from a literal consisting of the character 0, the null character (0), and the character 0.  However, the syntax highlighting warned me that this would result in just two characters, such as the letter 0 followed by the null character (\00, aka \0). Is the following the best course of action for the solution to just this one issue: std::string ("0\0" "0", 3) // ...READ MORE

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

edited Mar 4 221 views
0 votes
1 answer

What is the meaning of "cascading' in CSS??

Cascading simply implies that it may be ...READ MORE

Aug 3, 2022 in CSS by Tanishqa
• 1,370 points
1,148 views
0 votes
0 answers

Simplest code for array intersection in javascript

Tell me the simplest way to implement ...READ MORE

Aug 12, 2022 in Others by krishna
• 2,820 points
773 views
0 votes
0 answers

PHP Simple Search Form

Since I'm new to PHP, I'd like ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
966 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
862 views
0 votes
1 answer

Jquery Mobile go back button scrolls to top

I had this issue i fixed it ...READ MORE

Aug 5, 2022 in Web Development by rajatha
• 7,680 points
1,058 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,730 points
2,154 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 204 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 284 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 283 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
1,094 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
1,194 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,580 points
764 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
1,193 views
0 votes
0 answers

How to install Node 14 version on windows?

I'm trying to install Node.js 14 on ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
3,006 views
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,580 points
1,472 views
0 votes
0 answers

Alternative to itoa() for converting integer to string C++?

If I use itoa() to convert an ...READ MORE

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

edited Mar 4 275 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
1,186 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 227 views
0 votes
1 answer

No compiler is provided in this environment. perhaps you are running on a jre rather than a jdk?

Once you are on your Eclipse integrated ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,690 points
8,704 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
924 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
906 views
0 votes
1 answer

Angular4 - routerLink with typescript

In code, you use .navigate instead: this.router.navigate(['/products']); You pass ...READ MORE

Jun 22, 2022 in TypeSript by Nina
• 3,060 points
3,041 views
0 votes
1 answer

When to use extern in C++

This is useful when dealing with global variables.  Global variables are declared in a header so that any source file that contains the header is aware of them, but you only need to "define" them once in one of your source files. To explain, using extern int x; informs the compiler that an int object named x exists elsewhere.  It is not the compiler's responsibility to know where it exists; it just needs to know the type and name so that it may utilise it.  After compiling all of the source files, the linker will resolve all x references to the one definition found in one of the generated source files. For it to operate, the x variable's declaration must have "external linkage," which simply means that it must be defined outside of a function (at what's known as "the file scope") and without the static keyword. header: #ifndef HEADER_H #define HEADER_H // any source file that ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
2,961 views
0 votes
1 answer

How to delete a project from Google Cloud Console

Follow these steps to delete a project ...READ MORE

May 4, 2022 in GCP by Korak
• 5,820 points
5,615 views
0 votes
1 answer

ANR in com.google.android.googlequicksearchbox:search

There were two clues of where the ...READ MORE

Jun 9, 2022 in Others by nisha
• 2,210 points
3,492 views
0 votes
0 answers

PHP - Get key name of array value

I have an array of the following: function ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 86,360 points
1,671 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,580 points
1,560 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,730 points
932 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
1,042 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
908 views
0 votes
0 answers

How to obtain data from random wikipedia page with jquery

$(".wikiResult h3").load("https://en.wikipedia.org/wiki/Special:Random #firstHeading i"); I would like to ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,580 points
779 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,580 points
1,167 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,353 views
0 votes
0 answers

Editing data from MySQL via PHP

A PHP script that is supposed to ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
1,158 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,580 points
1,333 views
0 votes
1 answer

jQuery event for images loaded

To check if an image is loaded ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
3,171 views