General C++ Programming (Page 9)

Programming C++ on MAC OS
 
Hello! I started programming c++ on macbook pro and now i am searching for appropriate text edito...
[7 replies] Last: Yes . Eclipse is better than XCode (for C++ , java and ... programmers... (by mrdp)
by hope22
hi..help me finish this one please
 
#include <iostream> #include <cmath> using namespace std; #include <cstdlib> #include <ctime> u...
[4 replies] Last: and the way you are calculating your coins is wrong ,,, you need to ch... (by deepestblue)
there is was a question that i answered before and now it`s done by recursive for who needs:)
 
2. Write a recursive function GCD that returns the greatest common divisor of two integers. Where ...
[no replies]
by Anakin
sorting array problem?
 
Hi all; as a homework i am supposed to write a code to get a file containing a array of integer and...
[no replies]
Reading in TEXT files
 
Ok guys, so I have this program. Menu driven, input a traffic ticket with 8 variables is step 1. St...
[no replies]
by Droid
while loop
 
//Print every odd number descending from 39 int y = 0; while(y <= 39){ cout <...
[1 reply] : You're initializing y to 0, but it looks like you want to initialize t... (by wildblue)
Problem with program "Stopped working" [Beginner]
 
Hello, so I was trying to make a c++ console game "Gallows" for school, and I've noticed, that my pr...
[7 replies] Last: @MiiNiPaa Thank you very much! My code now runs perfectly. Here is the... (by Justas Sam)
array,c++
 
#include <iostream> using namespace std; int main() { int a ; int m; cout<<"enter t...
[3 replies] Last: You cannot assign it for same reason that you cannot do following: dou... (by MiiNiPaa)
vector push_back class
 
how bad/good is this code? I mean, how do you push back class to a vector in other way? is this some...
[5 replies] Last: well obviously, as constructor is called whenever the class is created... (by mekkatorqu)
Undefined Reference Problem
 
Hi all, this is a really wierd problem as I have not come across it before. Some info before I st...
[5 replies] Last: > I thought that if you declare a function in the .h file, but not pro... (by ne555)
Leap Year determination while loop problem
 
For an assignment in my C++ class, I need to create a program which will determine if a year entered...
[3 replies] Last: One more thing: You should add break command after each statement, b... (by Justas Sam)
I need help adding arrays/strings together
 
You will have two file streams: an input file stream for the file to be normalized and an output fil...
[8 replies] Last: #include <iostream> #include <fstream> #include <string> using namesp... (by JLBorges)
by mki
Eclipse cdt binary not found
 
I've installed eclipse cdt for my c++ IDE, GNU G++ for compiler, and GNU toolbox in my linux compute...
[no replies]
Help
 
#include <iostream>//this will include the "std::cout" stream for output to console. #include <cmat...
[1 reply] : Hi, Welcome to cplusplus :+) First up please always use code tags - ... (by TheIdeasMan)
writing a program that computes the factorial of a number and displays it.
 
I'm new to c++ and want to write a program that computes the factorial of a number and displays it....
[13 replies] Last: hahaha. LOL .. Use google my friend. There are already a lot of factor... (by jemeripol)
Help with computeGPA function
 
We are currently working on step wise refinement in class. I created my psuedo code in the function ...
[6 replies] Last: Thanks for all your help bro. It was much appreciated! (by YumBerrys)
I'm having trouble with this, the question is listed in the code please somebody
 
#include <iostream> //ask the user for a set of data, product price & amount. calculate the tot...
[6 replies] Last: Thank you so much @JLBorges You are a life saver (by RLara23)
Get Day from Week Program -- DIRE NEED
 
I need help with my program. My program is supposed to get ask the user a date (MM DD YYYY) and its ...
[2 replies] Last: Er, there's actually a pretty simple formula to get the day of the wee... (by Duoas)
value returning function
 
so I have miscellaneous functions being called in "main". The last function is suppose to return a v...
[2 replies] Last: Hi you have called the function but haven't assigned or std::cout th... (by TheIdeasMan)
Missing middle name and no error message
 
I've a problem here that I can't find a solution for. #include "stdafx.h" #include <i...
[3 replies] Last: Why do you have two topics for this? http://www.cplusplus.com/forum/ge... (by Duoas)
Pages: 1... 7891011... 66
  Archived months: [aug2014]

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