General C++ Programming - October 2014 (Page 25)

Farm Program
 
I need help making a program using public and private classes. I need to make a farm of five animals using the class Animal and the class has to contain charact...
[1 reply] : Create a class (i.e type definition) in global space. Create a private... (by ldelsignore)
permutation help
 
I am trying to generate two arrays from one big array, of which the sum of the 2 array's elements are as close to equal or equal to each other if possible, or o...
[4 replies] Last: Thank you so much! That makes a lot of sense. (by aarjm123)
Merging Dynamically Allocated Arrays
 
I am having trouble with merging the two dynamically allocated arrays I have made according to my teacher's instructions. Can somebody please tell me how I can ...
[no replies]
student line up using c++ strings
 
Hi, i am having a small problem with my code. Everything seems to be working but one part #include <iostream> #include <string> #include <fstream> u...
[2 replies] Last: thank you, that fixed the problem. (by HollowSCV)
please help
 
.....................................
[13 replies] Last: ......................................................................... (by closed account 4y64izwU)
by R23MJ
Open a program in Wine, on Mac?
 
So I have a simple Hello World program written in c++, in Visual Studios '10 Express to be specific, and I was wonder how I can open in on my OS X? I Have tried...
[12 replies] Last: I can't say any of my programs written in c++ have ever display simila... (by R23MJ)
help fast plz
 
no matching function for call to 'student::set(std::istream&, std::string&, char , int&)' error is the line after the arrow ( -> ) -------------------------...
[9 replies] Last: Well I am getting wrong numbers but i dont think its caused by the mix... (by mr kutch)
Problem with my programming book
 
Hello, I have recently bought the book : programming priciples and practice using C++ by Stroustrup.My problem is that the exercises in the book have to be solv...
[no replies]
Vector Cross Product
 
Dear all, I am trying to compute the cross product of an 1x6 column vector "D" with a 6xN matrix "S". vector< vector<float> > D(1, vector<float>(6)); vector...
[2 replies] Last: Dear helios, I did mean the matrix product, thanks for the clarificat... (by louisvallance)
payroll of the company that have at least 5 employees
 
Please help me with my case study..: Make a c++ program of the payroll of a company input values : a. Name of Employee b. Position in the company c. No. ...
[no replies]
by ryan09
payroll of the company that have at least 5 employees
 
Please help me with my case study..: Make a c++ program of the payroll of a company input values : a. Name of Employee b. Position in the company c. No. ...
[11 replies] Last: help po ganito rin yung problem ko (by Johnmark)
logic_error not caught
 
// SEE POSTS BELOW FOR UPDATE #ifndef SRC_ERROR_HPP_ #define SRC_ERROR_HPP_ #include <stdexcept> #include <string> class Error : public std::logic_error {...
[7 replies] Last: Damn it .... I totally forgot that what() doesn't call the cout or any... (by oleg9419)
by Kubani
No appropriate default constructor available
 
Hi, First I wrote a Binary-tree class to draw a binary tree on the window. The nodes were small circles. Then I become wanted to change the shape of the no...
[4 replies] Last: Thank you very much for those great guidance. (by Kubani)
Help, can someone find the problem.
 
#include <cstdlib> #include <iostream> #include<conio.h> using namespace std; int main(int argc, char *argv ) { system("color B2"); cout<<"****...
[1 reply] : Please do not double post, this clutters the forum and spreads attempt... (by MiiNiPaa)
Using the same declaration value more than once
 
I am trying to make a menu program and was wondering if there is a way to declare something more than once without using a different word. ex. #include <...
[4 replies] Last: A better structured solution would be int main(){ main_menu(); }... (by helios)
Homework Help needed
 
Hello I'm doing C++, had some really hard problems with the following questions. I'm using code blocks and wondered if somebody can give me the answers to these...
[3 replies] Last: There seems to be no way for that to happen, the implementations are s... (by Smac89)
Loop array and sum error (Homework Help)
 
this is part of a cash register program. I want to receive client order by input item_to_buy, and calculate the sum by total_price. However, when I use for loo...
[no replies]
Please help with "check" code
 
Ok so I have to make code print this like a check. date: 2/13/2014 name: William Schmidt amount, dollars: 23 cents: 30 payee: Office Max your check:...
[3 replies] Last: opps never mind I figured it out thank you very much! (by michaelmhmhmh)
how can i open other .exe new console?
 
Main console: qwer.exe Secondary console: asdf.exe System(c:\\asdf.exe); I wanna open this asdf.exe new console. Not in the qwer.exe.
[1 reply] : If you want your program to wait until the other program terminates: ... (by Duthomhas)
Help with if then statements
 
I am working on a simple program that finds the tuition amounts for students. I prompt the user to enter i for instate or o for out of state. And if the user en...
[3 replies] Last: Thank you (by jonmackey22)
October 2014 Pages: 1... 2324252627... 38
  Archived months: [sep2014] [nov2014]

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