C++

C++

I was writing a program for class using gedit as the text editor, coding in C++, and compiling with g++, but I am getting this error when I run it:

Segmentation fault (core dumped)

  • 1886 views
  • 1 answers
  • 0 votes

Can you show me how to make use of array and the stored values with it in Visual C++? Can we set our array to 5 storage only? What are the objects or data types that I can use with this? How can I display the values of this array? How to additional messages in this form? Can we change the values of array? The values of array where is it stored? What are the things that I need to remember in creating this program?

  • 526 views
  • 0 answers
  • 0 votes

Hi! In object oriented programming in c++, how do we declare a class? Please include the following things in the declaration of class and also mention their definitions at the end. The access specifiers, the constructor, the destructor. Why do we use a class? What are the advantages of classes in programming?

  • 746 views
  • 1 answers
  • 0 votes

Hello! I am student of Computer Science and I am trying to write a code for a c++ calendar. I have to submit this assignment on coming Monday so this is very important for me. I am trying to find a formula to write the code for the calendar which can calculate the name of the day on a specific date, help me out with the leap year and display the number of days in a month properly. Looking forward for an accurate formula. Thanks!

  • 785 views
  • 1 answers
  • 0 votes

I have a C++ decoder that I have recently acquired, Im have not used it much but I have been trying to compile a programs and it keeps on giving me a syntax error. Could this be the version of the compiler because the original programmer says he had no issues with the commands but my machine seems not to work with this.

  • 716 views
  • 1 answers
  • 0 votes

I would just like to know what most of the people think about C++. Since there are a lot of other programming languages these days, people have started using those languages due to different reasons. But why is it that most of the universities still teach C++ to its freshmen students in a computer science degree? And although other programming languages may be easier to use, still a lot of work is still being done in C++. What do you think?

  • 721 views
  • 2 answers
  • 0 votes

Comparison between the following binary search trees:

Red Black Trees and Georgy Adelson-Velsky and Landis(AVL) Trees

1) Which tree is more self balancing?

2) Which tree has less time complexity in insertion of data?

3) Which tree has less time complexity in deletion of data?

4) Which tree has less time complexity to search data?

 

  • 785 views
  • 1 answers
  • 1 votes

Hello! I am a student of computer science. I have this question in my mind if we could actually make a queue from a stack and a stack from a queue. Since stack is Last in First Out(LIFO) and Queue is First in First Out(FIFO) so how could we make a queue by using stack which means that stack start behaving like a queue?Similarly how can we make a stack using queue which means queue starts behaving like a stack?

  • 681 views
  • 3 answers
  • 0 votes

I am learning c++ and I have been coding in it for 3 months now. I am comfortable with array, 2 dimensional array and dynamic allocation of memory. So I can use pointers comfortably. But yesterday I tried to dynamically allocate an array with more than two dimensions and I could not do it. I followed the simple steps which are used in 2 dimensional array but it didn't work. How can we use pointers to dynamically allocate a 3 dimensional array or more?

  • 842 views
  • 2 answers
  • 0 votes

I recently started writing in C++ but I have some Challenges, anytime I type in a code, about 2 runs and Compile, It pops up an error: “source file not found “. I’ve tried to search Google, but the information I got is somehow confusing. I even send the code to my friend that taught me the programming language, but he said there is no error in the syntax.
NB•i use Dev C++ as my compiler. I have also tried Using Codeblocks but the error Still persists
What is “Mingw32” I came Across why troubleshooting?

  • 1652 views
  • 1 answers
  • 0 votes

Latest Articles

Essential Things About DataOps Agile Data Management

What Is DataOps? Data operations, or DataOps for compressed, is pre-owned to explain a set of practices and procedures that are structured to enhance the cooperation, integration, and automation of data management operations and duties....

Ransomware Prevention: 10 Pro Tips For Enhanced Security

The threat of ransomware attacks is increasingly prevalent and damaging, with attackers encrypting data and demanding a set ransom to release the information on the decryption key. This kind of assault can bring about...

Website Security: Protecting Your Site From Attacks

websites are constantly under threat. Hackers, malware, and relentless cyberattacks can compromise your site, steal sensitive data, or even take your business offline.  Proactive website security is paramount, especially for WordPress sites, which, due...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...