
please wait
by newguy17
2d array how to move all ements
|
how do i move all elements to the left if try to delete a specific element in 2d array? im using static array and not allowed to use vectors and array for ex... |
Mar 23, 2018 at 11:46pm
[9 replies] Last: @keskiverto thank you very much! (by newguy17)
|
by stormbot
Function type error when returning?
|
What value type does my function need to be to return the value I am trying to return? Right now I get error: "'return' cannot convert from 'int' to 'int'" ... |
Mar 23, 2018 at 11:25pm
[1 reply] : The type pointer-to-int is not the type int . The trailing asterisk... (by mbozzi)
|
by beginner1127
compiling errors with no hints..
|
I got the compiling errors with no hints which are LNK2005 and LNK1169. I have no idea what that is. Please help! card.h #include <iostream> #include <cstrin... |
Mar 23, 2018 at 11:06pm
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg216270 if it just sa... (by ne555)
|
by Leaf1234567
Explain this code to me
|
Hello this is my first post here so pardon me if I'm doing it wrong. My college gave me a piece of code for me to work through but I'm having a really hard time... |
Mar 23, 2018 at 10:43pm
[1 reply] : Ill do a little of it. Runner& operator=(Runner& ob) //an assignme... (by jonnin)
|
by FreeSocks
Input storing with vector and pointers, help!
|
Hello! So im doing this program where the user has to write age, name, how many rooms the apartment has and what is the measurment. And every person apartment... |
Mar 23, 2018 at 10:03pm
[11 replies] Last: Thanks you Yolandi and Andy for the help, both solutions were just gre... (by FreeSocks)
|
by chesnut03
Radom Array Menu
|
Write your question here. Hello im having trouble with this code im working this is the question: Create an array with 100 random numbers and write a program t... |
Mar 23, 2018 at 9:53pm
[3 replies] Last: int linearSearch(){ int linearSearch(int array , int ... (by chesnut03)
|
by ZLAPQM
reading text files
|
how would i make a program that: -reads a text file -user inputs a string -looks for that string phrase and prints the rest of that line Text file: Ape ... |
Mar 23, 2018 at 9:38pm
[3 replies] Last: I wouldn't bother doing it in that order. I would ask the user for th... (by zaphraud)
|
stuck on array in header file |
Hey everyone, im declaring an array in my header file. When i try to define it in my .cpp class file i cant not sure why. //header file #pragma onc... |
Mar 23, 2018 at 8:25pm
[3 replies] Last: Not in the way you're trying to. https://stackoverflow.com/questions/... (by Repeater)
|
by Morgan98
ENDING THE GAME
|
hey i have an issue with my code no issues are actually present - the code runs fine however it doesn't do what i want it to it should display monsters (gr... |
Mar 23, 2018 at 8:01pm
[4 replies] Last: yeah if you want to be able to kill the player from within any functio... (by zaphraud)
|
by mikaylaelena
Decodying from int to string message
|
Hello, I am making a program that asks you to choose a file to encrypt a message to and then encrypts that message by changing each letter to the ascii and then... |
Mar 23, 2018 at 4:26pm
[5 replies] Last: Thank you so much, yes that did help! (by mikaylaelena)
|
by flamminghot
File tools
|
How do I write a program that asks the user for the name of a file? The program should display the first 10 lines of the file on the screen (the "head" of the f... |
Mar 23, 2018 at 3:12pm
[5 replies] Last: Hello flamminghot, In the future pick apart your instructions into sm... (by Handy Andy)
|
by EyeFive
Desperate for help
|
Got an assignment due in a few days and program is almost complete, however I can't get it to take the input without bugging out. Eclipse debugging crashes and ... |
Mar 23, 2018 at 1:41pm
[5 replies] Last: Wow! Thanks for the replies everyone. Yeah the sides is pointless, no ... (by EyeFive)
|
by michmccl
For loop help - estimating integral of cosine
|
Hello all I am writing a program to estimate the integral of cosine and compare it to the value of sine, then list the error. This is done by calculating them b... |
Mar 23, 2018 at 1:30pm
[2 replies] Last: math.h and cmath are redundant, just use cmath. as for looping over t... (by jonnin)
|
by An Integer
Problems with converting from node* to node
|
Can someone please help me understand why my logic is false here? Much appreciated if so! class node { public: node(); node(int, node*); int get_... |
Mar 23, 2018 at 10:49am
[4 replies] Last: You're welcome - glad it helped! (by MikeyBoy)
|
by stormbot
Numbers not adding together?
|
I am simply trying to calculate the sum of these numbers. They are listing instead of adding together and I'm not sure why. Example: If the numbers are 5, 5... |
Mar 23, 2018 at 7:43am
[1 reply] : You keep setting the sum to 0 on every pass of the loop. Move line 29 ... (by lastchance)
|
by Tanasis
Please Help My program!
|
Hey all! I need help with my first program! I made a guess game and i want to have 5 tries and when all 5 tries are false to ask me if i want to play again or n... |
Mar 23, 2018 at 7:28am
[5 replies] Last: Sorry, my bad. You did not actually state what problem you do have and... (by keskiverto)
|
by phztfte1
Questions on Destructor
|
1. Why is the destructor called before going out of scope? 2. Why is the statically allocated object able to print after being destroyed? See output. Ins... |
Mar 23, 2018 at 3:28am
[4 replies] Last: Thank you, TheIdeasMan. You found the bug. (by phztfte1)
|
by cabbdeng
Trouble with error Undefined symbols.
|
Undefined symbols for architecture x86_64: "entrance::rbt", referenced from: entrance::delete_jobRBT(JobCreate) in entrance-a7ecc1.o ld: symbol(s) no... |
Mar 23, 2018 at 2:41am
[2 replies] Last: Hi Peter, your reply makes my program work well, thank u very much. (by cabbdeng)
|
by One Pea
Substring not reading space?
|
CODE 1 #include <iostream> #include <string> using namespace std; int main() { string name="Bruce Wayne"; string letters; cout << "P... |
Mar 23, 2018 at 1:48am
[1 reply] : It's not std::string::substring() that's stopping at the space. It's t... (by tpb)
|
Print only 20 values from BSTree |
Hello, I'm wondering how I can only print 20 values from a Binary Search Tree, recursively. I would like to print the 1st 20 values in the tree. I have used var... |
Mar 23, 2018 at 1:09am
[11 replies] Last: sorry, forgot to add the &n to pass by referrence (by closed account NCRLwA7f)
|