General C++ Programming (Page 6)

New! Join the C++ community on Google+
by saugat
Guess Game Problem
 
Its a guess game with 4 rounds.. i just need to find the average number of guesses. I DO NOT need t...
[4 replies] Last: Yep, I was thinking lines 71-72 but wrote 83-84. My bad. (by toum)
Sending application with static libraries.
 
i am using MSVS 2010 Express, Visual C++. and i have the allegro libraries linked statically, i was ...
[4 replies] Last: oh wow, that was very informative, thanks a bunch man! (by Naughtyusername)
Need help
 
Why does this not display 2% when it outputs all the answers. It does the calculation of 2% fine but...
[5 replies] Last: Use code tags. Can't see any changes from the first post... #include... (by Maniax)
GCD AND LCM
 
How to find GCD AND LCM of two numbers in c++? help please..!
[no replies]
How to display tax from this code.
 
cout << " Tax deducted:" << tax << endl; cout << "Total Balance : " << totalBalance << endl...
[no replies]
I need help with the program
 
Here is the question 1. Write a function convertArray ( ) that takes an array of integers a, and ...
[1 reply] : You use return before the loop terminates therefore you get a false va... (by Maniax)
How to check if std::cin (or stdin) has data in it's buffer.
 
Hi guys, I need to be able to check if an input buffer (in this case std::cin or stdin) has dat...
[3 replies] Last: I was able to get what I wanted by just having my Qt framework call a ... (by snow 56767)
Final assignment need immediate assistance
 
Using the code that i will post below i need to add in certain functions that I will list in a momen...
[1 reply] : #include <iostream> #include <string> #include "main.h" #include <std... (by RogerWang)
Opening File Help
 
Hello. I am attempting to open up a file and display it to the screen as a tic tac toe board. The fi...
[6 replies] Last: Get yourself a piece of graph paper and a pencil. Pretend each square... (by Duoas)
How to loop a list that is in a list?
 
Hey all smart people! I have a question about list. I have create a list in the main program tha...
[1 reply] : How would you write it for a single parents object? Take how you woul... (by cire)
How to work out %20 in c++
 
Need help working out 20% of the interest. the program asks if to tax interest the user selects y or...
[no replies]
Hoare's Sort
 
Where am I wrong with the breakdown on the algorithm? For: 33 6 21 12 19 29 38 22 14 40 ... what i...
[1 reply] : I don't believe either of those sequences are correct. The pseudo cod... (by cire)
ifstream help
 
Hey there C++ codies, I need some help again. I'm supposed to open a file that is provided by the us...
[1 reply] : maybe your file doesn't exist. Program works for me. C:\Temp>testxx... (by SamuelAdams)
HELP WITH CODE!
 
For some reason this code isnt working that well...I need to input the users gender then based off t...
[1 reply] : if would help if you used code tags I don't know what this is but it ... (by SamuelAdams)
Reading Specific Data From txt file
 
I'm having a little trouble getting my program to read specific data from a text file. This is the ...
[1 reply] : To fix this i had to gut the program and start over "almost". moved ... (by SamuelAdams)
Need help with taxes.
 
I need to amend the code below so that tax can be deducted from interest. the programs needs to giv...
[no replies]
need help with code using arrays
 
I have a code and i am using arrays and it is mostly completed. What im doing is getting the average...
[no replies]
Data strucuture c++ exercise
 
I have to do this: Information on the sale and purchase of a company will be saved in a data struct...
[2 replies] Last: It is ok now? How can I improve it for the program do that exercise sa... (by manutmac)
Need help with C++ work
 
In your program, define a class called Tracker that will track fuel and mileage for a jet. The class...
[1 reply] : Please use code tags. your compiler should show you the conflicts. (by SamuelAdams)
Simulation program
 
I'm making a simulation for severals queues. I'm supposed to input number of queues in the beginning...
[no replies]
Pages: 1... 45678... 76
  Archived months: [oct2012]

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