Recent questions tagged c

0 votes
0 answers

How to use vector::push_back()` with a struct?

Jul 22, 2022 in C++ by Nicholas
• 7,760 points
• 2,461 views
0 votes
0 answers

Run C++ in command prompt - Windows

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

Accumulate function in Vector (STL) giving negative sum

Jul 22, 2022 in C++ by Nicholas
• 7,760 points
• 1,935 views
+1 vote
0 answers

Using push_back vs at in a vector in C++

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

What is the fastest way to transpose a matrix in C++?

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

dynamic_cast and static_cast in C++

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

Simple example of threading in C++

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

Successor of INT_MAX and INT_MIN

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

Converting Binary to Decimal built-in function

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

How to create a dynamic array of integers

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

not able to run graphics in DEV C++

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

How to find if a given key exists in a C++ std::map

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

How to convert a char array to a string?

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

Purpose of Unions in C and C++

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

Using "super" in C++

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

What is object slicing?

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

How can I terminate an infinite loop in Turbo C?

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
• 4,577 views
0 votes
0 answers

Do you use Qt and why do you use it?

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

Finding square root without using sqrt function?

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
• 6,754 views
0 votes
0 answers

throwing a run time error

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

Why aren't cmath's pow and sqrt templates?

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

What's the Use of '\r' escape sequence?

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

Purpose of Unions in C and C++

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

What is the meaning of "generic programming" in c++?

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

how the iterator in c++ could be printed?

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

what is containership or nesting in C++?

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

Program to calculate square root c++

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

C++ vector erase function not working properly

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

Check if a string is palindrome

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

How does c++ std::vector work?

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

Inbuilt __gcd(A,B) function in C++

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

C++ string input

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

Sorting vector elements in descending order

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

How to access static members of a class?

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

How to copy turbo c++ output?

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

How to use enums in C++

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

Differences between C++ string == and compare()?

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

What does the C++ standard state the size of int, long type to be?

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

What does the C++ standard state the size of int, long type to be?

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

Sorting a vector in descending order

Jul 5, 2022 in C++ by Nicholas
• 7,760 points
• 3,700 views
0 votes
0 answers

How to use setprecision in C++

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

Difference between upper_bound and lower_bound in stl

Jul 5, 2022 in C++ by Nicholas
• 7,760 points
• 2,488 views
0 votes
0 answers

Why doesn't C++ have a garbage collector?

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

C++ Singleton design pattern

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
• 1,338 views