General C++ Programming (Page 54)

by Masada
Copy and Overloading constructors
I figured this is the best place for this type of issue. I don't understand how to implement these f...
[1 reply] : That's right! CandidateList(const CandidateList& other); ... (by LazaroBinda)
Casino Betting Game
I am trying to create a casino game using functions that allows the user to play any of 4 games as m...
[no replies]
[urgent]Priority Queue
I implement copy constructor for priority queue like this, is it right? PRIORITY_QUEUE<T>::PRI...
[2 replies] Last: thnks, anyone help "insert" and "heapify" (by nightmaregiba)
How to skip a block of commands when the user interrupts?
I am working on a program that does something like this, Void main() { cout<<"H";timedelay(1); cout...
[10 replies] Last: I know that the keyboard buffer isn't the input buffer, and it just oc... (by Esslercuffi)
Need help with removeName and findName in my program #include<iostream> #include<vec...
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
Clear part of the screen
Is there any way I can clear only a selected part of the screen? (I'm aware of system("cls")) For...
[1 reply] : I just went over this in another thread: (by Esslercuffi)
by toast9
counting nodes in binary tree
I'm trying to count the number of node in a binary tree. I have a public count function that calls a...
[2 replies] Last: yup, that was the problem. Thanks. (by toast9)
Get value from String containing Variable Name?
As written in the title, I want to be able to extract a variable value from a string containing the ...
[5 replies] Last: I thought I would add this in because it solves my problem completely ... (by dominover)
2D/3D arrays with files
Need help understanding how to use 2d arrays with 3d arrays. First part is the program and below tha...
[no replies]
Need help on this problem please.
What will this C++ code output? Having some trouble on this problem, what is the output for this co...
[2 replies] Last: since you're starting at i = 0 and going as long as i is <5, there wil... (by toast9)
Packet Class
Hi, I've been working on this program but i keep getting a LNK2019 error "Error 1 error LNK2019: u...
[1 reply] : Found my error. Transmit() isn't part of my packet class. Needed to us... (by gamerguy314)
Please Help meeeee!!!!!
Guys, i have spent 2 whole days on this program and I just cant get it to work correctly. So it c...
[3 replies] Last: so i guess no help??? Saw the original post. No code tags so there... (by pheininger)
need help
need help writing RemoveName and Findname in my program #include<iostream> #include<vector>...
[no replies]
by Ndrewm
Structures function
I'm writing a function that compares two fraction. if the fractions are equal it returns 0. If the f...
[4 replies] Last: Well, you must remember that main() cannot be type void it must al... (by ostar2)
cpp file not opening correctly.
When I try to open the cpp source in Visual Studio, it just opens a blank notepad window. The cpp fi...
[5 replies] Last: I guess it's back to square one then. (by Hank Hill)
Template with a specialized template class parameter. How?
I think my problem is best explained with how I want the code to look. Only problem is it doesn't wo...
[4 replies] Last: Thanks again JLBorges. You introduced me to some new template ideas an... (by mrmonkey)
HomeWork Help!
Can some one help me or give me hints on how to write the following program: http://i60.tinypic.c...
[3 replies] Last: Definitely row by row, they are subsets. (by giblit)
adding node to linked list, seems like when my node picks up new variable, first node changes to that
I am adding reference of node to linked list, but when node picks up the new variables, my first nod...
[no replies]
Help with loop for Averaging
I'm having trouble figuring out how to average the numbers 1-N where N is the user's input. All of w...
[6 replies] Last: How would you find the average of all even and odd numbers? (by Tdog1995)
by hanest
user input of significant figures
hi i am writing a program that computes the simpsons rule, i would like the user to input how many s...
[no replies]
Pages: 1... 5253545556
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.