Trending questions in Edureka Community

0 votes
0 answers

How to sort an array of associative arrays by value of a given key in PHP?

Given this array: $inventory = array( ...READ MORE

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

How do I check if a directory exists in a Bash shell script?

To check if a directory exists in ...READ MORE

Jun 7, 2022 in Linux Administration by Korak
• 5,820 points
3,377 views
0 votes
1 answer

How to overlay density plots in R?

The second one has 104 usage lines: plot(density(MyData$Column1)) ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
2,869 views
0 votes
0 answers

How to find if a given key exists in a C++ std::map

I'm trying to check if a given ...READ MORE

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

C++ convert from 1 char to string?

I simply need to cast one character to string.  The inverse method is as easy as str[0]. The following suggestions did not work for me: char c = 34; string(1,c); //this doesn't work, the ...READ MORE

Jun 29, 2022 in C++ by Damon
• 4,960 points
2,393 views
0 votes
0 answers

Stepper Material : using stepper.reset() inside TypeScript

Is it possible to use stepper.reset() inside ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points
2,204 views
0 votes
0 answers

jquery - xeditable select source using function, using deffered and local storage (indexedDB)

I am working on a web app ...READ MORE

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

How to traverse stack in C++?

Is traversing std::stack possible in C++? It is not possible to traverse using the following method.  Because there is no member end in std::stack. std::stack<int> foo; // .. for (__typeof(foo.begin()) it = foo.begin(); ...READ MORE

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
3,624 views
0 votes
1 answer

Why do you need to put #!/bin/bash at the beginning of a script file?

It's a show so the *nix shell ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
2,802 views
0 votes
0 answers

How can I prevent SQL injection in PHP?

The programme  becomes vulnerable to SQL injection ...READ MORE

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

Retrieve data from db and display it in table in php .. see this code whats wrong with it?

$db = mysql_connect("localhost", "root", ""); ...READ MORE

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

jquery: unbind mouseenter and leave won't work

i have a tabbed view and when ...READ MORE

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

How to make a back-to-top button using CSS and HTML only?

I'm attempting to create a back-to-top button ...READ MORE

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

PHP - Generating tokens for transactions

What would be a safe and suitable ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,286 views
0 votes
1 answer

How to open the Google Play Store directly from my Android application?

To open Google Play AND ONLY Google ...READ MORE

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

Merge two response data in one - NodeJS

I want to merge the output from ...READ MORE

Aug 11, 2022 in Node-js by Neha
• 9,020 points

edited Mar 4, 2025 591 views
0 votes
0 answers

Default inheritance access specifier

If I have two classes A and ...READ MORE

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

jQuery dialog box opne .php file

It's a simple JQ, when I click ...READ MORE

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

jquery css zoom icon to images with opacity

I like to read articles and for ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 25,250 points
1,404 views
+1 vote
0 answers

Using push_back vs at in a vector in C++

I'm not sure how to use vectors in C++.  It has to do with the vector's push back technique.  I used push back to insert entries into the vector in the first programme.  I used at() to insert entries into the vector in the second application. #include <iostream> #include <vector> #include <string> using namespace std; int main ...READ MORE

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

c++ constructor and copy constructor

In a pre-C++17 compiler, this is known as copy elision (test it with C++17 on compiler explorer or wandbox with -std=c++17 vs. -std=c++14 flags).  As of C++17, the compiler must delete numerous instances of copy and move constructors and create objects directly without the need of intermediary objects. Unlike A a { 10 }; the line A a ...READ MORE

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

highlighting the current page in a list of links using css / html

I am trying to amend a friend's ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points
1,315 views
0 votes
0 answers

How do I create a 3x3 grid via CSS?

I want to use CSS to make ...READ MORE

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

edited Mar 4, 2025 580 views
0 votes
0 answers

Add something after the "n" element using jQuery

For a markup like <div id="holder"> ...READ MORE

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

nodejs robinhood api login

If you're utilising the Robinhood API, you'll ...READ MORE

Jun 17, 2022 in Node-js by Neha
• 9,020 points
2,928 views
0 votes
0 answers

Remove the last character from a string

What is the fastest way to remove ...READ MORE

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

How to apply a CSS filter to a background image?

I have a JPEG file that I'm ...READ MORE

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

edited Mar 4, 2025 622 views
0 votes
0 answers

Purpose of evt in jQuery event function

What is the purpose of using the ...READ MORE

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

NodeJS email-templates i18n localization

The i18n object does not appear to ...READ MORE

Jun 16, 2022 in Node-js by Neha
• 9,020 points
2,973 views
0 votes
0 answers

jQuery $(this).closest show & hide

I've got a table with multiple rows. ...READ MORE

Aug 12, 2022 in Web Development by gaurav
• 25,250 points

edited Mar 4, 2025 532 views
0 votes
0 answers

ApiNotActivatedMapError for simple html page using google-places-api

I'm attempting to make a straightforward HTML ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
2,041 views
0 votes
0 answers

The basics of php routing

I'm seeking for a how-to guide or ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 86,360 points
1,410 views
0 votes
0 answers

How to store objects in HTML5 localStorage

However, it appears that my object is ...READ MORE

Jul 24, 2022 in HTML by Ashwini
• 5,430 points
1,337 views
0 votes
0 answers

hide pills on jquery twitter bootstrap wizard

im using twitter bootstrap wizard, im trying ...READ MORE

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

Center image in table td in CSS

Wrap a picture in a container div ...READ MORE

Jun 13, 2022 in CSS by Edureka
• 12,730 points
3,069 views
0 votes
0 answers

How member functions are implemented in C++?

I read somewhere that member functions in C++ are similar to regular functions but with an additional implicit this parameter. As a result, I assumed that this software would be unable to discriminate between two functions.  However, the software executed successfully.  So, was the above statement incorrect? #include <iostream> class MyCls { ...READ MORE

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

Google OAuth 2 authorization - Error: redirect_uri_mismatch

To answer your question, you need to ...READ MORE

Feb 16, 2022 in Others by Soham
• 9,730 points
8,114 views
0 votes
0 answers

Converting Binary to Decimal built-in function

In C++, I need to do a ...READ MORE

Jul 15, 2022 in C++ by Nicholas
• 7,760 points
1,725 views
0 votes
1 answer

What is typing discipline

Wikipedia's typing discipline relates to the type ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
3,090 views
0 votes
0 answers

How to make notices pop up as jquery on Ruby on Rails 4

I have a user controller with the ...READ MORE

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

Border Height on CSS

I want to add a 1 pixel ...READ MORE

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

edited Mar 4, 2025 594 views
0 votes
1 answer

How to convert a web page(html,css,js) into android app?

I used Phonegap a lot for this, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,730 points
2,561 views
0 votes
1 answer

C# class without main method

Not every single class need the main ...READ MORE

Jul 7, 2022 in C# by krishna
• 2,820 points
2,584 views
0 votes
1 answer

What is the difference between public, private, and protected inheritance in C++?

To begin answering that question, let me characterise member accessors in my own terms.  If you already know this, proceed to the section "next:". I'm aware of three types of accessors: public, protected, and private. Let: class Base { public: ...READ MORE

Jul 11, 2022 in C++ by Damon
• 4,960 points
1,905 views
0 votes
0 answers

What are access specifiers? Should I inherit with private, protected or public?

I'm not sure what access modifiers signify ...READ MORE

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

PHP 5 disable strict standards error

I need to setup my PHP script ...READ MORE

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

Using jquery to prevent resubmitting form

I use jquery's .submit() to intercept user's ...READ MORE

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

How to use $_FILES["file"]["size"]?

How can I see if the file ...READ MORE

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

How to extract img src, title and alt from html using php?

I want to make a page listing ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,430 points
1,456 views
0 votes
1 answer

How to make a countdown timer in Android?

package com.example.countdowntimer; import java.util.concurrent.TimeUnit; import android.app.Activity; import android.os.Bundle; import android.os.CountDownTimer; import android.widget.TextView; public ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
3,571 views