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,203 views
0 votes
0 answers

Constructor Overloading in C++

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

When to use virtual destructors?

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

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

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

Ternary operator ?: vs if...else

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

Simple linked list in C++

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

Check if element is in the list (contains)

Jun 2, 2022 in C++ by Nicholas
• 7,760 points
2,952 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,262 views
0 votes
0 answers

How to implement 2D vector array?

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

How to implement 2D vector array?

Jun 1, 2022 in C++ by Nicholas
• 7,760 points
1,070 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
991 views
0 votes
0 answers

How to traverse stack in C++?

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

Using getline() in C++

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

C# books or web sites for C++

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

The Definitive C++ Book Guide and List

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

Intersection of two std::unordered_map

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

Sorting a vector of custom objects

May 31, 2022 in C++ by Nicholas
• 7,760 points
2,008 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,283 views
0 votes
1 answer

Why would anyone use set instead of unordered_set?

May 31, 2022 in C++ by Nicholas
• 7,760 points
3,857 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,337 views
0 votes
1 answer
0 votes
1 answer

C++ `this` pointer

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,144 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,558 views
0 votes
1 answer

Syntax of priority queue

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

Declare abstract class in c++

May 28, 2022 in C++ by Nicholas
• 7,760 points
1,090 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
16,703 views
0 votes
1 answer

Why do we need virtual functions in C++?

May 26, 2022 in Others by Nicholas
• 7,760 points
2,084 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
895 views
0 votes
0 answers

What is Segmentation fault (core dumped)?

May 15, 2022 in Others by Kichu
• 19,040 points
987 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
852 views
0 votes
0 answers

What exactly is \r in C language?

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

Is hiding implementation detail Encapsulation or Abstraction?

May 6, 2022 in Java by narikkadan
• 86,360 points
4,191 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
947 views
0 votes
0 answers

How to rename a directory in C?

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