Beginners - September 2013 (Page 55)

The confusing logic of the palindrome
 
Ok, worlds worst programmer here. I must admit, this isn't nearly as confusing as figuring out the ...
[1 reply] : No need to convert the number to an actual number before checking if i... (by Smac89)
C++ array based list
 
Hello, I am writing a menu based program that has the following array based list functions: ...
[9 replies] Last: I did not test very well ,if some errors occur please dont hesitat #... (by closed account 28poGNh0)
Overloading insertion operator with map
 
Hi, This is my code: #ifndef PHONEBOOK_H #define PHONEBOOK_H #include <map> #include <string> #...
[10 replies] Last: //There is also the C++11 auto keyword redefinition, which would let... (by Observer)
Difference between new and placement new
 
Was reading up on the placement new operator and was perplexed by the usage of the operator. What is...
[1 reply] : http://stackoverflow.com/questions/222557/what-uses-are-there-for-plac... (by Daleth)
by mattho
Noob here, need help with
 
Thanks Josue Molina #include <iostream> using std::cout; using std::endl; using std::cin; i...
[3 replies] Last: It's all, on line 14. Trace the code; it's not that long. :-) (by Josue Molina)
Help deconsturct error. Proceedural program outputs correctly / Functional version output is erroneous / unexpected
 
My gut tells me I am doing something wrong here, but I am stumped. This program runs #include <...
[4 replies] Last: Thank you everyone for your input!! Really helped. (by Bdanielz)
by Donna
Infile
 
I am having trouble understanding why the numbers I have in my text file arn't being compared to fin...
[3 replies] Last: A for loop? (by Superdude)
Having problem displaying a array of characters or symbols.
 
Hi, I am having an issue with my code, I have tried many solutions but just can't figure it out. ...
[16 replies] Last: #include <stdio.h> #include <stdlib.h> /* Declare any constants */ /* ... (by lemonysage)
Problem with sdl build error
 
i have included all directories as told in lazy foo there are no errors until solution is build. err...
[no replies]
WHILE LOOP fails to exit
 
I have run the bit of code below with a single digit as the exist condition, and it works, and have ...
[4 replies] Last: Oh.. your right. Thank you very much. For some reason I could not see ... (by FallenHawthorne)
templates confusion
 
I guess i am still trying to understand templates. One thing i dont understand is if i am using a st...
[2 replies] Last: ooooooooh ok, thanks (by metulburr)
Copy Constructor Failing
 
In my program, I have created an array class. However, even though I have a deep copy constructor, i...
[2 replies] Last: Oh, right. That makes complete sense now... Thanks for the help. (by AnonymousAccount)
by Hotice
Pointer initialized to 0 doesn't change after dynamic allocation
 
I am trying to make a binary search tree. I have a struct for nodes of a tree defined as such: st...
[7 replies] Last: Reference to pointer solved the problem! Thank you very much!! //Now, ... (by Hotice)
What's wrong with my strcat function?
 
I'm writing a program that concatenates the strings in an 2D array. There are 200 strings. Ex1: To...
[no replies]
switch problem
 
Hello, forum. I was reading through my C++ book and testing out each thing I've been taught, only ...
[1 reply] : If you input invalid characters into cin, it will enter an error state... (by firedraco)
arrays and functions -
 
Write your question here. Doing a programming exercise and I would like to take the below cod...
[9 replies] Last: Final code with all of your help.. still open for feedback but otherwi... (by Bdanielz)
Getche/Getch
 
Hello everybody!. I decided to stop using system("pause") function for gaining good programming hab...
[6 replies] Last: Got it. (by Daleth)
Where do I go from here?
 
Hey everyone, I am a beginning C++ programmer. I have taken a structured programming class at my col...
[3 replies] Last: You should also make sure that you are familiar with the new C++ stan... (by Daleth)
Output prompt display to text file
 
The following code simply asks the user for their name and then prints "Hello, !" When run from a ...
[9 replies] Last: You can copy the entire program to a text file as long as every cout c... (by Mats)
comparing classes
 
i have 2 objects and i need to know if all the values inside the object are identical for both. ...
[7 replies] Last: Just use operator == thats the only way to compare any object? Its jus... (by giblit)
September 2013 Pages: 1... 5354555657... 64
  Archived months: [aug2013] [oct2013]

This is an archived page. To post a new message, go to the current page.