Beginners (Page 53)

Name of this function?
I'm asked for the out put of a code, I calculated it, but it's also asking me for the "name" or what...
[no replies]
Please help me understand/fix this.
I made the mistake of taking this intro c++ class and I am incredibly frustrated and confused. I ...
[1 reply] : This sounds like a job for a sorting algorithm the simplest one woul... (by Hertz)
C++ Encountering Errors
Hello, I am new to these forums and for the past two days have been experimenting with C++. I code...
[1 reply] : line 120 - you don't need the data types in front of the arguments sen... (by wildblue)
Counting lines from file and diplaying them in reverse order
I want to count the lines from input.txt and to display the lines in the output text in reverse orde...
[1 reply] : fout << s; // s=0, why? because std::istream.getline() uses the '\n'... (by Yanson)
Flipping a matrix array
I'm trying to flip a 4x5 matrix so that the rows will be in reverse order. For instance... 1 2 3...
[3 replies] Last: For example, when count is 7 i and j are also both 7. Are they? Let... (by keskiverto)
Clear the output
Hey! I need some help, i want to get rid clean the output after certain thing happens, but not sure ...
[1 reply] : (by rafae11)
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)
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... 515253
  Archived months: [aug2014]

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