Trending questions in Edureka Community

+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,555 views
0 votes
0 answers

What is the meaning of polyfills in HTML5?

What does HTML5's use of polyfills mean? ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,440 points
• 1,769 views
0 votes
0 answers

How to convert a char array to a string?

Converting a C++ string to a char ...READ MORE

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

jQuery multiselect drop down menu

Show activity on this post. Download jquery.multiselect. Include the ...READ MORE

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

Remove a cookie

I try to erase cookies whenever I ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 86,360 points
• 1,691 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,581 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,630 views
0 votes
1 answer

Listening for Youtube Event in JavaScript or jQuery

I'm trying to get the onStateChange event ...READ MORE

May 30, 2022 in JQuery by gaurav
• 25,250 points
• 4,024 views
0 votes
0 answers

Create data frame from function in R

One function that I designed can produce ...READ MORE

Jul 9, 2022 in Data Analytics by avinash
• 1,840 points
• 2,259 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,472 views
0 votes
0 answers
0 votes
0 answers

HTML5 Video Autoplay not working correctly

I want the video to automatically play, ...READ MORE

Jul 12, 2022 in HTML by Ashwini
• 5,440 points
• 2,136 views
0 votes
1 answer

How to trigger a click on a link using jQuery

Use the jQuery click() Method You can use ...READ MORE

Jun 10, 2022 in JQuery by rajatha
• 7,680 points
• 3,469 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,569 views
0 votes
1 answer

Text mining- how to build a term-document matrix

You're not loading the TM library, and ...READ MORE

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

PHP's preg_match() and preg_match_all() functions

What do the preg_match() and preg_match_all() functions do and how can ...READ MORE

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

How do I format time in php

I have a time returned by PHP ...READ MORE

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

How to make a vertical line in HTML

How do you make a vertical line ...READ MORE

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

Progress Bar with HTML and CSS

I want to make a progress bar ...READ MORE

Jul 28, 2022 in CSS by Edureka
• 13,790 points
• 1,433 views
0 votes
1 answer

How can I rename my Apex Class name in Salesforce

If you wanted to do it through ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz • 6,560 views
0 votes
1 answer

how to solve this IndexError: list index out of range in python and streamlit?

Hi,  @Erick, To solve the “index error: list ...READ MORE

Sep 25, 2020 in Python by Roshni
• 10,440 points
• 30,397 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,667 views
0 votes
0 answers

Event handling with jQuery, AMD and require.js

I am very new to AMD and ...READ MORE

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

Wait until all jQuery Ajax requests are done?

How do I make a function wait ...READ MORE

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

How to create a simple map using JavaScript/JQuery

var map = new Object(); // or ...READ MORE

Jun 27, 2022 in Web Development by rajatha
• 7,680 points
• 2,807 views
+1 vote
1 answer

ERROR: Cannot add or update a child row: a foreign key constraint fails

Hello @kartik, You are getting this constraint check ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
• 31,882 views
0 votes
0 answers

How can I change the line spacing for one paragraph in an HTML email template?

I want to add html commands that ...READ MORE

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

How do you center a video using CSS?

I want to center a video on ...READ MORE

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

Check if checkbox is checked with jQuery

To check whether a Checkbox has been ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
• 2,891 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,545 views
0 votes
0 answers

Why doesn't my div inside a span work properly?

I'm writing the following HTML markup: <span> Some Text ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points
• 1,373 views
0 votes
0 answers

css ellipsis on second line

CSS text-overflow: ellipsis on the second line, is this ...READ MORE

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

jQuery + JSON how to define key from variable

I have the following code $.post( ...READ MORE

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

Is there an easy way to make a min heap in C++?

Use make heap() and its buddies from algorithm>, or priority queue from queue>.  Make heap and friends are used by priority queue. #include <queue> // functional,iostream,ctime,cstdlib using namespace std; int main(int ...READ MORE

Jun 27, 2022 in C++ by Damon
• 4,960 points
• 2,707 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,829 views
0 votes
0 answers

Passing variable from JS to PHP within the same page

I know that PHP is a server-side ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
• 3,159 views
0 votes
0 answers

How to add the text "ON" and "OFF" to toggle button?

I wanted to add text to my ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 757 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,493 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,426 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,710 points
• 2,805 views
0 votes
0 answers

Finding closest element without jQuery

I am trying to find the closest ...READ MORE

Jul 25, 2022 in Web Development by gaurav
• 25,250 points
• 1,424 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,440 points
• 1,706 views
0 votes
0 answers

Code PDF friendly HTML page from a Word Document

I have a word document file that ...READ MORE

Aug 1, 2022 in HTML by Ashwini
• 5,440 points
• 1,230 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,417 views
0 votes
0 answers

return null with query string whtn i use ajax-jquery

this is my jquery code: <script type="text/javascript"> ...READ MORE

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

How to clean node_modules folder of packages that are not in package.json?

Hello @kartik, You could remove your node_modules/ folder ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
• 33,526 views
0 votes
0 answers

phpmailer error "Could not instantiate mail function"

I'm getting the error "Mailer Error: Could ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
• 3,359 views
0 votes
1 answer

Loading ggplot2 package, missing 'munsell' package

You ought to have done this: "ggplot2" is ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
• 3,049 views
0 votes
0 answers

Docker image build fails in Azure DevOps release pipeline

I try to run build docker image ...READ MORE

Mar 18, 2022 in Other DevOps Questions by Kichu
• 19,040 points
• 5,039 views
0 votes
0 answers

Jquery array.push() not working

I have been trying to add variables ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 25,250 points
• 2,566 views