Recent questions tagged c

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

functions in c++ call by value and call by reference

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

Constructor Overloading in C++

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

When to use virtual destructors?

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

The new syntax "= default" in C++11

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

Ternary operator ?: vs if...else

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

C++ "Object" class

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

Simple linked list in C++

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

What is a smart pointer and when should I use one?

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

Check if element is in the list (contains)

Jun 2, 2022 in C++ by Nicholas
• 7,760 points
3,270 views
0 votes
0 answers

Code Not working in VS Code but works in OnlineGDB

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
1,510 views
0 votes
0 answers

How to implement 2D vector array?

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
982 views
0 votes
0 answers

How to implement 2D vector array?

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
1,379 views
0 votes
0 answers

What is the C++ function to raise a number to a power?

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
1,220 views
0 votes
0 answers

How to traverse stack in C++?

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

Using getline() in C++

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

How to use std::sort to sort an array in C++

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

How to reverse an std::string?

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

C# books or web sites for C++

May 31, 2022 in C# by rajiv
• 1,620 points
1,332 views
0 votes
1 answer

The Definitive C++ Book Guide and List

May 31, 2022 in C++ by rajiv
• 1,620 points
2,084 views
0 votes
0 answers

Intersection of two std::unordered_map

May 31, 2022 in C++ by Nicholas
• 7,760 points
1,805 views
0 votes
1 answer

Sorting a vector of custom objects

May 31, 2022 in C++ by Nicholas
• 7,760 points
2,618 views
0 votes
1 answer

How can I convert a std::string to int?

May 31, 2022 in C++ by Nicholas
• 7,760 points
1,576 views
0 votes
1 answer

Why would anyone use set instead of unordered_set?

May 31, 2022 in C++ by Nicholas
• 7,760 points
4,268 views
0 votes
1 answer

Easiest way to convert int to string in C++

May 31, 2022 in C++ by Nicholas
• 7,760 points
2,920 views
0 votes
1 answer
0 votes
1 answer

C++ `this` pointer

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,420 views
0 votes
1 answer

What data structure is inside std::map in C++?

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,877 views
0 votes
1 answer

Syntax of priority queue

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,538 views
0 votes
1 answer

Declare abstract class in c++

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,308 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to find out if an item is present in an std::vector?

May 26, 2022 in Others by Nicholas
• 7,760 points
17,715 views
0 votes
1 answer

Why do we need virtual functions in C++?

May 26, 2022 in Others by Nicholas
• 7,760 points
2,367 views
0 votes
0 answers

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

May 19, 2022 in Others by Kichu
• 19,040 points
1,098 views
0 votes
0 answers

What is Segmentation fault (core dumped)?

May 15, 2022 in Others by Kichu
• 19,040 points
1,203 views
0 votes
0 answers
0 votes
0 answers

Programming slim C++ programs (like uTorrent) for Windows

May 13, 2022 in Others by Kichu
• 19,040 points
1,069 views
0 votes
0 answers

What exactly is \r in C language?

May 9, 2022 in Others by Kichu
• 19,040 points
1,043 views
0 votes
0 answers

Is hiding implementation detail Encapsulation or Abstraction?

May 6, 2022 in Java by narikkadan
• 86,360 points
4,651 views
0 votes
0 answers

How do I determine the size of my array in C?

May 1, 2022 in Others by Kichu
• 19,040 points
1,154 views
0 votes
0 answers

How to rename a directory in C?

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
1,688 views
0 votes
0 answers
0 votes
0 answers