Beginners - November 2012 (Page 72)

Friend class can't find it's friend - No such file or directory
Hey all I created two classes, Student and Course. They are friend classes. Each class has fiel...
[2 replies] Last: Actually it didn't seem to be the problem, but after I moved all the #... (by achieven)
How to display top ten words
I need to display the top ten words that the program reads from the file. but I have no idea how to...
[6 replies] Last: ohh okay, I got it! thanks AbstractionAnon! (by fahrishb)
runtime error
why m i getting runtime error in the code ? the array is very small!!!
[4 replies] Last: ┬┐detailed logic? ┬┐where? I traced the code through using a debugg... (by Chervil)
Visual Studio: Internal Headers
Hey everyone, I decided to try Visual Studio as I have a free license via university. I normally ...
[1 reply] : the lecturer told us that it is good practice to use both an external... (by Moschops)
how can i call an objects function from within a function
so i have a class with a function, my object now has this function that i could call, how could i ca...
[12 replies] Last: you know cire i was thinking that there was a problem because i had to... (by devonrevenge)
by asdfgh
calender program help *
hello i need help with my programming class(high school) i have most of the code but i cant manage t...
[4 replies] Last: You were asked to use code tags when posting code. You need to sp... (by AbstractionAnon)
How to retrieve and then add
Im trying to retrieve the txt file workers.txt and leave the information on the file that is already...
[2 replies] Last: Excellent! Thanks Moschops. Heres the code for anyone that didn't unde... (by Showdon)
passing 2d array into functions by ref m not able to correct the mistakes in passing array by reference to a fu...
[5 replies] Last: thnx (by vgoel38)
why my time is error ? help help help
//this coding is need to user enter detail.. after that, to put the password.. if password is correc...
[2 replies] Last: Well, the program seems to compile. But there is a great deal wrong wi... (by Chervil)
by mm4rs0
Usage of Bignum Libraries
Hey, I have a factorial program, and I need to use Bignum libraries, but I can't figure them out. I...
[9 replies] Last: [quote=Chervil]The library does seem to work, but takes forever to act... (by Chervil)
What's wrong?
string GLOBAL_arrayInventory ; int GLOBAL_intItemNumber = 0; void addItem(st...
[3 replies] Last: Now when I run an inventory check with more than one item in the inven... (by trynreadme)
Help with overloading functions
hey there, this is my code and I need help figuring why im getting an error: //fraction.h #incl...
[5 replies] Last: Yeah you're correct, my bad. I'm thinking of operator += which does m... (by Moeljbcp)
Assume the following C variable declaration int *A ; I have a doubt whether A is valid or no...
[1 reply] : Well it depends on what is at A . For instance, the following would b... (by shacktar)
by mt0527
Reading .txt file into array. Bowling Game!
Hi guys, I'm working on a school project. Basically, I have a .txt file with integers in it. They ...
[3 replies] Last: What you could do is take out the cout statement in the for loop so th... (by Longazan)
Issue passing array to function
I have an array of test scores that I want to pass to a function and I think I have done that part f...
[1 reply] : scores.size() is not a valid expression. If scores were a vector it m... (by Moeljbcp)
How can one create a function whose input is 2 strings ( representing an existing filename and a new...
[5 replies] Last: Thanks but how can we make the whole program run? do u mind writting d... (by princesslumy)
return not working properly?
Hi, I am having trouble with returning a parameter from one of my functions. Can someone help? #...
[2 replies] Last: Yup, I want it to truncate, thanks though it works now! (by rockclimber9up)
by guiyii
problem about void function
What's the problem of this code,I want to use this function to increment the value of win,but it doe...
[2 replies] Last: Thanks very much, I've stuck on this for a long time. (by guiyii)
by Feyy
Abstract Classes
I have an inheritance hierarchy with 4 classes as illustrated below: class A || ...
[3 replies] Last: But you end with the same number of arguments. The setters approach wo... (by ne555)
Compiler error in dynamic array of structures declaration
Hey all! I'm currently learning C++ using Stephen Prata's C++ Primer Plus and loving the adventure...
[8 replies] Last: Ahh good catch. Ya, I meant to use the first. While a small program so... (by Raezzor)
November 2012 Pages: 1... 7071727374
  Archived months: [oct2012] [dec2012]

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