General C++ Programming - January 2012 (Page 16)

atoi error!
 
cout<<"\n "<<subexpresionesparentesis <<subexpresionesparentesis <<subexpresionesparentesis ; ...
[8 replies] Last: no, I know that its common, and that in reality revealed only where th... (by Aramil of Elixia)
Problem with inheritance
 
After painfull debugging due weird build messages I figured that this code causes problems: struct ...
[3 replies] Last: @codekiddy thats was typo :) @Ivan Sidarau Yeah, I tried to use vecto... (by closed account 10oTURfi)
problem with the vector size allocation
 
Hi, I am trying following program #include<iostream> #include<vector> using namespace std; ...
[4 replies] Last: Everytime you do a push_back(), the size() increases by one. Therefore... (by Galik)
Pascal triangle
 
Hi to everyone!!! I wonder if anybody can give me a hand with a problem. I have to write a program...
[15 replies] Last: #include<stdio.h> #include<iostream> using namespace std; long double ... (by saurai3h)
Very simple assigning array
 
class Hangman{ public: Hangman(void); static const char ALPHABET ; static const st...
[12 replies] Last: Thanks aquaz. Yes if I was changing the size, a set or vector would... (by calypso)
by lovit
Passing Class arrays to Friend Functions
 
Hi. I am having a terrible problem and I can not solve and hope that someone here can help me. ...
[4 replies] Last: Thanks Sloopy.... That seemed to work. I guess I missed the passing ... (by lovit)
Tips needed for a guessing progam
 
Hey, im newer to programing and c++ i just want some tips on how to start this program.the program i...
[2 replies] Last: If you want the program to guess the answer, you can use dichotomia: s... (by aquaz)
no errors but it doesn't work :(
 
Hi all, I posted this in the Beginners section but got no response. original thread http://www.cp...
[1 reply] : http://www.cplusplus.com/forum/beginner/59633/#msg322395 (by coder777)
More Dereferencing Confusion
 
Hello all! My last visit was succinct and successful so I figure I have a similar problem and rather...
[2 replies] Last: I think you've understood well enough though! That looks about right. ... (by tescrin)
Breaking out of the command prompt?
 
Okay, so I've been programming for a while now. I understand functions, pointers, linked lists data ...
[1 reply] : Pick one of the Widget Toolkits. http://en.wikipedia.org/wiki/List_of... (by Moschops)
How to use the method libxml++ to write a file in c ++ xml
 
I'm using libxml++ library in C++, and I have to write an xml file in which there is an inclusion of...
[no replies]
Behaviour when assigning int to char
 
Just checking: When I assign an int to a char, does the char just take the lowest 8 bits from the in...
[1 reply] : I think so too. since char has only 8 bits it can't take all of int's... (by codekiddy)
by PLew88
Quick Question
 
Hello, I just wrote a program for extra credit in one of my classes. I have already printed out the ...
[1 reply] : Try ./a.out > file.txt lp file.txt (by naraku9333)
Problem with returning superior-scope
 
Hi again, trouble! When I return any object from a superior-scope it is destructed before get it,...
[2 replies] Last: Thanks for that, solved :) (by Link2012)
How much more time until I can make my own game?
 
Ive been learning c++ for around 2 months now and how long will it take me to learn it enough so i c...
[3 replies] Last: Seen a guy post 5 threads about the same thing in a day, haven't seen ... (by closed account o1vk4iN6)
Memory size (1,2)
 
This might sound stupid but if a float uses 4Bytes does on array of 100 Floats use 400 Bytes?
[20 replies] Last: Didn't mean to start an argument lol! Besides i consider this questio... (by Aaron Hanna)
by omurad
WHAT'S WRONG WITH MY CODE
 
The answer is always 0 for some reason, I already tried this code on Microsoft Visual C++ and it wor...
[3 replies] Last: Set the value of z after you have read in the values of x and y but be... (by Peter87)
by Rhenn
Problem with finding vowels with recursion
 
bool containsVowel(string blah){ if (blah == ""){ return false; } else if (blah == 'a' |...
[6 replies] Last: Thank you, I see now. I just had to have "return", before the function... (by Rhenn)
Binary search tree
 
It is a simple programme to make a list of numbers. I'm using a class numbers, and a class for the l...
[no replies]
overloading functions
 
Why is this function not overloaded?? I don't get it int getValue() { int inputValue; cout <<...
[2 replies] Last: I think I understand. Thank you. I will try again keeping your expla... (by mathisona)
January 2012 Pages: 1... 1415161718... 36
  Archived months: [dec2011] [feb2012]

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