Beginners - November 2011 (Page 43)

Wstring, wcin, wcout?
 
What do these mean? Before you say google.. everything I google comes up with the standard "cout" "c...
[6 replies] Last: Well, I personally went to bitlord and just downloaded every possible ... (by WilliamW1979)
Question about copy constructors and overloading =
 
From my understanding the only time you would need a copy constructor and an overloaded assignment o...
[1 reply] : Strings are actually more related to deque<char> or vector<char> then ... (by WilliamW1979)
Cannot convert double to double?
 
It seems like all of my doubles are written exactly the same, but only my first double (3rd argument...
[6 replies] Last: line 67 need to capitalize the "s" void "calcstats" should be "void ... (by kanooter)
by deapee
What would ones ability be after a book
 
Just curious. Let's say someone completely understands a book like "C++ PRIMER," for example. Coul...
[2 replies] Last: Yeah, I feel that. My mind thinks like a programmer. I've always tho... (by deapee)
How to make strings equal a certain number
 
I need this understanding because I am doing a slot machine exercise, and for whatever random ...
[1 reply] : Well, I am guessing you are trying to output to the screen which for t... (by WilliamW1979)
by M987
Inheritance and Polymorphism
 
I am working on a project that require us to use inheritance and polymorphism. The program is not c...
[4 replies] Last: I got it thank you. (by M987)
trouble with a simple loop
 
Good evening! I have been having some trouble getting my code to compile. The task was to write a pr...
[3 replies] Last: Awesome! Thanks for the quick replies and she's running great. It's fu... (by newbprogrammer)
Need a fresh pair of eyes.
 
Anyone see how I can fix this? Everything is running together now. #include <iostream> #include <...
[5 replies] Last: Ok, but before you can do that you must understand how functions work ... (by WilliamW1979)
Can someone help me interpret this code in C? (Tell me whats going on)
 
Can someone interpret this code for me? I dont understand whats going on. This code is supposed to t...
[12 replies] Last: I love the explanation here, the code is crap, the coder is not your f... (by WilliamW1979)
using ceil and floor (1,2)
 
Hello can anyone help me on using ceil and floor. For example, when the grade is 85.678 it will roun...
[22 replies] Last: #include <iostream> #include <cmath> using std::cout; using std::e... (by Moschops)
by sman
for loop help
 
can anyone suggest how to turn this into a for loop? I know that for a for loop, you have to (initi...
[2 replies] Last: Thanks for that great reply. I was desk-checking the while and saw tha... (by sman)
Problem with an array
 
I am writing a program that is supposed to take in integers and add them to an array only if they ar...
[3 replies] Last: I re-wrote the program above. As of right now, I can read the first in... (by rinnamorato)
Returning functions (bool and Image)
 
So right now I have two big problems. I am trying to create a slot machine. There are 4 images I can...
[no replies]
Trouble loading saved data
 
Never mind, figured it out. told it to only use 4 array indexes when it needed 5 I am making a...
[no replies]
Stand alone function!
 
I have this program written to calculate the real roots of a quadratic equation. How can I and what...
[5 replies] Last: No, you just don't understand how to use a function. No worries, here'... (by Moschops)
Help in console
 
I'm trying to make a simple console app that asks for your age and replies differently deppending on...
[3 replies] Last: Next time, do this: 999 == iAge (by Moschops)
use of an object
 
If you have a library that only has functions, and no real variable declarations what's the point of...
[14 replies] Last: Say a function was within a library, a use could implement them functi... (by InterFiction)
Which C++?
 
I have developed some simulations in C++ in the old Borland 3.0 version. They involve only simple m...
[2 replies] Last: Yeah I have to agree that visual studio has a really nice IDE. Very pr... (by InterFiction)
by denZer
Adding char to an array variable (1,2)
 
When I get a user's input of their char, how can I add it to an array variable? For instance: ...
[21 replies] Last: If you want to input a string from the user and then output, you'd be ... (by Moschops)
by hbjgd
Infinite Loop
 
The code I have so far causes an infinite loop. I have both my code and the input from the file. Ign...
[3 replies] Last: Stewbond is 100% correct but i wanted to explain why. I want to point ... (by WilliamW1979)
November 2011 Pages: 1... 4142434445... 65
  Archived months: [oct2011] [dec2011]

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