Trending questions in Edureka Community

0 votes
1 answer

Is this the Correct Way to Access Array Elements in jQuery?

Array elements are accessed by using an integer ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
1,931 views
0 votes
0 answers

Implode array values?

My array: Array ( [0] => ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
830 views
0 votes
1 answer

How can I set a css border on one side only?

Use four values to add a border ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,730 points
1,299 views
0 votes
0 answers

How to use c++ swap function?

It is OK to write swap(a,b); There is an issue when I write swap(&c[0],&d[0]);.  Can anyone explain why? #include<iostream> #include<algorithm> using namespace std; int main(void){ ...READ MORE

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

How to get current location in google map android

package com.example.sandeep.googlemapsample; import android.content.pm.PackageManager; import android.location.Location; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
2,468 views
0 votes
0 answers

How to install exe file in Azure DevOps?

I need to install the exe file ...READ MORE

Mar 26, 2022 in Other DevOps Questions by Kichu
• 19,040 points
2,511 views
0 votes
1 answer

Datatables export Excel

Follow the following steps : Add Interop References. ...READ MORE

Jun 9, 2022 in JQuery by gaurav
• 23,580 points
2,108 views
0 votes
0 answers

Why use #define instead of a variable

What is the purpose of the #define ...READ MORE

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

highlight the current page in menu in php

I wanted to make an active page ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 86,360 points
1,545 views
+29 votes
3 answers

How can we set java.library.path in Eclipse?

Go into the library settings for your ...READ MORE

Jul 3, 2018 in Java by sharth
• 3,370 points
24,954 views
0 votes
1 answer

How to open .xlsx files in MS Excel from VS Code?

Hello, to open xlxs files, or files ...READ MORE

Feb 17, 2022 in Others by gaurav
• 23,580 points
6,920 views
0 votes
1 answer

str_lib_facilities.h file from Stroustrup's Programming: Principles and Practice Using C++ generating errors

Switching the compiler to compile in c++11 ...READ MORE

Jun 13, 2022 in C++ by Damon
• 4,960 points
1,909 views
0 votes
0 answers
0 votes
1 answer

Salesforce Apex SingleEmailMessage with Template to User not contact

// Pick a dummy Contact Contact c ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 27, 2023 by Khan Sarfaraz 5,847 views
0 votes
1 answer

Easiest way to convert int to string in C++

std::stoi (and variations for each numeric type) ...READ MORE

Jun 15, 2022 in C++ by Damon
• 4,960 points
1,822 views
0 votes
1 answer

jQuery mouse click counter

You can use jQuery's toggleClass function for that: $(" ... ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,796 views
0 votes
0 answers

How to add a gridview to a C# winforms project with a list of objects as the datasource

In Visual Studio 2015 community, I'm creating ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
2,024 views
0 votes
0 answers

Bootstrap : TypeError: $(...).modal is not a function

When I call  bootstrap modal from jquery ...READ MORE

May 1, 2022 in Other DevOps Questions by Kichu
• 19,040 points
3,814 views
0 votes
0 answers

how to create a HTML5 video element without it being shown in the page?

how is it possible to dynamically create ...READ MORE

Jul 5, 2022 in HTML by Tejashwini
• 5,380 points
992 views
0 votes
1 answer

$ is not a function - jQuery error

The typeerror: $ is not a function ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
2,195 views
0 votes
1 answer

Google AJAX Libraries CDN for jQuery

The Google Hosted Libraries is a stable, ...READ MORE

May 30, 2022 in Java by gaurav
• 23,580 points
2,569 views
0 votes
1 answer

Ajax load issues with space in url

You should URL encode the message body ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
2,433 views
+3 votes
2 answers

Error - 419 Sorry, your session has expired.Post request in Laravel?

Sometimes the cache can also lead to ...READ MORE

Aug 28, 2020 in Laravel by Ishita
• 150 points
33,215 views
0 votes
0 answers

How do i view country flags on windows 10 through HTML?

suggest me a way to make the ...READ MORE

Jul 7, 2022 in HTML by Tejashwini
• 5,380 points
896 views
0 votes
0 answers

How to calculate the difference between two dates using PHP?

I have two dates on the form: Start ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 86,360 points
1,422 views
0 votes
0 answers

Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?

I've tried every option I could find ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
4,119 views
0 votes
0 answers

How to style the option of an html "select" element?

Here's my HTML: <select id="ddlProducts" name="ddProducts"> ...READ MORE

Jul 20, 2022 in CSS by Edureka
• 13,750 points

edited Mar 4, 2025 330 views
0 votes
0 answers

C++ Singleton design pattern

I recently came upon a C++ realization/implementation of the Singleton design pattern.  It looked like this (I took it from a real-life example): // a lot of methods are omitted ...READ MORE

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
961 views
0 votes
0 answers

How to embed Ruffle flash player emulator into HTML file?

I was implementing SWF (Small Web Format) ...READ MORE

May 27, 2022 in HTML by Tejashwini
• 5,380 points
2,653 views
0 votes
0 answers

What does auto do in margin: 0 auto?

What does auto do in margin: 0 ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,750 points
714 views
0 votes
1 answer

Easiest way to convert int to string in C++

C++ adds std::stoi (and variants for each numeric type) and std::to string, which are the C equivalents of atoi and itoa but expressed in terms of std::string #include <string> std::string s = std::to_string(42); Is therefore ...READ MORE

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

jQuery vs. javascript?

JavaScript is an independent language and can ...READ MORE

Jun 30, 2022 in Web Development by rajatha
• 7,680 points
1,173 views
0 votes
0 answers

Function definition syntax confuse in Typescript

I figure that out: One post in ...READ MORE

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

Constructing pandas DataFrame from values in variables gives "ValueError: If using all scalar values, you must pass an index"

If  I have two variables as follows: a ...READ MORE

May 19, 2022 in Python by Kichu
• 19,040 points
2,952 views
0 votes
0 answers

Javamail Could not convert socket to TLS GMail

I want to send an email using ...READ MORE

May 2, 2022 in Java by Kichu
• 19,040 points
3,753 views
0 votes
0 answers

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 exception

I am getting the error java.lang.IndexOutOfBoundsException: Index: ...READ MORE

May 17, 2022 in Java by Kichu
• 19,040 points
3,017 views
0 votes
0 answers

How to write a simple Html.DropDownListFor()?

I want to create a very straightforward ...READ MORE

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

How to remove a underline from a link in HTML?

how to remove the underline from a ...READ MORE

Jul 5, 2022 in HTML by Tejashwini
• 5,380 points
967 views
0 votes
0 answers

Using v4l2loopback virtual cam with google-chrome or chromium on linux while having real webcam in use

(I hope posting an answer to own ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,690 points
4,035 views
0 votes
0 answers

PHP Notice: Undefined offset: 1 with array when reading data

I am getting this error : PHP Notice: ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
2,025 views
0 votes
1 answer

Node.js JSON.stringify() causing &quot; in output. Can't parse with Jquery

It's because when you call ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,741 views
0 votes
1 answer

C++ - Overloading vs Overriding in Inheritance

In C++, a derived class's method only overrides the base class's method if their declarations match (I say "match," but I'm not sure what the formal term is).  That is, all arguments must be of the same type, with the same const qualification.  If there are any mismatches, the derived class's method hides all methods with the same name rather than overriding.  This is what the "ERROR" in your image is attempting to convey.  So, in that image, / overrides in a comment is incorrect and misleading. Yes, many C++ instructors are unaware of these somewhat esoteric details. Furthermore, if you want to override, your base class's method must be virtual; otherwise, polymorphism will not work.  We could also say that the derived-class method hides the base-class method if it wasn't virtual.  The part about hiding, on the other hand, has almost no meaning here; what this term really means is that you're not in charge. Furthermore, overloading is the presence of multiple methods with the same name but different signatures, as you may have noticed. To be useful, they must all be present in the derived class; otherwise, they will be hidden if the derived class only has one method, fa1, and the other fa1 are in the base.  There is, however, a syntax sugar that "copies" all fa1 from the base to the derived. class A { public: void fa1(); ...READ MORE

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

No connection could be made because the target machine actively refused it?

 I was doing HttpWebRequest to a WebService ...READ MORE

May 5, 2022 in Others by Kichu
• 19,040 points
3,539 views
0 votes
0 answers

How do I rotate text in css?

How can I rotate text using CSS ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,750 points
1,175 views
0 votes
0 answers

How to show values from a MySQL database table inside a HTML table on a webpage?

How can I get all the field ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
999 views
0 votes
0 answers

Karma, Typescript definition file not loading

I am working on setting up development ...READ MORE

Jun 22, 2022 in TypeSript by Logan
• 2,140 points
1,519 views
0 votes
0 answers

what is the meaning of href in HTML?

Can someone let me know the meaning ...READ MORE

Jul 7, 2022 in HTML by Tejashwini
• 5,380 points
870 views
0 votes
1 answer

insert method for doubly linked list C++

I attempted to repair all of your methods, and I believe I succeeded; at least, the current test example prints the proper answer: #include <iostream> #include <vector> using namespace std; struct Node { ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
1,522 views
0 votes
0 answers

CCAvenue Payment Error code 10002 Merchant Authentication failed. Don't worry... It happens to the best of us

I used the code which is provided ...READ MORE

May 24, 2022 in Java by Kichu
• 19,040 points
2,784 views
0 votes
0 answers

Reverse a number without converting it to string in C++

I'm attempting to write a programme in C++ to reverse a number. It works well with numbers like 1234, but when I try to enter a number like 5430, it displays 345, and the same with numbers that begin with zero, such as 0234, which displays 432. Could someone please explain how to deal with zeros at the beginning and end of a sentence? I simply need to save the number without converting it to a string. #include<iostream> using namespace std; int main(){ ...READ MORE

Jun 30, 2022 in C++ by Nicholas
• 7,760 points
1,152 views