Trending questions in Edureka Community

0 votes
1 answer

A simple jQuery form validation script

use jQuery validation plugin to validate forms' ...READ MORE

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

How to place images using jQuery masonry plugin to start

You were just missing a css class that adjusts ...READ MORE

Jun 22, 2022 in Web Development by rajatha
• 7,680 points
689 views
0 votes
0 answers

Extracting text based on a regex pattern with cheerio nodejs

I'm attempting to create a scraper in ...READ MORE

Jun 22, 2022 in Node-js by Vaani
• 7,070 points
720 views
0 votes
0 answers

Consumer is not consuming messages, but service is running, please help me on this

Consumer is suddenly stopped consuming messages but ...READ MORE

Jul 6, 2022 in Apache Kafka by KsP

edited Mar 4 133 views
0 votes
0 answers

Can you use "cin" with string?

To enter a string, I was instructed to use gets(str) rather than cin.  In the programme below, though, I can use cin perfectly well.  Could you please tell me if you can use cin?  Please accept my apologies for my poor English.  The application allows you to enter up to five names and then print them on the screen. The code is as follows: #include <iostream> #include <string.h> using namespace std; int main() { ...READ MORE

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

Wildcard module declaration not work in TypeScript 2, why?

I managed to resolve this by forcing ...READ MORE

Jun 16, 2022 in TypeSript by Nina
• 3,060 points
966 views
0 votes
1 answer

abstract class and virtual functions

Is this class considered abstract because it only contains one virtual function?  I could still build an Animal object and use getFoodCost(); No. In C++, a "Abstract Class" is often a class having a single pure virtual function: class Abstract { public: virtual ...READ MORE

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

understanding sapply function in r

Do you read 2? sapply. Either a ...READ MORE

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

Create Tron Wallet With Nodejs

I'm curious about Nodejs libraries. I'd like ...READ MORE

Jun 17, 2022 in Node-js by Vaani
• 7,070 points
946 views
0 votes
1 answer

Is there an easy way to convert jquery code to javascript?

To toggle a class to an html ...READ MORE

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

What in layman's terms is a Recursive Function using PHP

Can someone please explain the recursive function ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 63,600 points
509 views
0 votes
1 answer

When to use margin vs padding in CSS ?

MARGIN vs PADDING : Margin is used in an element to ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
523 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
711 views
0 votes
0 answers

No US HAWAII time zone in Momentjs or nodejs

How can I use Momentjs to adjust ...READ MORE

Jun 23, 2022 in Node-js by Vaani
• 7,070 points
673 views
0 votes
1 answer

How to send email in ASP.NET C#

You can try this using Hotmail like ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
1,091 views
0 votes
0 answers

Automatic conversion from int to string in PHP

In PHP the variable of type integer ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,600 points
1,105 views
0 votes
1 answer

Error:Laravel PackageManifest.php: Undefined index: name

Hello, Try this, it is worked for me, ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,840 points
25,118 views
0 votes
0 answers

pass character strings to ggplot2 within a function

In order to streamline my work process, ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
631 views
0 votes
1 answer

How can I set NODE_ENV=production on Windows?

Hello @kartik, It would be ideal if you ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,840 points
31,286 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
1,340 views
0 votes
0 answers

Hashing a string in php

This is the hashed output "bWNgAQW2FLc" I ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 63,600 points
519 views
0 votes
0 answers

Difference between call by value and call by reference in php and also $$ means?

What is the difference between call by ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 63,600 points
557 views
0 votes
1 answer

How to build a special polygon (a kite shape) with HTML & CSS only?

I made two divs, one for Arc ...READ MORE

May 28, 2022 in CSS by Edureka
• 12,690 points
1,769 views
0 votes
0 answers

How can I rbind multiple single-value rows to my data.frame?

0 What follows functions as expected: Data.frame(c(1, 2, 3)) ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
625 views
0 votes
1 answer

jQuery Get Selected Option From Dropdown

For dropdown options you probably want something ...READ MORE

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

How to distinguish between left and right mouse click with jQuery

Using the mousedown() method: The mousedown() method in ...READ MORE

Jun 14, 2022 in JQuery by gaurav
• 23,260 points
1,034 views
0 votes
1 answer

CSS custom cursor doesn't work in FF/Chrome

The issue is not with your CSS ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,690 points
943 views
0 votes
1 answer

How can I create a simple page vertical scroll bar without using jQuery?

Surprisingly, there is not a great, simple ...READ MORE

Jun 22, 2022 in Web Development by rajatha
• 7,680 points
659 views
0 votes
1 answer

How Can I use "Date" Datatype in sql server?

Your dates are interpreted as MM-DD-YYYY. This ...READ MORE

Jun 21, 2022 in Others by nisha
• 2,210 points
721 views
0 votes
0 answers

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

An easy illustration of standard deviation calculation: The ...READ MORE

Jun 27, 2022 in Data Analytics by avinash
• 1,840 points
487 views
0 votes
1 answer

browser.msie error after update to jQuery 1.9.1

// inserted this code to patch deprecated ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,260 points

edited Mar 5 1,197 views
0 votes
1 answer

How to create enum type in TypeScript?

TypeScript 0.9+ has a specification for enums: enum ...READ MORE

Jun 8, 2022 in TypeSript by Nina
• 3,060 points
1,271 views
0 votes
1 answer

How to use Jsonwebtoken NPM package to verify JWT token issued by Azure AD?

Okay so I have found out the ...READ MORE

Mar 29, 2022 in Azure by Edureka
• 12,690 points
4,447 views
0 votes
1 answer

How to get Australia/Sydney timezone offset in javascript/nodejs?

I haven't done any study to find ...READ MORE

Jun 14, 2022 in Node-js by Neha
• 9,020 points
991 views
0 votes
0 answers

Accessibility implementation for Google Maps Marker in Android Kotlin

have to announce some customised content for ...READ MORE

Jun 22, 2022 in Kotlin by Harshitha
• 160 points
685 views
0 votes
1 answer

What is compile-time polymorphism and why does it only apply to functions?

"Compile time polymorphism" used to signify function overloading.  It only applies to functions because that's all you can overload. Templates in modern C++ modify this.  One example has previously been provided by Neil Butterworth.  Another technique is template specialisation.  As an example: #include <iostream> #include <string> template <class T> struct my_template { ...READ MORE

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

How do I add options to a DropDownList using jQuery?

Without using any extra plugins, var myOptions = ...READ MORE

Jun 21, 2022 in JQuery by rajatha
• 7,680 points
679 views
0 votes
0 answers

How to write into a file in PHP?

I have this script on one free ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
664 views
0 votes
1 answer

Mixing JavaScript and TypeScript in Node.js

Combine the following TypeScript compiler options --allowJs Explicitly supports ...READ MORE

Jun 15, 2022 in TypeSript by Nina
• 3,060 points
961 views
0 votes
0 answers

Encrypt and Decrypt md5

I am using code $enrypt=md5($pass) and inserting ...READ MORE

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

Windows system, after heroku login from git bash, there is no command line show

You can login via Windows command prompt ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,752 views
0 votes
1 answer

What are some lightweight editors for C#

Use this link http://linqpad.net/ For me, this is better ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
1,066 views
0 votes
1 answer

How to find the extension of a file in C#

Go to here https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension?redirectedfrom=MSDN&view=net-6.0#System_IO_Path_GetExtension_System_String_ string myFilePath = @"C:\MyFile.txt"; string ext ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
895 views
0 votes
1 answer

Problem with sample function in R

The first time works, but after that, ...READ MORE

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

Android facebook login not working with installed Facebook app

Session.openActiveSession(this, true, new Session.StatusCallback() { ...READ MORE

Jun 22, 2022 in Others by nisha
• 2,210 points
680 views
0 votes
0 answers

MySQL mysql_num_rows();

The variable: "$num_rows" is not even being ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 63,600 points
583 views
0 votes
0 answers

Why 'nrow()' function doesn't seem to work within 'summarise()' function?

See the code below: library(dslabs) \sdata(gapminder) gapminder percent > ...READ MORE

Jun 27, 2022 in Data Analytics by avinash
• 1,840 points
455 views
0 votes
2 answers

How to detect a route change in Angular?

Hii Kartik For Angular 7 someone should write like: this.router.events.subscribe((event: Event) ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
29,604 views
0 votes
0 answers

iloc giving 'IndexError: single positional indexer is out-of-bounds'

I was trying to encode some information ...READ MORE

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

can the font type of an Edittext,Radio Button and CheckBox be changed in Android

.I can able to change the font ...READ MORE

Jun 22, 2022 in Others by nisha
• 2,210 points
677 views