General C++ Programming - November 2013 (Page 27)

Minumum spanning tree
 
Hi guys.I have a homework about Minumum Spannning tree in the order that Prims's algorithm includes ...
[12 replies] Last: Ah. I often refresh to make sure I am posting something useful, but la... (by Duthomhas)
Adding random numbers
 
I am designing a math program for kids. I want the program to produce 2 random numbers and check the...
[9 replies] Last: AeonFlux1212 gave you a really good anwser with 2 of the abilities of ... (by joseph8)
Exponential Power Function
 
This is my assignment, please look at my program and give me any tips? (I'm not quite sure I did it ...
[1 reply] : well your code looks complicated - you only need one loop something l... (by mik2718)
Cannot figure out how to call a binsearch function Help
 
I want to call in a binsearch that searches through my function for a value typed in by the user but...
[no replies]
C++ / Win32 API
 
Recently I decided to start with some Win API and C++ (since C++ is the language I really love and e...
[9 replies] Last: wxWidgets is certainly underrated. The main advantage I see in Qt is Q... (by closed account S6k9GNh0)
2d array using txt file
 
so i have an assignment part as follows:- Complete the class CAI: Write the definitions of all t...
[no replies]
How to add arrays/how to get the sum of two arrays
 
Basically on this assignment I must write program that inputs two positive integers of at most 100 ...
[2 replies] Last: Based on the title of the thread I assume you at least have the part d... (by closed account zA9T0pDG)
change switch loop to if
 
Trying to change this siwtch loop into an if. the problem is that I want to ´´break´´ after each...
[2 replies] Last: I've not done any C++ in awhile, but that else shouldn't work or if it... (by closed account zA9T0pDG)
need some better ideas urgently!
 
i am a moderate programmer and my programming style is to be user-friendly. in next 3-4 days i want ...
[5 replies] Last: Try Tweaking things for ubuntu or fedora. like change the normal way o... (by Piyush Laad)
Code help: Blackjack
 
I get so many errors and I have declaired things like int iCard ={0}. and the i,j,m,l,k are not def...
[4 replies] Last: yes thank you (by stardust2552)
loop randomly
 
Is it possible to loop randomly for example for ( int i = 0; i<= 6 ; i++ ) I don't want i to acse...
[4 replies] Last: @lordahmed then you should have asked that directly.... (by Rocketx100)
by unik
Why doesn't my program work?
 
The goal is to execute this but my program doesn't execute the results. "Here is your answer: The...
[1 reply] : Your Compute_FV and Report_FV functions aren't being called anywh... (by MikeyBoy)
by PAARU
Deterministic Finite Automata implementation
 
Can anyone implement a determinisitic finite automata by reading from a text file that looks like th...
[1 reply] : Yes. (by helios)
Target heart rate
 
Your Target Heart Rate is the rate at which your heart should beat to get the maximum benefit from a...
[7 replies] Last: You're welcome. Glad it worked out. (by MikeyBoy)
by print
segmentation fault
 
hi all.. i was stuck at this problem for quite some time. i do not know if my program will produce a...
[6 replies] Last: i find the problem when i ask my friend, now i am trying to finish it.... (by print)
Letter Frequency count
 
Hi, I am new to c++. I am writing a program that reads in a text file and gives a count of how many ...
[1 reply] : Hi! At first, you'd better format your code with [ code ] tags (see b... (by rodiongork)
by QataJo
Initalizing???
 
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; void DisplayMenu(...
[3 replies] Last: Please use code tags http://www.cplusplus.com/articles/z13hAqkS/ The... (by Yanson)
ifstream selectively read in information
 
If I have a data file.dat like this, for example: ... other information ... physics: 4,5,6,7 ...
[3 replies] Last: > every data in file.dat is useful, they need to be read into differen... (by JLBorges)
by unik
I need help please!
 
I'm stuck and dont know how to turn FV = P ((r+1)^N-1)(r+1)/r into c++ code. where, r = R/5200, th...
[3 replies] Last: double FV = /*expression*/; return FV; inside Compute_FV(). Or just... (by helios)
Gratuity Calculator
 
Hi all Im supposed to create a program that designs a Tips class that calculates the gratuity on a r...
[1 reply] : tip.computeTip(100, 20); should be tip.computeTips(100, 20); ... (by Yanson)
November 2013 Pages: 1... 2526272829... 46
  Archived months: [oct2013] [dec2013]

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