General C++ Programming - September 2013 (Page 17)

Overloaded Operator function in main
 
I don't exactly know how to test my == friend function in my main. Any help would be appreciated. ...
[3 replies] Last: Thank you for everyones input it helped alot Cheers. (by dmkavanaugh1s)
theater reservation
 
[1 reply] : Did you create the file? (by Zhuge)
Using a map against defined input
 
What I want to do is have a defined string as the input and use that to run it against the keys, so ...
[6 replies] Last: @JLBorges, Thank you, I used the basis of your code and got everything... (by closed account GL1Rko23)
SFML 2.0 changing alpha
 
I want to change the alpha of a sprite without changing any other colours do you know how to if it c...
[4 replies] Last: Shit. I read it wrong, getting late where I'm at and my brain is not ... (by closed account 1yR4jE8b)
by Cinolt
Inheritance info lost in container?
 
Code mostly speaks for itself: #include <list> #include <iostream> using namespace std; str...
[8 replies] Last: Then keskiverto's code snippet would work fine. Raw pointers only res... (by Daleth)
perfect number problem
 
write a program asks the user for a positive integer value and then prints out all perfect numbers f...
[4 replies] Last: Nevermind. figured it out. Thanks anyway. (by kashif1)
Destructor is called after copy
 
Whenever my copy constructor is called, my destructor destroys is immediately after. My copy co...
[1 reply] : The copy constructor is called twice, once when you pass an object by... (by cire)
User Input Set Difference w/ Characters
 
I'm looking to create a program that takes a set of 10 user input characters(could be numbers, lette...
[no replies]
Fields
 
Dear citizens of the world, Question: How can we write functions to access various fields? E...
[5 replies] Last: Coder777 -- Figured to create a class. Thanks! :) (by closed account S3TkoG1T)
Html conversion program
 
Hello gurus, i have a program that converts document files to html , however there's a very strange ...
[3 replies] Last: try converting a doc file(say test.doc) to html, it would create html... (by helios)
by maniac
Headers
 
Hi guys! I want to use two header files in my program. Here is exactly what I want to do. -In the...
[5 replies] Last: Thanks @andywestken, I will look more careful to the header guards :) (by maniac)
Polymorphism method issues
 
I have an abstract class called "Element" and in another class I have a variable std::vector<Eleme...
[2 replies] Last: To be consistent with the signature of your method MyClass::addElement... (by andywestken)
Finding nth number of a sequence.
 
Hi, I have to write a program to find the nth number of the Ulam numbers. It's a bit complica...
[4 replies] Last: I don't there's much more we can say to help. Perhaps if he had done h... (by Duthomhas)
Point Class Doubt
 
Hello everybody, I m currently taking the object oriented C++ class, and i m involved in my first pr...
[3 replies] Last: First a coding style comment. Variables should have meaningful names.... (by doug4)
having trouble with an if else statement
 
In my computer science I class I am having trouble making my program make decisions, in this project...
[2 replies] Last: http://www.cplusplus.com/articles/z13hAqkS/ (by SamuelAdams)
by moreme
I dont know the error for the code
 
Hey Guys, I tried to develop a simple Program which finds out a number is prime or composite, but t...
[8 replies] Last: http://www.cplusplus.com/articles/z13hAqkS/ (by SamuelAdams)
inserting an image to display in output
 
HI guys.. plss help me.. :( how to insert an image to display in output on c++..plsss help me:(
[3 replies] Last: I would agree with Duoas. Download SFML and start learning how to use ... (by Mats)
error LNK2019 HELP!
 
I know there are a few posts about this error but I've looked at them and haven't been able to solve...
[11 replies] Last: You're welcome. I diddn't realize you couldn't realize you can't cal... (by norm b)
8. Total Purchase
 
Hello, this is tetricsteel. I am posting this forum to see if anyone can help me in reguards of thi...
[3 replies] Last: The output rounds the last digit. So if you have 67.57639 it will get ... (by Duthomhas)
how can i made a Drop down list in SFML ?
 
how can i made a Drop down list in SFML ? Please help me , this drop down list contains names of di...
[10 replies] Last: #include <SFML/window.hpp> #include <SFML/system.hpp> #include <SFM... (by Luke Stones)
September 2013 Pages: 1... 1516171819... 36
  Archived months: [aug2013] [oct2013]

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