Beginners - October 2012 (Page 45)

by unit56
Not sure whats wrong
 
I may be derping, and yes i know this is not the most efficient way to write this program but it has...
[2 replies] Last: I will give you a special equation: int inputInHours, days, hours; i... (by Moeljbcp)
Having a Blonde moment
 
I keep getting parse errors before else and return. I've tried indenting and also switching to if/el...
[4 replies] Last: Knew it was a blonde moment. Thank You. (by Badeskimoz)
invalid initializer
 
I have an error in line 11, "invalid initializer". Any suggestions? #include <iostream> #include...
[4 replies] Last: Awesome! You've been a big help man. /solutesloppy (by ProductFailure)
by Tate
How to insert an "endl" at a certain place in my program?
 
I'm trying to figure out how to insert a new line at a certain place in my program. I'd like to hav...
[2 replies] Last: Doh! Such a simple solution. My bad. Thank you for your input, Abst... (by Tate)
Just plain stuck
 
I have been working on this program for 3 days and keep getting the same one error code, I was hopin...
[1 reply] : Line 13: You have a forward declaration for the function displayChar w... (by AbstractionAnon)
by Magikk
Need help with array's and storing SSN's.
 
In this assignment, you are going to write a program that keeps track of the social security numbers...
[1 reply] : You are probably going to want a function to add records. Your assign... (by AbstractionAnon)
Is this ok?
 
I wanted to create a function that simply opens a url. previously i tried shellexecute() which wo...
[no replies]
getArea function is only returning 0
 
I'm doing an assignment where i need to have a user create a triangle and I have a separate .cpp fil...
[11 replies] Last: That would explain it. You could try using a more precise value for PI... (by Chervil)
C++ Question Function Overloading
 
Thanks, Vlad for helping me solve this!
[9 replies] Last: Thank you both! (by Fulslion)
Only adding odd numbers
 
So I have got these integers to add up and give the sum but I'm not sure how to place it so that onl...
[1 reply] : #include <iostream> using namespace std; int main() { int i; i... (by freddy92)
by Ryusko
Creating vector of objects
 
So I'm teaching myself c++ after having learned Java, and I'm making a basic rpg type game to do so....
[3 replies] Last: That worked, thanks, overlooked that vectors were part of the standard... (by Ryusko)
by mm87
I'm having C++ problems on college work?
 
I have a college assignment where i have to create a program in a lesson but when trying at home i a...
[1 reply] : #include <iostream> #include <string> using namespace std; int m... (by freddy92)
Loop not working in Polynomial Class
 
I have a polynomial class. This function adds two polynomials together by inserting the terms of the...
[no replies]
passing vector as a function
 
I'm creating a function in which a vector is being passed. In the .cpp file I have the following...
[3 replies] Last: When you will call the function you specify the required element of th... (by vlad from moscow)
SOS
 
This is driving me nuts! I finally got the box to output but now I have the problem that nothing is...
[3 replies] Last: Hey thanks I have fixed and moved on to a new problem which is LOOPS! ... (by jlillie89)
for Loop with a false value
 
I was wondering if there was a better way for me to have addressed a user puttin in a value that was...
[2 replies] Last: I haven't learned arrays yet.. but will definitely keep in mind for th... (by BrooklynMommy)
by fmdub
Can't seem to get headers to work. Using Visual C++ 2008
 
I'm trying to write a basic program using class/function header files and can't seem to get this to ...
[3 replies] Last: #1 you don't have to include <iostream> in header.h, but it does mak... (by andywestken)
what is the most simple as possible program you could build that uses this evil '<-' bastard
 
im gonna go for the graduation in the beginner exercises on this forum http://www.cplusplus.com/foru...
[12 replies] Last: ooh shiny, i like that, wish i found that in the dev tutorials...could... (by devonrevenge)
One small problem (very simple fix, but I don't know how) -
 
#include <iostream> using namespace std; void main() { double x; double y; double z; ch...
[5 replies] Last: But, as long as you don't need exhaustive floating-point precision, I... (by Disch)
by skarla
SDL
 
Is anyone who learning sdl at this moment too? If yes he can give his skype so help each other.
[no replies]
October 2012 Pages: 1... 4344454647... 84
  Archived months: [sep2012] [nov2012]

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