by sturk
C++ Polymorphism
|
|
[2 replies] Last: pB points to an object of type B so that is why pB->foo() will call B:... (by Peter87)
|
by arg57
Why use std::
|
|
[2 replies] Last: the 10 cent summary of the article is that std:: is huge beyond contro... (by jonnin)
|
by robis535
Making the player go back to the same question
|
|
[1 reply] : #include <iostream> int main() { const int correct_answer = 4 ; ... (by JLBorges)
|
by jsmith800
Storing vectors in vectors?
|
|
[5 replies] Last: it does not work that way. push_back puts an entire item of the <type... (by jonnin)
|
allow the user to skip entering one of the values |
|
[2 replies] Last: #include <iostream> int main() { int first = 10 ; // 10 is the d... (by JLBorges)
|
by kenken
Primality test
|
|
[6 replies] Last: Its part of the language and has been for some time (c-99 era? not sur... (by jonnin)
|
Python to CPP |
|
[7 replies] Last: thanks i got it! but the max_profit() function which @helios converte... (by closed account STD8C542)
|
Need an approach |
|
[8 replies] Last: It seem to question from an on going contest https://www.codechef.com/... (by gokuluffy)
|
by m2020
operator precedence and pointer to an array
|
|
[5 replies] Last: Thank you dear duthomhas. (by m2020)
|
Return type of std::map::insert |
|
[3 replies] Last: If you don't care if the key already exist or just want to overwrite o... (by Peter87)
|
by sturk
C++ multiple inheritances
|
|
[1 reply] : ab.A::print(3.14f); This line specifically states that the print ... (by Repeater)
|
Search stopping when data not found |
|
[1 reply] : http://sscce.org/ Post something we can try showing your attempt to us... (by salem c)
|
by kakaducsy
struct in c program
|
|
[2 replies] Last: Thanks Duthomhas (by kakaducsy)
|
by kyrresc
Reading input from file into vector
|
|
[5 replies] Last: Zeta z; … anytype z; // redefinition of z vs for (…) { ... (by Duthomhas)
|
by navilgameboy
Getline Repeats cout command twice, Help please!
|
|
[2 replies] Last: Hello navilgameboy, PLEASE ALWAYS USE CODE TAGS (the <> formatting ... (by Handy Andy)
|
by Conan420
Inventory/List
|
|
[1 reply] : I would be inclined to use either a std::set or a std::map. Use a std... (by Duthomhas)
|
by navilgameboy
Getline Repeats cout command twice, Help please!
|
|
[4 replies] Last: Yay. (by Duthomhas)
|
interactive program, sumone plz solve it |
|
[4 replies] Last: Try solving this in 3 steps. First write a program that prompts for t... (by dhayden)
|
"Segmentation fault (core dumped)" While Using Recursion |
|
[6 replies] Last: [quote=jonnin] Nevermind :) I havent worked in octal in a while, and m... (by PiggiesGoSqueal)
|
by AlanW1
Homework Help Please - C++
|
|
[8 replies] Last: dhayden, I will try to do it yourself according to your recommendation... (by AlanW1)
|