Trending questions in Edureka Community

0 votes
0 answers

When to use index.php instead of index.html?

When do I need to use an ...READ MORE

Jul 5, 2022 in HTML by Tejashwini
• 3,820 points
829 views
0 votes
0 answers

Inputting a default image in case the src attribute of an html <img> is not valid?

Is there any way to render a ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
685 views
0 votes
0 answers

React.js inline style best practices

I am aware that React classes allow ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,620 points
562 views
0 votes
0 answers

Encode LINEAR16 audio to Twilio media audio/x-mulaw | NodeJS

I have been trying to stream mulaw ...READ MORE

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

How to use setprecision in C++

I'm new to C++ and all I want to do is print my point number up to two digits.  For example, if the number is 3.444, the output should be 3.44, and if the number is 99999.4234, the output should be 99999.42.  How am I going to do that?  The value changes over time.  This is my code. #include <iomanip.h> #include <iomanip> int main() { ...READ MORE

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

Program to calculate square root c++

Making a C++ application to determine a number's square root.  The built-in arithmetic operator "sqrt" is not used in this application.  There are two variables: one for the user-inputted integer and the other for the number's square root.  This software does not function very well, and I am certain that there is a more effective method to accomplish it: Here is my full code: #include <iostream> using namespace ...READ MORE

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

Check if a string is palindrome

I need to write a software that ...READ MORE

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

Looping Animation of text color change using CSS3

I have text that I want to ...READ MORE

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

Salesforce Formula Text Value Based on Custom Field Picklist Value

You should update the fields using the ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,820 points
6,167 views
0 votes
0 answers

How to traverse stack in C++?

Is traversing std::stack possible in C++? It is not possible to traverse using the following method.  Because there is no member end in std::stack. std::stack<int> foo; // .. for (__typeof(foo.begin()) it = foo.begin(); ...READ MORE

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

Documenting Node.js projects

JSDoc is a JavaDoc port. As a ...READ MORE

Jun 16, 2022 in Node-js by Neha
• 9,020 points
1,601 views
0 votes
0 answers

Why aren't cmath's pow and sqrt templates?

I'm curious as to why std::sqrt and ...READ MORE

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
457 views
0 votes
1 answer

jQuery dialog popup

This HTML is fine: <a href="#" id="contactUs">Contact Us</a> ...READ MORE

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

C++ string input

To read from cin, use a std::string.  Then you don't have to guess how big your buffer should be. std::string input; cin >> input; cout << intput; If you ...READ MORE

Jul 11, 2022 in C++ by Damon
• 4,960 points
574 views
0 votes
1 answer

How to trigger a click on a link using jQuery

Use the jQuery click() Method You can use ...READ MORE

Jun 10, 2022 in JQuery by rajatha
• 7,680 points
1,827 views
0 votes
0 answers

passing function argument to dplyr select

I can do this to pick out ...READ MORE

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

parent-child and child-parent relationships in one query SOQL

Yes, it is possible to do so. In ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,820 points
6,140 views
0 votes
0 answers

What are the main differences between PHPExcel and PhpSpreadsheet?

In project of PHPOffice there are two projects associated ...READ MORE

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

Is there an easy way to make a min heap in C++?

Use make heap() and its buddies from algorithm>, or priority queue from queue>.  Make heap and friends are used by priority queue. #include <queue> // functional,iostream,ctime,cstdlib using namespace std; int main(int ...READ MORE

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

Parsing HTML using Python

I'm seeking a Python HTML Parser package ...READ MORE

Jul 12, 2022 in HTML by Ashwini
• 5,430 points
479 views
0 votes
1 answer

How to make android phone flashlight blink?

This might be too fast to blink:- String[] ...READ MORE

Jun 6, 2022 in Others by nisha
• 2,210 points
2,080 views
0 votes
0 answers

What is a type in Typescript for the Component class in Angular 2+?

I have a small problem, but big ...READ MORE

Jul 5, 2022 in TypeSript by Logan
• 2,140 points
773 views
0 votes
0 answers

Generate temporary email addresses and read emails - NodeJS

I want to develop a NodeJS application ...READ MORE

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

What is the difference between std::__gcd and std::gcd?

I done some research about this. The ...READ MORE

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

what is diffrence between NROW and nrow in r?

5 In R, you may always check ...READ MORE

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

How to sum all column values in multi-dimensional array?

How can I add all the columnar ...READ MORE

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

Which design pattern to use for pre-process process and post-process task

You have pre-defined and precise steps to ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
1,870 views
0 votes
0 answers

Cannot access to localhost/xampp/index.php

When I type localhost in my browser ...READ MORE

May 30, 2022 in PHP by Kichu
• 19,040 points
2,333 views
0 votes
1 answer

Check if element is in the list (contains)

The simplest and quickest method. You could also ...READ MORE

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

Know which exchange or wallet is behind a BTC address?

To answer your question, due to each ...READ MORE

Feb 28, 2022 in Blockchain by Soham
• 9,710 points
6,204 views
0 votes
1 answer

Nodejs: question of type input with npm inquirer not working

The right code should be: const outPath = ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
1,922 views
0 votes
0 answers

How to pass reference-to-function into another function

Using function pointers as arguments for other ...READ MORE

Jul 11, 2022 in C++ by Nicholas
• 7,760 points
487 views
0 votes
1 answer

Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

Please be aware that AAPT1might be removed in ...READ MORE

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

main tag in html / CSS

I do find it difficult to grasp ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
621 views
0 votes
0 answers

What are the differences between a pointer variable and a reference variable?

What distinguishes a reference variable from a ...READ MORE

Jul 11, 2022 in C++ by Nicholas
• 7,760 points
476 views
0 votes
1 answer

Why vh works and % doesn't? (height css)

The height of an element, by default, ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,690 points
1,804 views
0 votes
0 answers

When and why do I need to use cin.ignore() in C++?

In C++, I developed a simple application that requested the user to enter a number and then a string.  Surprisingly, when I ran the application, it never paused to ask for the string.  It simply ignored it.  After conducting some research on StackOverflow, I discovered that I needed to include the following line: cin.ignore(256, '\n'); before the line with the string input  That addressed the problem and allowed the software to run.  My issue is why C++ need the cin.ignore() line, and how can I forecast when I will need to use it. Here's the software I created: #include <iostream> #include <string> using namespace std; int main() { ...READ MORE

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

throwing a run time error

I just started Programming: Principles and Practice Using C++ because I'm new to programming.  Errors and how to handle them are covered in one of the chapters. What I'm attempting to implement is this little line of code.  The programme will end with a system error message and the text we gave as a parameter, according to the book's description of error(). #include <iostream> #include <string> using namespace std; int area (int ...READ MORE

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

React: Expected an assignment or function call and instead saw an expression

I want to fix lint error at ...READ MORE

May 23, 2022 in Others by Kichu
• 19,040 points
2,618 views
0 votes
1 answer

Android open camera from button

you can use the below syntax as ...READ MORE

Jun 14, 2022 in Others by polo
• 1,480 points
1,601 views
0 votes
1 answer

How to make Diamond shape xml background for android view

you can do this: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> ...READ MORE

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

No test result files matching **/test-*.xml were found - Azure DevOps

Although the PublishTestResults task mentions JUnit, you ...READ MORE

Mar 30, 2022 in Azure by Edureka
• 13,620 points
4,911 views
0 votes
0 answers

Purpose of Unions in C and C++

I had previously utilised unions with ease; however, I was startled when I read this post and discovered that this code union ARGB { uint32_t colour; ...READ MORE

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

How to replace innerHTML of a div using jQuery?

How could I replace the below code ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 3,820 points
766 views
0 votes
1 answer

How to overlay image with color in CSS?

Use the rgba() Function to Overlay Background ...READ MORE

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

Adding a page loader using jQuery

“html loader using jquery” Code Answer $('body'). append('<div ...READ MORE

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

Internal CSS using jquery

The JQuery library supports almost all the ...READ MORE

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

How to create nested table in html ?

I need to make an HTML table ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
589 views
0 votes
1 answer

Android Studio: “Execution failed for task ':app:mergeDebugResources'” if project is created on drive C:

To answer your question, this can only ...READ MORE

Feb 18, 2022 in Others by Aditya
• 7,680 points
6,597 views