Beginners - March 2008 (Page 15)

by Worm
Cannot find headerfile: "iostream.h"
 
I am working with Visual C++. I have bought a couple of books and now I am beggining to learn. in the examples of codes they include the <iostream>. However ...
[2 replies] Last: it works fine if you add the #include <iostream> after the #include "s... (by Worm)
by Trojan
quick question
 
I'm completly new to programing. When I'm writting a program do I type this in the command prompt? for example, If I wanted to do one in the tutorial. # i...
[15 replies] Last: can you please email me about these code changes you made? I'd like to... (by Trojan)
VC 2008 Can't rebuild.
 
First, I build this program. int main() { return -1; } Build this. After that I try to rebuild with the following code. int main() { retu...
[2 replies] Last: Thanks. It helps. (by benkwan)
Where do I put this IF/ELSE/ or WHILE statement ?
 
In this exercise, I'm suppose ask the user if the answer is correct if the grade is 100 or higher. With the current situation, you can put in any number and the...
[5 replies] Last: Yes, if the score is less than 100 then it process through normally. B... (by yetidaddy)
How do i write this program?
 
hey, I am a college stundent who was assigned to write a simple beginners C++ program and i needed some help. I am just starting out in the language and I didn'...
[no replies]
by mat76
getting frustrated
 
i have completed 2 beginner books on c++. i definatly need more practice. i am getting so frustrated with the books that i buy. I know that more practice ...
[5 replies] Last: I have to say the best way of learning languages is often just playing... (by Googol PL3X)
Help me please
 
Ok so basically because the loop runs so fast in this code i dont get to see what the cout is. heres the code #include<iostream> using namespace std; ...
[4 replies] Last: Thanks it works perfect now :D (by Googol PL3X)
GCD
 
can anyone help me and send me the algorithm or pseudo code for a program that calculates Greatest common divisor of two numbers.i'm a beginner and can't think ...
[1 reply] : Have you asked Wikipedia? (by Duthomhas)
help..please
 
Statement: The purpose of this assignment is to make you understand classes and how can they be used in a C++ program and to help you develop coding skills. ...
[8 replies] Last: Wow... Is that a school rule? That's pretty draconian to be so inflex... (by Duthomhas)
by DPGC
Inreasing (void*) by Int
 
Hello ;), I have a problem with increasing pointers in C++. I've tried to write a inc procedure similar to the one in Delphi, but it didn't workout with out...
[1 reply] : I'm not sure why somePointer would be changed given your code snippit ... (by Duthomhas)
by xian67
do...while loop broken
 
I can't seem to get the desired output from my code below. It should except only input 1 thru 12, but it accepts anything. It should output"Please enter the m...
[4 replies] Last: That was it, now I understand. Thanks so much for the help! (by xian67)
by pdusen
Switch statement disables cin?
 
I have a program that is basically a while loop meant to continue until input is -1. Inside the while loop is an input (for the user to enter -1 or any other va...
[5 replies] Last: Correction: Command if (cin >> input) is true when input is ok (becau... (by hackitsoft)
Begginer "if" problem
 
my code: # include <iostream> #include<ctime> #include<cstdlib> #include<cctype> using namespace std; struct rooms { char description ; char nam...
[9 replies] Last: Wow! Thankyou soooo much! I have a couple of books, so i was just stic... (by awesomealpha)
by Wikki
Need help making a times table using the setw
 
I'm trying to construct a programe that displays the times tables in the form of rows and columns eg: 1 2 3 4 5 6 7 8 9 10 11 12 2 4...
[1 reply] : The problem is that you have an end line after every number, so each h... (by Alex B)
Calculate shipping charge program
 
Hi, The problem was that when you put tn instead of TN in for state, it'll give you the wrong answer. This is the solution to the program according to the bo...
[4 replies] Last: Really? I thought that was just a typo and I fixed it. It shouldn't... (by Duthomhas)
Errors overloading the << operator.
 
I got the following errors from my code, and im not sure why any suggestions would be nice and i dont need the super technical explanation why but if you know w...
[7 replies] Last: You included it in your BigInt.h file like I showed you? (by Duthomhas)
March 2008 Pages: 1... 131415
  Archived months: [feb2008] [apr2008]

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