Beginners - October 2013 (Page 13)

Value always returned as 'nan'
 
I am running into trouble adding a variable to itself. I am trying to make a while loop that will as...
[7 replies] Last: I'd prefer to get my code working but i will check out that code. And... (by Pmiccich1)
Linked list help
 
Hello all I am trying to read in data from a file and while the program is still reading the file I ...
[no replies]
by vrakas
linked list in c
 
linked list in c -------------- hello i hope you can help me on this. the user gives you a numbe...
[no replies]
Consecutive prime sum
 
I need to find "Which prime, below one-million, can be written as the sum of the most consecutive pr...
[no replies]
HELP ABOUT LINKLIST POLYNOMIAL
 
Write your question here. How to modify the addterm(), polynomial add()? #ifndef POLYNO...
[1 reply] : You would need to post linkedListType.h to get an exact answer. I will... (by ats15)
by anzhit
Vector as a class member
 
I am writing the followinf class to store marks in a assignment. Using a vector of floats. I keep on...
[2 replies] Last: Firstly, vector<float> marksvec(); The above statement does not decl... (by abhishekm71)
need help urgent
 
please help me out it is assignment of my class plz somebody solve this Write a program that in...
[9 replies] Last: You are welcome anytime, it was pleasure. (by Zaki Al Qudah)
C++ classes and inheritance
 
Why in void ClassB::count() the ++plus does not work? Can someone explain please. And how would be t...
[5 replies] Last: It works all fine but i need the line 21 to stay. Is there any other o... (by DJOGUREC)
hello, newbie here. Got a quick question on basic File I/O
 
Hey there. Before i go on, im gonna say thanks for any help in advance. So, I want to make a file...
[6 replies] Last: thank you, for what its worth hehe (by Sobroski)
Please review my simple way of making a game inventory? Is it practical?
 
I'm working on a small side project for a class, but I am in a bit of a mix-up. I got to the part ...
[6 replies] Last: Yeah that looks like how I wanted to do it. However, I am unfamiliar w... (by Tiger58)
by wirowi
understanding loops
 
Hello everybody! I am really really new to C++ and programming in general. I'm just turning 2 wee...
[2 replies] Last: Oh, thanks! I can't believe I missed that! Rookie mistake, huh?! Than... (by wirowi)
Executable that tells you your IP?
 
I'm new to C++ and programming in general (I'm in my first programming class) and I have a quick que...
[1 reply] : There are such programs, so it is possible. However, is it OS-specific... (by keskiverto)
How do I access a function of a class from another class, from the main file?
 
I hope it doesn't sound confusing, I will try to give an example of what I am trying to do. #incl...
[2 replies] Last: I see, I had the wrong idea of inheritance. Appreciate it. (by Tiger58)
Begginer simple program help. (math related)
 
Here is the assignment (not for marks). Situation A palindrome reads the same both ways. The l...
[3 replies] Last: Skipping the first part: Code a solution that outputs all palindromic ... (by JLBorges)
function does not take 1 arguments?
 
Hey guys, so for my college class we have a project where we prompt the user to enter a sentence, th...
[9 replies] Last: Another thing I'd like to add, you do not have a return statement in y... (by abhishekm71)
Small problem but need help
 
Write your question here. cout << "Enter your guess: "; #include "stdafx.h" #inclu...
[3 replies] Last: no, you will all those brackets, when one bracket is missing, you will... (by nvrmnd)
Cin Problem../quesiton
 
Program asks how many people contributed to a company. The user has to input the names and money....
[2 replies] Last: Oh.....! Thank you so much! (by Doc 4141)
by leo255
Finding Prime Numbers...What's wrong with my program?
 
I'm kind of stumped on this one - I'm not sure what I'm doing wrong. Everything in my program is wor...
[6 replies] Last: This may help! :) http://www.cplusplus.com/forum/beginner/101355/ (by eyenrique)
using functions for file streams
 
My program is supposed to take an infile and calculate the average of scores for each student and ou...
[5 replies] Last: Okay nevermind...I figured it out. (by afleury1)
static int does not work! Help?
 
i always remains 0. Any idea why? (This is an over simplification of my code, so as to not waste eve...
[6 replies] Last: With corrections done so it compiles: http://ideone.com/9xAVXv Since... (by cire)
October 2013 Pages: 1... 1112131415... 86
  Archived months: [sep2013] [nov2013]

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