Beginners (Page 121)

Simple math question.
 
I just started taking a class in C++ at school and had a quick nooby question. What happens to the r...
[1 reply] : Do you understand the meaning of double and int in the above code... (by Chervil)
by ps8v9
Template syntax in Stroustrup's Tour
 
Chapter 5 in Stroustrup's "Tour of C++" introduces templates. In chapter 8, however, he uses some te...
[1 reply] : Hmm. The discussion in the subsequent text implies that the template f... (by ps8v9)
by plp384
Why must I put ; before cout when using multi-way if-else statement
 
I am using Microsoft Visual Studio 2010. I am creating a shipping cost program that compares the ...
[7 replies] Last: @keskiverto I just looked at my textbook and it does not have a cond... (by plp384)
How do I initialize a string name for the description of an array?
 
It says that Infantry and Bazooka and everything is not declared in the scope, I made it global vari...
[1 reply] : Use quotes for literal text. "Infantry" etc. (also global variables... (by Chervil)
evaluating an expression of signed and unsigned types
 
hello everybody....could you explain me what happens exactly in this expression ? unsigned in...
[2 replies] Last: #include <iostream> #include <iomanip> int main() { unsigned int... (by JLBorges)
by Sh0Ti
Problem with deleting codes
 
So, I got this annoying problem - some sort of automatic deletion which for the more experienced peo...
[2 replies] Last: That solved my problem. Thank you, very much! (by Sh0Ti)
rand() - From A to B
 
Hello I'm already familiar with the Rand() function, rand () % 50; But how exactly would I ...
[4 replies] Last: @Lorence: That would cause a non-uniform distribution. 7 or 9 would be... (by NT3)
Super nooby question
 
I'm needing for it to read as "blank" "blank" "blank" by Blank" but it will only let me compile t...
[3 replies] Last: thanks, that's all I needed (by evanpowers)
array
 
which is more readable? int anArray ={1,2}; or int anArray ={1,2};
[5 replies] Last: okay thank you (by Lorence30)
Unsolvable error
 
hey everyone. so i've been struggling with this out of space error for the last 6 hours can any one...
[6 replies] Last: how do you issue the command to compiler I prefer GNU make (or bette... (by keskiverto)
What is this function called?
 
I'm doing a practice problem that asks what foo(dat, 7) returns, and it also asks what this function...
[3 replies] Last: Small correction to line 8: std::cout<<foo(dat,7); (by ShodanHo)
Pages: 1... 119120121
  Archived months: [aug2014]

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