
please wait
by jackbruns28
The confusing logic of the palindrome
|
Ok, worlds worst programmer here. I must admit, this isn't nearly as confusing as figuring out the confusing logic of the hollow printed square using loops, bu... |
Sep 7, 2013 at 7:55am
[1 reply] : No need to convert the number to an actual number before checking if i... (by Smac89)
|
by Stevebass21
C++ array based list
|
Hello, I am writing a menu based program that has the following array based list functions: #include <iostream> using namespace std; in... |
Sep 7, 2013 at 7:03am
[9 replies] Last: I did not test very well ,if some errors occur please dont hesitat #... (by closed account 28poGNh0)
|
by Observer
Overloading insertion operator with map
|
Hi, This is my code: #ifndef PHONEBOOK_H #define PHONEBOOK_H #include <map> #include <string> #include <utility> #include <ostream> #include "Abonent.h" c... |
Sep 7, 2013 at 6:48am
[10 replies] Last: //There is also the C++11 auto keyword redefinition, which would let... (by Observer)
|
by Moonraker101
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 the difference between the placement new and new? I know th... |
Sep 7, 2013 at 5:49am
[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; int main() { cout << "Please Enter Two Integers : " << endl... |
Sep 7, 2013 at 5:06am
[3 replies] Last: It's all, on line 14. Trace the code; it's not that long. :-) (by Josue Molina)
|
by Bdanielz
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 <iostream> #include <math.h> /* sqrt */ #include <iomanip> //... |
Sep 7, 2013 at 5:04am
[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 find the largest number. int largest = arr ; f... |
Sep 7, 2013 at 4:54am
[3 replies] Last: A for loop? (by Superdude)
|
by lemonysage
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. I have a array of floats, so decimal numbers, they are const... |
Sep 7, 2013 at 4:12am
[16 replies] Last: #include <stdio.h> #include <stdlib.h> /* Declare any constants */ /* ... (by lemonysage)
|
by Sharan123
Problem with sdl build error
|
i have included all directories as told in lazy foo there are no errors until solution is build. error discription is Error 1 error MSB4014: The build stopped ... |
Sep 7, 2013 at 3:48am
[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 since been trying a number of things to make it work and I d... |
Sep 7, 2013 at 2:28am
[4 replies] Last: Oh.. your right. Thank you very much. For some reason I could not see ... (by FallenHawthorne)
|
by metulburr
templates confusion
|
I guess i am still trying to understand templates. One thing i dont understand is if i am using a string for example, i have to define <std::string> for is_in()... |
Sep 7, 2013 at 1:56am
[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, it only works for the first element of the actual array. Plea... |
Sep 7, 2013 at 1:29am
[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: struct node { node() { //making leftNode, righ... |
Sep 7, 2013 at 1:23am
[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: Tom Ford Jerry West Micheal Jordan Kenny Smith Sean Connery To... |
Sep 7, 2013 at 1:07am
[no replies]
|
by ChrisButton
switch problem
|
Hello, forum. I was reading through my C++ book and testing out each thing I've been taught, only to find myself met with an usual problem. When you run thi... |
Sep 7, 2013 at 12:43am
[1 reply] : If you input invalid characters into cin, it will enter an error state... (by firedraco)
|
by Bdanielz
arrays and functions -
|
Write your question here. Doing a programming exercise and I would like to take the below code block and change it to a function. // Print Small ... |
Sep 6, 2013 at 11:46pm
[9 replies] Last: Final code with all of your help.. still open for feedback but otherwi... (by Bdanielz)
|
by fluture
Getche/Getch
|
Hello everybody!. I decided to stop using system("pause") function for gaining good programming habbits. After reading and examing the "Hello world" post of th... |
Sep 6, 2013 at 11:30pm
[6 replies] Last: Got it. (by Daleth)
|
by kev1993
Where do I go from here?
|
Hey everyone, I am a beginning C++ programmer. I have taken a structured programming class at my college and have done some extensive studying on my own. I have... |
Sep 6, 2013 at 11:05pm
[3 replies] Last: You should also make sure that you are familiar with the new C++ stan... (by Daleth)
|
by navig8tr
Output prompt display to text file
|
The following code simply asks the user for their name and then prints "Hello, !" When run from a Windows command prompt it runs as expected with this output ... |
Sep 6, 2013 at 8:39pm
[9 replies] Last: You can copy the entire program to a text file as long as every cout c... (by Mats)
|
by rafae11
comparing classes
|
i have 2 objects and i need to know if all the values inside the object are identical for both. #include <iostream> using namespace std; class Hel... |
Sep 6, 2013 at 8:21pm
[7 replies] Last: Just use operator == thats the only way to compare any object? Its jus... (by giblit)
|