Beginners - December 2011 (Page 44)

Program comparing two files
 
I'm still a beginner at c++ and i'm required to write a program that compares two files, an orders.t...
[no replies]
Need help on a programming assignment
 
I need to: "...write a program that reads up to 20 decimal values of weekly rainfall for a given ...
[3 replies] Last: Thanks (by shywolf91)
Errors I need help with.
 
This is the code I am supposed to create using arrays: Write a program that promots for colors Band...
[4 replies] Last: Yes I changed z to double thanks (by nyaeggy)
An Error I need help with
 
I'm getting this error when I run the program below. I don't know how to fix it---- "1>c:\users\sewe...
[3 replies] Last: oh wow -__- ..I feel slow. I fixed it (by sean903)
Intro Class Help
 
Hi guys I am taking an intro to C++ class at a one of my local schools and my teacher gave us this a...
[1 reply] : Try this... Its the same problem, but not the solution.. Just a nudge ... (by Caprico)
How to load class objects from file
 
ifstream fin("student.txt"); int size; //size of students int count; fin >> size; ...
[14 replies] Last: or resize fin >> size; student.resize(size); $ bin/program progra... (by ne555)
multiple arrays thru a function
 
This is late homework, but its a matter of principle now. I have to send 2 arrays thru an average an...
[5 replies] Last: thank you very much. i mustve changed something after testing. been at... (by lilcoder)
had program working, still does, but outputs random numbers
 
void value(Stock partsList , int size) { double value = 0, total = 0; // tracks cout << " ...
[1 reply] : This function only prints the data it's given. I'd say your best bet ... (by Moooce)
function
 
function prototype function difinition function calling
[2 replies] Last: You truly are poetic Moschops. (by Stupebrett)
3 string types : Allocator( )
 
The string class defines several constructors and many functions. Here are three commonly used co...
[1 reply] : Here is an article about Allocator: http://www.codeproject.com/KB/cpp... (by JMJAtlanta)
wrong random numbers
 
I'm trying to make lotto program. and when this program generate numbers in between 1 and 40. they...
[4 replies] Last: OH I got it!!!! I didn't use getNum to be filled with the random num... (by wndtjr2)
by sweezy
WTF WHY IS THIS NOT WORKING
 
INSTRUCTIONS: Write a complete program that declares an integer variable, reads a value from ...
[3 replies] Last: Take a chill pill dude. endl means "put a newline", it's not somethi... (by Catfish)
by SonyaK
Any way to restore a program to how it was before you screwed it up?
 
Okay, I'm in a total panic. I was adding comments to a complete, working program and my pinky hit e...
[4 replies] Last: And at some (near) point in the future, consider using a CVS. (by bbgst)
limited input with Getline
 
I'm using getline to input information into strings from a user, and I want only a specific amount o...
[2 replies] Last: If you just need to adjust it after it has been extracted from the str... (by bbgst)
Non threatening compile error?
 
In the book I purchased for a course I will be taking in January they gave me an excellent snippet t...
[3 replies] Last: Thanks! Glad to know I figured it out on my own. Heres another snip... (by ShallonDark)
Void Pointer
 
I m a beginner need a help in void pointer. In the program given below can u explain what does pin...
[2 replies] Last: Thanks for help wjee0910. (by bharatLOL)
How to equal Q to q?
 
At the near end of the code you'll see how I tried to capture the capitol Q but it didn't work. Any ...
[9 replies] Last: My thanks again, and I will try to utilize the code tag. I apologize f... (by cheawick)
HELP: Failed to create text file
 
Hi all, I'm new to c++ programming and i'm stuck with a problem of creating new text file. My situat...
[3 replies] Last: It may be an os problem because you may not have the appropriate right... (by coder777)
Bubble Sort...
 
I need to make a bubble sort that arranges the variable known as "reimbursement" from largest to sma...
[2 replies] Last: if i remember right write your code to resemble this put inside a do... (by Lazysquirell)
getting some erros for this program
 
int main() { RetailItem toCheck; LoyaltyAccount cCard, customer, addLoyalRecord; Ca...
[2 replies] Last: cool i see it. thanks another error come as well error no matching fun... (by BLACKHULK)
December 2011 Pages: 1... 424344454647
  Archived months: [nov2011] [jan2012]

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