Beginners - February 2011 (Page 26)

Simple question?
 
Don't know why this code doesn't work: #include <iostream> #include <iomanip> #include <string>...
[4 replies] Last: No problem, don't forget the awesome firedraco though =) (by ultifinitus)
Displaying Variables in the End / Arithmetic
 
How do I get to display the variables (many of them which will have arithmetic done on them and have...
[10 replies] Last: So how can I get the rest of the data items to show in the beginning s... (by davidrca)
Code::Blocks resource error
 
While making a simple program, I decided to add version info, but when I compile the program, I get ...
[no replies]
what is & means?
 
i am working on overloading an operator and i see void operator = (const person &right) Pe...
[3 replies] Last: Basically, you are passing a reference to the cell where the given arg... (by closed account zb0S216C)
what's the output?
 
#include <iostream> using namespace std; class Funny { private: double ax; double bx; ...
[1 reply] : i want to know why joke.getvalue(3) will have an output, becuase tech... (by Moschops)
by CJ13
cin.getline skipping first word in string?
 
Hi, I'm trying to write a program which prints a file's contents for the user, then allows the user ...
[3 replies] Last: You could add a EOF marker( http://www.cplusplus.com/reference/iostrea... (by closed account zb0S216C)
what is the output?
 
#include <iostream> using namespace std; class Funny { private: double ax; double bx...
[5 replies] Last: i edit my post with a new question can you asnwer it for me?i have the... (by jimmy5023)
Infinite Loop in Counting Function
 
I'm writing a program for class. He wants us to count the number of instances of each lowercase and ...
[8 replies] Last: Except that the assignment tells me not to do that... it tells me to s... (by packetpirate)
what is this means?
 
width = ((w >=0) ? w : 0); length = ((l>=0) ? l:0); can anyone translate to eng to me? i don...
[2 replies] Last: It's called a Ternary Operator. http://en.wikipedia.org/wiki/Ternary_... (by closed account zb0S216C)
a header file & cpp file
 
why does visual studio create a header file and a .cpp file when you add a new class?
[4 replies] Last: Zhuge has it right. Classes are split into two files, a .h** header fo... (by Computergeek01)
advice please!!! :D
 
hi i am having some trouble with my program. i am just very stuck. so far what is happening is i hav...
[4 replies] Last: What kind of trouble could you be having with pow? Anyway, to calcula... (by hamsterman)
OOP- Word Jumble & Scoring
 
Hey guys, new to the forum. I am working on an assignment for class for the Word Jumble game. I hav...
[3 replies] Last: - Line 237 - Line 243 is just confusing to look at. Are you trying to ... (by Computergeek01)
Starting To Program With C
 
#include <stdio.h> #include <memory.h> struct f { int *K; }; void f_Constructor( in...
[2 replies] Last: It worked :) Thanks, Zhuge. (by closed account zb0S216C)
Brand new to c++, problems with guessing game
 
So I'm a beginner to c++ (brand new) and to programming in general. I'm trying to write a basic prog...
[3 replies] Last: Please use tags. (by packetpirate)
Over Loaded Function Trouble
 
Intro(problem below): First off hello everyone! I'm very new to programing and I am trying to get C...
[3 replies] Last: Now you have backslashes instead of forward slashes ;^) (by Bazzy)
return reference from function
 
Hy, referring to this code #include <vector> #include <iostream> using namespace std; ...
[2 replies] Last: Thanks! (by dziadgba)
How to calculate the grading policy with struct?
 
I am doing a lab practice and I'm stucked in some part... below is my question Write a grading pr...
[6 replies] Last: Ok, let's take a look at how you declared your functions: void c... (by sadavied)
Wrong size of Derived Class..?
 
Thank you so much.
[1 reply] : When posting code, use code tags. Don't post a bunch of irrelevant co... (by hamsterman)
what after c++ tutorials ?
 
I want to know what after finishing with the c++ tutorials on this site ? Am I expected to be able...
[1 reply] : You could find yourself a slightly more advanced book, but I think you... (by hamsterman)
by zbub
cin won't respond 2 entr
 
i've written a couple of XTREMELY simple programs, like addin 2 ints, comparin 2 ints n... the prom...
[3 replies] Last: it's a sample code off deitel, so i'm pretty sure, there's nothin wron... (by zbub)
February 2011 Pages: 1... 2425262728... 43
  Archived months: [jan2011] [mar2011]

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