Write a function prototype and a function definition |
|
[2 replies] Last: https://www.learncpp.com/cpp-tutorial/forward-declarations/ (by George P)
|
by Majeek
Code running slow on certain function
|
|
[3 replies] Last: Note: The max amount of bunnys a colony can have is 1000, but that che... (by jonnin)
|
by Dee5
Wrong output
|
|
[4 replies] Last: Oh thanks it worked I declared ans like this int ans=0; ... (by Dee5)
|
by Spodacus
Filling an array with integers from a file
|
|
[3 replies] Last: Glancing at it, it looks like you're reading them in, but the order of... (by fiji885)
|
by phazed99
My toString() not working
|
|
[2 replies] Last: Person *personptr = new Person(fn, ln, pn); return personptr; ... (by phazed99)
|
by maddimarrone
how to swap values in a function
|
|
[1 reply] : C++ isn't python. void swapAndMult (int& a, int& b, int multiplier) ... (by lastchance)
|
by ChrisValvo
Do-while loop error
|
|
[15 replies] Last: Also thank you very much for the help, you saved me from headache this... (by ChrisValvo)
|
by notacoder
Efficient Algorithm for subarray product
|
|
[5 replies] Last: Divide by 2 until the number is odd and that will tell you the power o... (by helios)
|
by mohsen1985
trying to define a friend function which add two matrix
|
|
[12 replies] Last: U is a reference to P3. That was created and scoped in main, so it i... (by jonnin)
|
by RaiN3772
Discount C++ program using a switch statement
|
|
[7 replies] Last: #include <iostream> using namespace std; int main() { int trigger... (by lastchance)
|
by dakotad8218
Interest While Loops
|
|
[3 replies] Last: It works, but there's a lot of duplicated code there. That needlessly... (by MikeyBoy)
|
by cirro
am having tough time to get the correct answere
|
|
[7 replies] Last: thanks it worked out i appreciate ur help (by cirro)
|
by printfsalad
Using a while loop to check if a char exists in a string
|
|
[2 replies] Last: Hello printfsalad, size_t index{}; while (index < name.size()) { ... (by Handy Andy)
|
Class Constructors And Initialization |
|
[2 replies] Last: these are obviously functions Do you mean this class: class server ... (by keskiverto)
|
by sameer304
Input and output, binary file
|
|
[1 reply] : https://www.cplusplus.com/forum/beginner/269215/ Pay attention to the ... (by salem c)
|
by sameer304
Doubt in basic file handling
|
|
[4 replies] Last: Thanks a lot. (by sameer304)
|
by dakotad8218
Do while
|
|
[5 replies] Last: Hello dakotad8218, I have tested the program in the shell and in VS 2... (by Handy Andy)
|
by kmce
Global objects?
|
|
[3 replies] Last: Ok I understand now why creating them as globals would be a bad idea. ... (by kmce)
|
by mrpear2020
Retrieve vector content for a special type
|
|
[1 reply] : I don't know what an "IP" is. Is your class? Is it someone else's clas... (by helios)
|
by R0SsAN
Fastest way to import a text file
|
|
[10 replies] Last: Hardware is getting to be amazing. I redid mine. If you run it as... (by jonnin)
|