Trending questions in Edureka Community

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
1,100 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,601 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,688 views
0 votes
1 answer

rnorm function in R - Usage

y = rnorm(12, rep(c(1,2,1), each=4, 0.2)) I can ...READ MORE

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

Responsive two column css grid

 create 2 columns using CSS grid as: .Background ...READ MORE

Jul 22, 2022 in CSS by Edureka
• 13,730 points

edited Mar 4, 2025 494 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,802 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,434 views
0 votes
1 answer

Trim to remove white space

The trim() method removes whitespace from both ...READ MORE

Jun 15, 2022 in JQuery by rajatha
• 7,680 points
2,048 views
0 votes
0 answers

How to add man and zip to "git bash" installation on Windows

I am using git bash on Windows - that ...READ MORE

Jun 7, 2022 in Linux Administration by Rahul
• 3,380 points
2,434 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,667 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,999 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,204 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
• 25,260 points
2,101 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,515 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
2,120 views
0 votes
0 answers

salut tout le monde j'ai en probleme de certificat en java si j'execute le projet il me dis prbleme de ssl

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to ...READ MORE

Jul 19, 2022 in Java by camara

edited Mar 4, 2025 616 views
0 votes
1 answer

What is the best way to use a HashMap in C++?

The ordered and unordered map containers (std::map and std::unordered map) are included in the standard library.  The items in an ordered map are sorted by key, and insert and access are in O (log n).  For ordered maps, the standard library often use red black trees.  However, this is only an implementation detail.  Insert and access are in O in an unordered map (1).  It is simply another term for a hashtable. An illustration using (ordered) std::map: #include <map> #include <iostream> #include <cassert> int main(int argc, char ...READ MORE

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

jQuery document ready function

$( document ).ready() A page can't be manipulated ...READ MORE

Jun 2, 2022 in JQuery by Edureka
• 13,690 points
2,592 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
1,080 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,730 points
1,204 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,411 views
0 votes
0 answers

Read a plain text file with php

How do I read all the information ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 86,360 points
1,551 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,730 points
1,421 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
2,054 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,730 points
938 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
1,991 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
1,197 views
0 votes
0 answers

How can I get the maximum or minimum value in a vector?

In C++, how can I find the greatest or minimum value in a vector? Is it correct to assume that it would be similar with an array? Do I require an iterator?  I tried max element, but I kept receiving errors. vector<int>::const_iterator it; it = max_element(cloud.begin(), cloud.end()); error: request for ...READ MORE

Jun 27, 2022 in C++ by Nicholas
• 7,760 points
1,538 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,195 views
0 votes
1 answer

Negative coefficients in regression for positive coefficient of correlation

The situation you describe is not out ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
5,598 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,794 views
0 votes
1 answer

jQuery timepicker time format not working

Steps to change Time Format of TimePicker ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,965 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
2,033 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,227 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,637 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,881 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
• 25,260 points
2,244 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
1,094 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,730 points
1,041 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
• 25,260 points
1,380 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,176 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,730 points
2,796 views
0 votes
1 answer

Error "Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)"

For pip, use the binary-only option.  ...READ MORE

Jun 14, 2022 in C++ by Damon
• 4,960 points
2,038 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,541 views
0 votes
1 answer

Initializing a two dimensional std::vector

Assume you wish to start a 2D vector, m*n, with a value of 0. We could do it. #include<iostream> int main(){ int ...READ MORE

Jun 27, 2022 in C++ by Damon
• 4,960 points
1,474 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
1,085 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,730 points

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

How do I assign jQuery slider handle values with their left or right edges, instead of their centers?

This is far from perfect yet it ...READ MORE

Jun 2, 2022 in JQuery by Edureka
• 13,690 points
2,547 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
1,348 views