Beginners - May 2012 (Page 58)

Overloading << operator for a Vector3D
 
Hello I'm trying to overload a << and >> for a Vector3D class and I'm completely lost on how to do i...
[6 replies] Last: Put at semi-colon at the end of the closing bracket of the class. #in... (by histrungalot)
by harel
H-E-L-P!!!question about "copy" )-:
 
Hi, In the attached code, I used the function "copy" of the library < string >. The problem is that...
[2 replies] Last: thank! its work! (by harel)
A brief C++ tutorial
 
https://sites.google.com/site/eugenestutorials/cpp.pdf?attredirects=0
[3 replies] Last: I'm just hoping he was looking for feedback and not presenting a finis... (by cire)
No data output/blank screen.
 
Hi, I am working on this program that counts the number of letters, words and lines in a given text ...
[8 replies] Last: get a word check with isalpha()/isdigit()/atoi(). The better you und... (by richardforc)
getters and setters
 
For a project i need getters and setters. The problem is that only when i inizialize my value and se...
[1 reply] : But futher use doesn't do anything. You'll need to elaborate on that... (by MrHutch)
by Arres
Class composition help getting error.
 
Date.h actually validate and display the date. //Date.h #ifndef DATE_H #define DATE_H class D...
[2 replies] Last: iHutch105 thank you very much, I appreciate it that you looked my code... (by Arres)
do while loop problems
 
In the code below I have 3 loops, all with if and else statements in them. The purpose of having the...
[3 replies] Last: http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.3 (by cire)
CODE DOESNT WORK!
 
Hi! Ima beginner, and I recently made a piece of code. But I got no idea WHAT I did wrong! Please he...
[7 replies] Last: Um. You will understand it quickly when you get to arrays. What char... (by needhelp2345)
No match for Operator
 
Hi im getting an error: 53|error: no match for 'operator==' in 'cells .Battleships::Cell::processAt...
[2 replies] Last: Thanks :) always something stupid like that :( (by JOZZIE52)
how to reset an array
 
This is function within a loop in the main. The loop may use the function several times. I would l...
[1 reply] : There is no need to reset arrays because each element will be overwrit... (by vlad from moscow)
problems with calculations
 
I have some major calculation problems. My program is suppose to take the price of the computer in s...
[2 replies] Last: Okay do you think that is causing all the calculation errors too? (by jdkrause)
Recurrence Functions
 
I am working on this program for an assignment and I cant figure out how to get it to work. I am no...
[1 reply] : If a number n is odd then n % 2 != 0 So your function isOdd is seman... (by vlad from moscow)
C++ what am I doing wrong? (beginner coding assignment) code and detail inside.
 
What I am trying to is to validate string custID. custID needs to include 6 characters. digit/digit/...
[no replies]
Adding an exception to this program
 
I need function Storesale and Findsale to check the index validity. If the index is invalid, StoreSa...
[1 reply] : Certainly, you could check if the index is valid, and if not, throw so... (by Cubbi)
Converting Decimal to Binary...how to reverse?
 
Hi, so I have been trying for hours to figure out what to do to make this program work, but I am jus...
[7 replies] Last: Hey, thanks to everyone who helped out. I ended up cleaning it up pret... (by Cheddar)
Any suggestions for a good IRC while learning c++?
 
I was wandering if anyone had any good experiences with a particular IRC for getting help on project...
[no replies]
Converting Decimal to Binary Using a Class
 
Hi. So my homework assignment for my C++ class this week is to create a class that converts from dec...
[no replies]
by apec
2D Array Problem Full Code, Compiles, But Doesn't Work :(
 
Hello All - First post here Help would be MUCH appreciated! I have a problem for my Computatio...
[2 replies] Last: There seem to be braces missing in maxx(). Are they there in your ori... (by vin)
by rdupon
help with strings
 
i have to write a lab but i am completly stuck. i tried looking over the teachers notes and asking h...
[1 reply] : put your code in the /code tags please (by Need4Sleep)
by Macki
selection sort on dynamic alloc array func needs primary express..
 
I wrote the same set of programs.. trying to see if they work on different obsolete compilers.. th...
[2 replies] Last: thanks hmmm.. I must need sleep.. but more eyes better than mine t... (by Macki)
May 2012 Pages: 1... 56575859
  Archived months: [apr2012] [jun2012]

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