Trending questions in Edureka Community

0 votes
1 answer
0 votes
1 answer

jQuery/JavaScript to replace broken images

To replace broken images in JavaScript, the ...READ MORE

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

C++ string in classes

The std namespace contains the string class. You need change the class to something like this: class Language { public: ...READ MORE

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

PHP Fatal error: Using $this when not in object context

I am working on a new WebApp without ...READ MORE

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

Flask ImportError: No Module Named Flask

I followed this flask tutorial: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world. I am getting ...READ MORE

May 23, 2022 in Python by Kichu
• 19,040 points
3,345 views
0 votes
0 answers

How Stuff and 'For Xml Path' work in SQL Server?

Table is: Id Firstname 4 abc 4 def 4 ghi 4 jkl 4 mno Required output: Id Name 4 abc,def,ghi,jkl,mno Query: SELECT ID, ...READ MORE

Feb 23, 2022 in Database by Neha
• 9,020 points
7,245 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
3,228 views
0 votes
0 answers

How do you convert Html to plain text?

I've got a table with HTML snippets ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 639 views
0 votes
0 answers

window.onload vs $(document).ready()

What are the differences between JavaScript's window.onload&nb ...READ MORE

Jul 1, 2022 in Web Development by rajatha
• 7,680 points
1,141 views
0 votes
1 answer

What does the @ (at sign) sign do in TypeScript?

The big news this week is the ...READ MORE

Jun 10, 2022 in TypeSript by Nina
• 3,060 points
2,606 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,733 views
0 votes
0 answers

Open Whatsapp Windows app directly from python program using url

According to this FAQ page of Whatsapp on How to ...READ MORE

Apr 18, 2022 in Python by Edureka
• 13,790 points
2,634 views
0 votes
0 answers

Object of class mysqli_result could not be converted to string

Code: $result = mysqli_query($con, "SELECT classtype FROM learn_users ...READ MORE

May 15, 2022 in PHP by Kichu
• 19,040 points
2,775 views
0 votes
0 answers

How can I increase a scrollbar's width using CSS?

Is it feasible to expand the scrollbar's ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 502 views
0 votes
1 answer

How to check the installed version of Terraform?

Hi@akhtar, To check the version, launch Windows PowerShell ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
29,306 views
0 votes
0 answers

How to retrieve images from MySQL database and display in an html tag

I created a table using the  BLOB column ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 86,360 points
2,247 views
0 votes
0 answers

How can I avoid the transformation into an atomic vector in a matrix (r programming)

I'm scrambling to come up with a ...READ MORE

Jul 5, 2022 in Data Analytics by avinash
• 1,840 points
1,542 views
0 votes
0 answers

I cant hide divs which has spesific class with Jquery

I changed my code to below code ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 25,250 points
893 views
0 votes
0 answers

How to run html file on localhost?

I use localhost to run a file ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 629 views
0 votes
1 answer

Set line spacing

Try the line-height property. For example, 12px font-size and 4px ...READ MORE

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

CSS styling links: why a:link, a:visited vs just a

i wonder why i can't use, or ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 664 views
0 votes
0 answers

What are good uses of the css `content` property?

Because CSS is for display and not ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
967 views
0 votes
0 answers

Differences between C++ string == and compare()?

I just read some recommendations on using std::string ...READ MORE

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

jQuery UI DatePicker - Change Date Format

I am using the UI DatePicker from ...READ MORE

Jun 23, 2022 in Web Development by gaurav
• 25,250 points
2,006 views
0 votes
0 answers

How can two strings be concatenated?

cbind = tmp ("GAD", "AB") tmp # [,1] ...READ MORE

Jul 5, 2022 in Data Analytics by avinash
• 1,840 points
1,529 views
0 votes
1 answer

jQuery get value of select onChange

To get the value and text of ...READ MORE

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

Extracting the last n characters from a string in R

See the code below: library(dslabs) data(gapminder) differenceminder percent > percent filter(year% ...READ MORE

Jul 5, 2022 in Data Analytics by avinash
• 1,840 points
1,528 views
0 votes
0 answers

take string input using char* in C and C++

I'm having trouble accepting a string (actually a character array) as input.  Consider the following declaration: char* s; I have to input a string ...READ MORE

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

HTML colspan in CSS

I'm trying to construct a layout similar ...READ MORE

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

Relative imports - ModuleNotFoundError: No module named x

I have these  two files: test.py config.py These are the following ...READ MORE

May 23, 2022 in Python by Kichu
• 19,040 points
3,267 views
0 votes
0 answers

Purpose of Unions in C and C++

I had previously used unions with ease, but when I read this post and learned that this code union ARGB { uint32_t colour; ...READ MORE

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
1,106 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

edited Mar 4, 2025 521 views
0 votes
1 answer

Downloading jQuery UI CSS from Google's CDN

If you mean the jQuery UI CSS, ...READ MORE

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

jQuery onload function

I m using the following script to ...READ MORE

Jul 1, 2022 in Web Development by rajatha
• 7,680 points
1,107 views
0 votes
1 answer

Show Page Loading Spinner on Ajax Call in jQuery Mobile

 Use the ajaxStart() and ajaxStop() Method While working ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 25,250 points
2,570 views
0 votes
0 answers

Transition color fade on hover?

I want to have this h3 fade ...READ MORE

Jul 28, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 513 views
0 votes
0 answers

Why does as.character() return an integer on a list of dates?

I was shocked to see R act ...READ MORE

Jul 18, 2022 in Data Analytics by avinash
• 1,840 points

edited Mar 4, 2025 944 views
0 votes
0 answers

Choose where to render application on root HTML with Single-SPA

To create a microfrontend architecture for a ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 597 views
0 votes
1 answer

How to get sender bitcoin address from transaction ID?

 You can use any scripting language with ...READ MORE

Apr 12, 2022 in Blockchain by Rahul
• 9,690 points
5,221 views
0 votes
0 answers

How to create a dynamic array of integers

How can I use the new keyword ...READ MORE

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

How to use HTML script tags to code while they have a source link?

I have seen that  <script src="..."></script> does not allow ...READ MORE

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

Convert XML String to Object

I'm getting XML strings over a socket ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
2,528 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
4,318 views
0 votes
1 answer

How does virtual inheritance solve the "diamond" (multiple inheritance) ambiguity?

You desire: (Achievable with virtual inheritance) ...READ MORE

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

Error:“Cannot Connect to Server - A network-related or instance-specific error”?

Hello, The "sql server error 40" is appears mostly ...READ MORE

Aug 18, 2020 in PHP by Fantazma
• 140 points
31,641 views
0 votes
0 answers

How can I run a Python script in HTML?

Currently, I have some Python files that ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 584 views
0 votes
0 answers

How to access function value in another function in PHP Classes

How can I return a variable value ...READ MORE

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

How to change CSS property using JavaScript

Use document.getElementsByClassName('className').style = your_style. var d = document.getElementsByClassName("left1"); d.className = ...READ MORE

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

What's the Use of '\r' escape sequence?

I have C code like this: #include<stdio.h> int main() { ...READ MORE

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
1,077 views