Recent questions tagged c

0 votes
0 answers

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

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
• 2,625 views
+1 vote
0 answers
0 votes
0 answers
0 votes
0 answers

Why use #define instead of a variable

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

C++ printing boolean, what is displayed?

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

Static vs dynamic type checking in C++

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

take string input using char* in C and C++

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

How to use c++ swap function?

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

Reverse a number without converting it to string in C++

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

Infix to Postfix notation C++

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

Deep copy vs Shallow Copy

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

C++ convert from 1 char to string?

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

Selection sort in C++ (modified) not working for all cases

Jun 29, 2022 in C++ by Damon
• 4,960 points
• 1,476 views
0 votes
0 answers

What is the STL?

Jun 29, 2022 in C++ by Damon
• 4,960 points
• 1,198 views
0 votes
0 answers
0 votes
0 answers

Why are exceptions so rarely used in C++

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

*this vs this in C++

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

Why can't the switch statement be applied on strings?

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

What does "#include <iostream>" do?

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

please help me with max_element function in c++ stl

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

Use of multisets in C++ [duplicate]

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

The static keyword and its various uses in C++

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

How do I reverse a C++ vector?

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

Initializing a two dimensional std::vector

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

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

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

What does the explicit keyword mean?

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

Sorting Characters Of A C++ String

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

C++ multiset, return key at position?

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

How to use the priority queue STL for objects?

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

Can you use "cin" with string?

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

C++ pointer to objects

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

How can I get the maximum or minimum value in a vector?

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

Binary literals?

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

c++ constructor and copy constructor

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

How can I get all the unique keys in a multimap

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

Using :: (scope resolution operator) in C++

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

How does #include <bits/stdc++.h> work in C++? [duplicate]

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

Difference between function overloading and method overloading

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

When to use extern in C++

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

What range of values can integer types store in C++

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

insert method for doubly linked list C++

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

What is a Class and Object in C++?

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

Explanation of function pointers

Jun 20, 2022 in C++ by Nicholas
• 7,760 points
• 1,467 views