Trending questions in Edureka Community

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
781 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
630 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 145 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 144 views
0 votes
1 answer

Python pip on Windows - command "cl.exe" failed

You should have  cl.exe (the Microsoft C Compiler) installed ...READ MORE

Apr 28, 2022 in Python by narikkadan
• 86,360 points
5,224 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
795 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
579 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 142 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,245 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,227 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
678 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
• 5,380 points
610 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,039 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 127 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,580 points
1,257 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,428 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,816 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
776 views
0 votes
0 answers

How to take user input like prompt() but in PHP?

How can I create a javascript equivalent ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
986 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,425 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
647 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
773 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,680 points
1,681 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 120 views
0 votes
2 answers

How to click button selenium python?

Selenium can automatically click on buttons that ...READ MORE

Oct 14, 2020 in Python by Danish Bhatiya
29,326 views
0 votes
1 answer

Reverse Contents in Array

My strategy would be as follows: #include <algorithm> #include <iterator> int main() { const int ...READ MORE

Aug 5, 2022 in C++ by Damon
• 4,960 points
901 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 204 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 116 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
789 views
0 votes
0 answers

php records navigation

Code: <?php $host='localhost'; $user='root'; $password='root'; $database='database'; $startindex=@$_REQUEST['seek']; $db=mysql_connect($host, ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
722 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 110 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 110 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,680 points

edited Mar 4 116 views
0 votes
0 answers

How can I create a "Please Wait, Loading..." animation using jQuery?

I would like to place a "please ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,580 points
594 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,020 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,032 views
0 votes
0 answers

Laravel PHP Command Not Found

I successfully installed Laravel using Composer, but ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 86,360 points
1,451 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
2,871 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,531 views
0 votes
0 answers

PHP Elvis operator vs null coalescing operator

Can someone clarify the differences between PHP's ...READ MORE

Aug 3, 2022 in PHP by Kithuzzz
• 38,000 points
960 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,324 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,680 points
2,081 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
2,823 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
575 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 132 views
0 votes
0 answers

how do you increase the height of an html textbox

How can the height of a textbox ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 5,380 points
571 views
0 votes
0 answers

Using reactJS, php and mysql is possible?

I want to learn reactJS; is it ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
834 views
0 votes
0 answers

Will choosing between YUI or jQuery effect the overal design of .js files?

Will choosing between jquery or YUI change ...READ MORE

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

Refresh a page using JavaScript or HTML

window.location.reload(); in JavaScript <meta http-equiv="refresh" content="1"> in HTML ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
916 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,430 views