Beginners - November 2010 (Page 26)

by mwmnj
"no match for 'operator>>'" error
 
I am completely confused as to what could be causing this error? I feel like i've tried everything! The error is occuring in my input module. I will post that...
[1 reply] : Solution found! cant use endl; with cin! (by mwmnj)
Answer confirmation
 
Hi I'm having trouble with the following code: cout << "Queston 1" << endl; cout << "The Chinese admiral who led state-sponsored naval expeditions during...
[2 replies] Last: Oh! Thanks! (by lulichix)
member functions for Loan ???
 
Hi i'm pretty new with c++ and i have just started learning about classes and constructors .. Anyway i'm doing an assignment and i'm getting pretty clueless wit...
[3 replies] Last: exactly as it is. When we came to this site and the first we've done ... (by firix)
Wumpus Hunt 2
 
I was already thinking along Zaita's suggestion and revised my code to use arrays. It was working pretty well until I made some minor changes. Now it loops no...
[5 replies] Last: You should use functions to help you think about the problem, not a... (by Disch)
Issues with changing values in an array
 
This a segment of the code i can post all of it if it will help I'm trying to invert a matrix i'm going to use elementary row operations so i have to make an i...
[no replies]
Writing a 2D array to a file (void function problems)
 
Hey guys, im currently working on writing the results of this program to a file, the problems come in when i try to write the void functions to a file, is there...
[1 reply] : Also how do i use input validation n the getChart function so the pro... (by halopower67)
I don't understand why my arrays won't subtract
 
This is HW. I have puzzled for 5 hours as to why case 6 will not work, but case 4 and case 5 give a correct result. I can upload the full code if needed but I h...
[1 reply] : for (i=0; i < days; i++) // no 'k' here { var = maxdefe... (by Disch)
continue a program ? (1,2)
 
# include <iostream> using namespace std; int main () { int a,b,c ; cout <<" enter ur first no. " << endl; cin >> a; cout <<" enter ur se...
[25 replies] Last: yup i got my problem i write scanf ("%d%",&c); which makes the pr... (by im abcd)
IRC userlist
 
Hello, I'd like to code a program to just connect to an IRC channel and get the userlist. maybe something like a very tiny version of mIRC. but for now, just...
[2 replies] Last: That should be quite simple. You get a tcp socket to the server, say H... (by JoR)
by ZSmith
Formula Generator
 
I am writing a program that solves solution to acid ratio story problems. For example: If there is 10 liters of a 25 % acid solution, how many liters of water d...
[2 replies] Last: Thanks, I think I the have codding errors fixed but I need to change ... (by ZSmith)
validating an array
 
I have written a simple switch menu that parses data stored in an array of structure objects. The first option allows the user to enter data and following opti...
[no replies]
Class Member as an Array
 
Is it possible to have an array as a class member? It is part of my Wumpus Hunt exercise. I want to do the following: class Room { blah blah; }; ...
[6 replies] Last: Continued in the thread titled Wumpus Hunt 2. (by nathan10)
Math problem in c++ program ugh. :)
 
I have a function to determine the monthly payment on user input loan amount, interest rate, and length in months. double calcPayment(double Principle, double...
[1 reply] : The total amount of interest paid over the life of the loan is equal t... (by jsmith)
bubble sort, void read functions? :/
 
well... heres my code first off: #include <iostream> #include <string> #include <fstream> using namespace std; void Read(ifstream& inFile, int arra...
[7 replies] Last: The main problem is that none of your functions are being called. In m... (by closed account D80DSL3A)
Random Quiz Questions (1,2)
 
Hi, I'm fairly new to C++, and an thinking of creating a simple program to help me study. The user would select topics to chose from, and then receive questions...
[22 replies] Last: Again, you're welcome but I see that my "help" hasn't done much good. ... (by closed account D80DSL3A)
writing a class externally
 
how do I write a class externally, please I need help quick my course work is just chasing me
[3 replies] Last: when you add new items to you project in visual basic. Visual BASIC ... (by Bazzy)
Linked Lists
 
How should I write my my_list.cpp to work with my header file? my_list.cpp #include <iostream> #include <list> #include <string> #include <cassert> #in...
[3 replies] Last: You have a template class then you must implement everything within th... (by coder777)
Uggh, why won't this compile?!?
 
I wrote this code out and for whatever reason, I am getting a error at the following lines.. #include <iostream> #include <cstring> using namespace std...
[4 replies] Last: Did you fix this Jetter2? If not you may notice there are some curly b... (by Moooce)
ahhhhhhhhhhhhhhhhhh!! heelp with graphics pleeeeeeeeeeeeeeeeeeeeeease!!!!!!!!!!
 
i know how to make graphics, the only problem is i dont know how to put them in a c++ program
[8 replies] Last: i am using dev c++. im trying to display graphics. DEV C++ is an... (by chonJi)
connect 4???
 
has anyone created a game connect4 using C++? if yes how do u start it? can anyone show me their codes?
[2 replies] Last: Don't forget a few methods for players taking turns. (by Pax)
November 2010 Pages: 1... 2425262728... 42
  Archived months: [oct2010] [dec2010]

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