Trending questions in Edureka Community

0 votes
0 answers

How to solve this warning: failed to open stream: No such file or directory

Recently, I had a problem as: Warning:include(C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php): failed ...READ MORE

Apr 20, 2022 in PMP by Edureka
• 13,690 points
5,852 views
0 votes
1 answer

Cast a JSON Object to a TypeScript class

I had the same issue and this ...READ MORE

May 31, 2022 in TypeSript by Nina
• 3,060 points
4,096 views
0 votes
0 answers

How to calculate the mean/sd of a vector without using the in-built R function?

I'm just having trouble understanding what must ...READ MORE

Jul 25, 2022 in Data Analytics by avinash
• 1,840 points

edited Mar 4, 2025 1,743 views
0 votes
0 answers

When should you use a class vs a struct in C++?

When using C++, when is it preferable ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 481 views
0 votes
0 answers

How do you declare an interface in C++?

What is the best way to build ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 479 views
0 votes
0 answers

jQuery ui dialog add a help icon in the titlebar

I'd like to add a help icon ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 25,260 points
1,603 views
0 votes
1 answer

JavaScript/jQuery - "$ is not defined- $function()" error

You may experience the “jQuery is not ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
3,801 views
0 votes
0 answers

Confused with object arrays in C++

I have some Java knowledge and now ...READ MORE

Aug 11, 2022 in C++ by krishna
• 2,820 points
993 views
0 votes
0 answers

Upload file using NodeJS and BusBoy

I'm using NodeJS to upload a file. ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
3,190 views
0 votes
0 answers

Accumulate function in Vector (STL) giving negative sum

I'm receiving a negative total when I run the code below (-294967296). #include<iostream> #include<vector> #include<numeric> using namespace std; int main() { ...READ MORE

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

How do I reverse a C++ vector?

The algorithm header has a method std::reverse for this purpose. #include <vector> #include <algorithm> int main() { std::vector<int> ...READ MORE

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

Expose jQuery to real Window object with Webpack

I want to expose the jQuery object ...READ MORE

Aug 2, 2022 in Web Development by gaurav
• 25,260 points
1,379 views
0 votes
1 answer

How to use textLocal API with NodeJS and sequelize to send OTP on mobile

Use request npm to create a http ...READ MORE

May 27, 2022 in Node-js by Neha
• 9,020 points
4,219 views
0 votes
0 answers

How to parse a CSV file using PHP

I have a .csv file with the following content: ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
1,605 views
0 votes
0 answers

How come an array's address is equal to its value in C?

The pointer values and pointer addresses in ...READ MORE

Aug 8, 2022 in C++ by krishna
• 2,820 points
1,109 views
0 votes
0 answers

How to get mobile number from facebook login using jquery?

I am trying to work facebook login ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 25,260 points
1,967 views
0 votes
1 answer

How to create material design input form using css and bootstrap?

Try with this code. HTML: <div class="main_div"> ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,730 points
3,399 views
0 votes
0 answers

Google Maps API throws "Uncaught ReferenceError: google is not defined" only when using AJAX

My page uses the  Google Maps API ...READ MORE

May 17, 2022 in Others by Kichu
• 19,040 points
4,707 views
0 votes
1 answer

Is there a plugin or example of a jquery slider working with non-equably divisible values?

You could do it using jquery's slider ...READ MORE

Aug 2, 2022 in Web Development by rajatha
• 7,680 points
1,324 views
0 votes
0 answers

Is it possible to create static classes in PHP (like in C#)?

I'm trying to make a static class ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
1,235 views
0 votes
1 answer

Is there an "exists" function for jQuery?

Yes! The $. fn. exists example is replacing ...READ MORE

Aug 4, 2022 in Web Development by rajatha
• 7,680 points
1,260 views
0 votes
0 answers

Google Unicode Fonts not rendered properly in mpdf for PHP

I want to use Baloo2 Google Font ...READ MORE

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

Salesforce Apex SingleEmailMessage with Template to User not contact

// Pick a dummy Contact Contact c ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 27, 2023 by Khan Sarfaraz 7,419 views
0 votes
0 answers

PHP: implode() Invalid arguments passed

I am using Codeigniter and its validation ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
3,428 views
0 votes
0 answers

Parse error: Syntax error, unexpected end of file in my PHP code

I am getting this error: Parse error: syntax ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
3,573 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
2,345 views
0 votes
1 answer

Linking to a specific part of a web page

Make a "jump link" with the following ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,223 views
0 votes
1 answer

How do I access FooBox lightbox jQuery Events API?

Their docs site doesn't seem to be ...READ MORE

Aug 1, 2022 in Web Development by rajatha
• 7,680 points
1,347 views
0 votes
1 answer

Which is faster: Using bootstrap CDN or downloaded

CDNs deliver faster loading speeds for readers. Files ...READ MORE

Jun 30, 2022 in Web Development by rajatha
• 7,680 points
2,757 views
0 votes
0 answers

Check if user is admin PHP

I have a users table with this ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
3,419 views
0 votes
1 answer

trying to align html button at the center of the my page

For example: HTML <div> <button>Submit</button> </div> CSS button { margin:auto; ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,259 views
0 votes
0 answers

nodejs - error self signed certificate in certificate chain

I am facing a problem with client ...READ MORE

Aug 19, 2022 in Node-js by Neha
• 9,020 points

edited Mar 4, 2025 602 views
0 votes
1 answer

Sorting vector elements in descending order

Because of the goto reset instruction, I believe your sort function has entered an infinite loop.  If you wish to construct a basic bubble-sort algorithm, follow these steps: #include <iostream> #include <utility> #include <vector> void bubble_sort(std::vector<int>& v) { ...READ MORE

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

extract audio in MP3 format from video in android

Use FFMPEG for android U need to implement a ...READ MORE

Jun 16, 2022 in Others by polo
• 1,480 points
3,313 views
0 votes
0 answers

Unable to preventDefault inside passive event listener

I am trying on some built-in events: ...READ MORE

May 12, 2022 in Node-js by Kichu
• 19,040 points
4,811 views
0 votes
0 answers

Best XML Parser for PHP

I've used the XML Parser before, and ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
1,461 views
0 votes
0 answers

Jquery Setting Value of Input Field

I have an input field and i ...READ MORE

Jul 1, 2022 in Web Development by rajatha
• 7,680 points
2,127 views
0 votes
0 answers

Finding the position of bottom of a div with jquery

I have a div and want to ...READ MORE

Jul 27, 2022 in Web Development by gaurav
• 25,260 points
1,509 views
0 votes
0 answers

Why does Java's Arrays.sort method use two different sorting algorithms for different types?

The array.sort method in Java 6 makes ...READ MORE

Aug 3, 2022 in Java by krishna
• 2,820 points
1,278 views
0 votes
0 answers

how to use for loop inside HTML template?

I utilize a marionette view with an ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
2,391 views
0 votes
0 answers

How to send a GET request from PHP?

I intend to use PHP to fulfil ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 38,000 points
1,112 views
0 votes
0 answers

Editor does not contain a main type in Eclipse

I have 64-bit ubuntu where I downloaded ...READ MORE

May 19, 2022 in Java by Kichu
• 19,040 points
4,509 views
0 votes
4 answers

What are some best examples of AI applications in our daily life?

Hi Michael, You don’t need to be a ...READ MORE

Apr 9, 2020 in Machine Learning by Albert
• 160 points
4,576 views
0 votes
1 answer

"We do not use C++ exceptions" — What's the alternative? Let it crash?

If you don't utilise exceptions, by definition, ...READ MORE

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

Examples of good gotos in C or C++

Here's one method I've heard of folks use. But I've never seen it in the wild.  And that only pertains to C since RAII allows you to accomplish this more idiomatically in C++. void foo() { if (!doA()) ...READ MORE

Aug 2, 2022 in C++ by Damon
• 4,960 points
1,266 views
0 votes
0 answers

jQuery tabs callback after "show" animation

I have a link to a jQuery ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 25,260 points
1,486 views
0 votes
0 answers

Jest + Typescript cannot mock AWS transcribe function

I've been trying to figure out how ...READ MORE

Jul 14, 2022 in TypeSript by Logan
• 2,140 points
2,129 views
0 votes
0 answers

Mobile number validation pattern in PHP

I am unable to accurately write the ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
1,603 views
0 votes
0 answers

Python numpy array of numpy arrays

I have a requirement. I need to ...READ MORE

Aug 1, 2022 in Python by krishna
• 2,820 points
1,341 views
0 votes
0 answers

Mail is not sending in php

My code to send mail from PHP: ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
1,535 views