Trending questions in Edureka Community

0 votes
1 answer

Is 'If Else' statement indentation important or not in C++? [duplicate]

White space has no effect on the understanding of code in C and C++.  That is not to say that the programmer should be unconcerned about its misuse. The easiest method to demonstrate what the above code truly represents is to specify all of the inferred braces directly, as seen below.  The 'if then' or 'otherwise' clause only affects one line of code in the if statement with no brackets. This is one of the reasons why people strive to insist on 'proper coding standards' to guarantee that other people can clearly grasp the programmer's flow and meaning. while(c != cols) { ...READ MORE

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

What is the difference between rm() and rm(list=ls())?

The majority of items I've read. They ...READ MORE

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

How to base64 encode php in this format?

Can someone please guide me on how ...READ MORE

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

What is .indices meaning in kotlin?

I want to know actually how .indices ...READ MORE

Jun 22, 2022 in Kotlin by Harshitha
• 160 points
1,357 views
0 votes
0 answers

how to Convert HTML to Excel?

I need to convert the HTML template ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
833 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
1,471 views
0 votes
1 answer

The static keyword and its various uses in C++

Static variables exist during the "lifetime" of the translation unit in which they are declared, and: It cannot be accessible from any other translation unit if it is in a namespace scope (i.e. outside of functions and classes).  This is referred to as "internal linking" or "static storage lifetime."  (Except for constexpr, do not do this in headers; otherwise, you would wind up with a different variable in each translation unit, which is really confusing.) If it is a variable in a function, it, like any other local variable, cannot be accessed from outside the function.  (This is the mentioned local) Class members have no limited scope owing to static, but they may be referenced from both the class and an instance (like std::string::npos). locations as code: static std::string namespaceScope = "Hello"; void ...READ MORE

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

How to disable all <input > inside a form with jQuery?

To disable all form elements inside 'target', ...READ MORE

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

outputting ascii table in C++

This line doesn't do the right thing: ch ...READ MORE

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

Deep copy vs Shallow Copy

What's the distinction between deep and shallow ...READ MORE

Jun 29, 2022 in C++ by Nicholas
• 7,760 points
959 views
0 votes
0 answers

Combinators in CSS

everyone! I am quite new to HTML ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,750 points
650 views
0 votes
0 answers

Best way to include CSS? Why use @import?

I'm mostly curious about the benefits and ...READ MORE

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

StepAIC() stopping point

Square RSS Df Sum AIC 169 61.3 ...READ MORE

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

NodeJS, OpenCV and Streaming Images Using Net Socket

My ultimate goal is to have video ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
1,387 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,970 views
0 votes
0 answers

which language should run for aws

Hi I want to now in the real ...READ MORE

Jul 14, 2022 in Cloud Computing by anonymous

edited Mar 4 385 views
0 votes
1 answer

In C++ abs( *a - *b) does not return absolute value of negative number

On the first line, you reallocated *a, and it is now utilising that new value on the second line.  int origa = *a; *a = abs(origa + ...READ MORE

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

Read an Excel file directly from a R script

How do I open an Excel file ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
596 views
0 votes
0 answers

How can i send an image map area id to a php file?

This is my image map: <map name="frozen"> ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 86,360 points
1,617 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,608 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
2,519 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'value' of null

As you have not shared your HTML ...READ MORE

Feb 22, 2022 in Java by Aditya
• 7,680 points
6,474 views
+1 vote
1 answer

Is there any efficient way of dealing null values during concat functionality of pyspark.sql version 2.3.4?

When you concatenate any string with a ...READ MORE

Nov 6, 2019 in Apache Spark by Rishi
42,692 views
0 votes
1 answer

What does "#include <iostream>" do?

You must include it in order to read or write to the standard input/output streams. int main( int argc, char * argv[] ...READ MORE

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

CSS3 Rotate Animation

<img class="image" src="" alt="" width="120" height="120"> Cannot get ...READ MORE

Jun 22, 2022 in CSS by Edureka
• 13,750 points
1,030 views
0 votes
1 answer

Why we actually need runtime polymorphism?

One of the most significant elements of ...READ MORE

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

How to get all css properties and events of a html element with jquery or other libraries?

You can get the computed value of ...READ MORE

Jun 14, 2022 in JQuery by gaurav
• 23,580 points
1,656 views
0 votes
0 answers

Selection sort in C++ (modified) not working for all cases

I was attempting to tweak the selection sort code in C++ in order to test the results.  My updated code is as follows: #include<bits/stdc++.h> using namespace std; int main() { ...READ MORE

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

How does the CSS Block Formatting Context work?

How does the CSS Block Formatting Context ...READ MORE

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

What is DevOps tools?

A DevOps Tool is an application that ...READ MORE

Jan 4, 2023 in DevOps & Agile by Edureka
• 12,700 points

edited Mar 5 1,218 views
0 votes
0 answers

Is the std::set iteration order always ascending according to the C++ specification?

According to what I've read, std::set in ...READ MORE

Jun 29, 2022 in C++ by Nicholas
• 7,760 points
942 views
0 votes
0 answers

PHP generate file for download then redirect

I have a PHP app that creates ...READ MORE

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

HTML code for INR

There is HTML code for the pound ...READ MORE

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

SSH : Permission denied (publickey,gssapi-with-mic)

Just amend the /etc/ssh/sshd_config PasswordAuthentication yes,  then ...READ MORE

Jun 17, 2022 in Others by Kithuzzz
• 38,000 points

edited Mar 5 2,386 views
0 votes
1 answer

NodeJS / Express: what is "app.use"?

The app object is instantiated on creation ...READ MORE

Jun 17, 2022 in Node-js by Neha
• 9,020 points
1,488 views
0 votes
1 answer

jquery timepicker cdnjs.cloudflare does not working

jQuery Timepicker can parse the most used ...READ MORE

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

I am not able to Autoplay youTube video in android chrome

It will play if you set it to ...READ MORE

Jun 6, 2022 in Others by nisha
• 2,210 points
2,058 views
0 votes
1 answer

How to check a radio button with jQuery?

“jquery datepicker format” Code Answer's $('#timePicker'). datetimepicker({ // dateFormat: ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,580 points
1,816 views
0 votes
0 answers

PHP is not recognized as an internal or external command in command prompt

I am getting this error when I ...READ MORE

May 7, 2022 in PHP by narikkadan
• 86,360 points
3,217 views
0 votes
0 answers

What does # mean in HTML?

What does # mean in HTML and ...READ MORE

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

Typescript: how to define message type for broker consumer

Our main goal - is to make ...READ MORE

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

How do CSS triangles work?

There're plenty of different CSS shapes over ...READ MORE

Jul 4, 2022 in CSS by Edureka
• 13,750 points
789 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
32,977 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
1,308 views
0 votes
0 answers

Using Jquery Ajax to retrieve data from Mysql

list.php: A simple ajax code that I ...READ MORE

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

indexOf and lastIndexOf in PHP?

In Java, we can use indexOf and ...READ MORE

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

jQuery JSON Decode ( PHP to Javascript)

I'm trying to make an autocomplete script. ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 23,580 points
917 views
0 votes
2 answers

" Can't connect to any repository" While pushing to github.

Hey, @Boopathy, Go to Window -> Preferences -> Team ...READ MORE

Dec 24, 2020 in Selenium by Gitika
• 65,730 points
24,754 views
0 votes
1 answer

lower_bound == upper_bound

Lower bound: the initial greater-or-equal element. Upper bound: ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
1,629 views