Trending questions in Edureka Community

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,335 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,474 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
1,028 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
1,213 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
1,012 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,740 points
769 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,501 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,225 views
0 votes
1 answer

What is CI CD in DevOps?

The name "CICD" comes from the abbreviations ...READ MORE

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

edited Mar 5, 2025 1,373 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
935 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
4,737 views
0 votes
0 answers

Use of interfaces, practical and real world example

I've been attempting to figure out what ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
2,048 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,459 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,581 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,740 points

edited Mar 4, 2025 366 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
885 views
0 votes
1 answer

What does the explicit keyword mean?

To resolve the parameters to a function, the compiler is permitted to do one implicit conversion.  This implies that the compiler can utilise constructors with a single argument to convert from one type to another to find the correct type for a parameter. Here's an example class with a constructor ...READ MORE

Jun 27, 2022 in C++ by Damon
• 4,960 points
1,315 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,740 points
1,228 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
1,052 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
1,014 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,213 views
0 votes
1 answer

Get checkbox value in jQuery

if you have set a class or id for it, you ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
1,486 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,346 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,419 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
917 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,905 views
0 votes
0 answers

Responsive css background images

I have a website (g-floors. EU) and ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,740 points
858 views
0 votes
1 answer

CSS horizontal scroll

You can use display:inline-block with white-space:no ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,730 points
1,362 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
2,052 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,673 views
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,291 views
0 votes
0 answers

Plot 3D data in R

I've got a 3D dataset. data.frame = data ( x ...READ MORE

Jul 9, 2022 in DevOps & Agile by avinash
• 1,840 points
808 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
2,001 views
0 votes
0 answers

Difference between docker rm IMAGE vs docker rmi IMAGE

docker image rm "Remove one or more ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
4,123 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,872 views
0 votes
1 answer

Error using sklearn and linear regression: shapes (1,16) and (1,1) not aligned: 16 (dim 1) != 1 (dim 0)

Based on documents LinearRegression. An x array ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
4,576 views
0 votes
1 answer

How to keep quotes in Bash arguments?

utilizing "$@" will substitute the contentions as ...READ MORE

Jun 13, 2022 in Linux Administration by Korak
• 5,820 points
1,890 views
0 votes
0 answers

JQuery set active link

i have a horizontal CSS Menu with ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 23,580 points

edited Mar 4, 2025 337 views
0 votes
1 answer

ls: cannot open directory '.': Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

Aug 13, 2020 in Linux Administration by MD
• 95,460 points
30,775 views
0 votes
0 answers

Get the value in an input text box

What are the ways to get and ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,580 points
1,181 views
0 votes
0 answers

Number days between two jquery datepicker fields with customized settings

My jquery datepicker fields set a min ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 23,580 points

edited Mar 4, 2025 368 views
0 votes
0 answers

Can't create handler inside thread that has not called Looper.prepare()

The code: Toast toast = Toast.makeText(mContext, "Something", Toast.LENGTH_SHORT); This ...READ MORE

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

CountifS + multiple criteria + distinct count

Please enter this formula into a blank ...READ MORE

Apr 4, 2022 in Database by Edureka
• 13,690 points
4,910 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,277 views
0 votes
0 answers

PHP | define() vs. const

In PHP, there are two ways to ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
1,822 views
0 votes
0 answers

resume build ur is not working : 404 Page Not Found. Please check the URL!

i am not able to use the ...READ MORE

Jul 20, 2022 in Others by ABRAHAM

edited Mar 4, 2025 313 views
0 votes
0 answers

actually i am finding the bugs in the code and unable to run the code in python

none = none a = none + 5 ...READ MORE

Jul 19, 2022 in Python by anonymous

edited Mar 4, 2025 353 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,730 points

edited Mar 5, 2025 1,421 views
0 votes
0 answers

How do I create an HTML button that acts like a link?

How can I make a button in ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
837 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,569 views