Beginners - October 2013 (Page 10)

Do/while loop works with vectors??
 
Hi everyone, I started with a code to calculate the final grade of the students asking for input ...
[4 replies] Last: I see; with cin.clear() it worked. Thanks a lot ne555. (by Rodderick)
Help needed with this C++ code (distinct occurrence related)
 
Hey there, I am supposed to write a code that counts "how many times each distinct word appears with...
[3 replies] Last: Again, look at your vector after the std::unique() s == s[i-1] woul... (by ne555)
Need a little clarification on the >> operator.
 
In my attempt to gain a less superficial understanding of it, I learned that the >> operator, which ...
[3 replies] Last: When I was first learning C I missed a } somewhere, and spent a week a... (by Duthomhas)
Error C2109 array or pointer type
 
I'm trying to code a 20x20 array, filled with zeros. I keep getting an error C2109 saying that my ...
[4 replies] Last: Thank you! (by hseipert)
Help?
 
}This C++ question is related to Temperatures and , i was wondering if anyone you will help me on th...
[1 reply] : This C++ question is related to Temperatures Your code is in C and n... (by Chriscpp)
Iteration and Interpolation
 
The problem is as follows: Your task is to find the four solutions to the equation sin(x) = exp(-...
[4 replies] Last: Alright that makes more sense now... It's still returning the wrong er... (by dkarayof)
What to do?
 
“There are three freely convertible currencies in the Galaxy, but none of them count. The Altaria...
[no replies]
by Ediie
Please help!!
 
Hi guys, I need help with an assignment. I'm very new to C++ (in 8th week of learning) and I don't k...
[2 replies] Last: A better code would be like this: While Read a line from the input f... (by Chervil)
Help with my home work please, program that prints stars
 
Hey guys I've been trying to solve this but I couldn't .. Writing a program that prints stars , so...
[19 replies] Last: It works believe me ;D Eyenrique-MacBook-Pro:Help Eyenrique$ ./fig... (by eyenrique)
player gradually slows down
 
my player gradually moves slower and I don't know why. The game starts at regular speed, but slows d...
[no replies]
by Ratham
Map Insert Not Working (Read Latest)
 
I'm trying to open a file & create a map that contains codon/amino acid information. I'm really bad ...
[11 replies] Last: Since you only do iss >> word; you only extract the first word from ... (by closed account o3hC5Di1)
Inheritance question
 
I dont really know what my problem is called so if you have a better subject name pleas tell me. ...
[5 replies] Last: class menu{ public: virtual void draw(); }; class classic_menu: pu... (by ne555)
need basic if statement help
 
Ok, so I am making a basic number calculator using if statements and I have most of it done, and cor...
[6 replies] Last: No problem :) Sometimes, it's hard to see what's right in front of yo... (by MikeyBoy)
by damog
error: expected initializer before ‘sprintf’
 
Hi everyone! I'm starting (again) to write C (in this case C++), but it has been a long time since I...
[2 replies] Last: If you're going to write a long C program (if not for the <iostream> a... (by Albatross)
creation of data file
 
i want to create a simple text file in c++ but i want to take the name of the file from the user.i h...
[2 replies] Last: @ne555 Thanku for atleast replying. I corrected my code without anyon... (by baka291)
Are there any games written in C++?
 
I have been learning C++ for about 2 months. I am now learning file and ifstream. I'm just curious ...
[8 replies] Last: Thanks Stewbond! It is very informative. It seems I still have a long ... (by athrun200)
Filling a character array with a string.
 
I need to fill an array with a string that is input by a user. I think I need to use a dynamic arra...
[10 replies] Last: Thank you for the input, I appreciate you not just giving a solution, ... (by visanoven)
by enemy
Double to int
 
Hello! I tried to convert double number m to integer. Problem is, program is automatically convertin...
[5 replies] Last: I think the previous comments probably give the correct answer. My qu... (by Chervil)
Help! simple if and else statement password!
 
I'm trying to make a simple password using if and else statement. My problem is It keeps saying "Acc...
[2 replies] Last: Wow! Thank you very much! I'm trying to figure it out for about 30 min... (by Eren Jager)
Class Operations & Throw Exceptions
 
I am a little hung on on completing this program The assessment asks us Following the information...
[1 reply] : how to go about coding methods RockConcert::sellTicket and, RockConce... (by coder777)
October 2013 Pages: 1... 89101112... 86
  Archived months: [sep2013] [nov2013]

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