Beginners - December 2015 (Page 27)

I need help with input collection.
 
I almost have this complete but I am not sure how to change my input collection. Directions are to: ...
[no replies]
array is not multiplying values?
 
I'm using a string to get an input of between 2 and 9 integers max. I'm trying to multiply the resul...
[3 replies] Last: Oh ok just cast the pow() to an int like: int(pow(a,b)) I forgot th... (by YFGHNG)
Cannot for the life of me figure out why my program is not displaying anything to console or writing to file
 
This program seems to build perfectly fine. I've been staring at it for a while now trying to figure...
[1 reply] : It appears that it runs fine on the compiler on this site, but will no... (by cluelessnoob)
by suppa
Abstract class
 
I programmed a monopoly game and it all works fine, but now I need to implement classes. My tutor ex...
[4 replies] Last: Lol the program is way too long, even the smallest part. Sorry, but do... (by suppa)
by nj1995
Problem with I/O program
 
When I compile and run my program after I input my file names, the names fail the if(fin.fail()) and...
[no replies]
While Loop is aborting when ran
 
Hello, This kinda has to do with a function I am making for a homework assignment but it is one that...
[6 replies] Last: Thanks for your help Shadowwolf! Thats makes sense, I was able to move... (by dubbbroc)
Assignment Assistance
 
Here's the question my instructor is asking as to code. "A valid Social Security number consists of...
[1 reply] : regex_search searches for a match in the text you give it. regex_ma... (by cire)
pointing to object within an vector
 
Hi I have the following classes: //Player.cpp #include "Piece.h" Piece* Player::a...
[1 reply] : If you're storing pointers to elements in a vector, then yes, if addin... (by cire)
by mancer
Help multiple errors
 
I've been stuck on this problem since forever and I really need to find the solution now T.T This...
[3 replies] Last: In case 3: i removed "k" from your array because you set it to in... (by malemale777)
by brad97
Program Calls The Wrong Function?
 
I am writing a code for a math game with separate functions for each of the four mathematical functi...
[4 replies] Last: Thank you very much! I would never have noticed that (by brad97)
by GonlyG
All "Zero" output in tree height program
 
Basically, the problem is finding the tree height based on the distance to the tree and angle from v...
[2 replies] Last: thanks (by GonlyG)
hashing words read from a dictionary file
 
I am trying to create a hash function that calculates the hash for words that are read from a file. ...
[1 reply] : Make a copy of the string, sort the letters, hash on the sorted string... (by cire)
by ebucna
overload operator >
 
I have overloaded operator > in my Date class bool operator> (Date param) {return (this->day > ...
[3 replies] Last: sorry, I moved things around and the problem got fixed. thanks for yo... (by ebucna)
Easy question
 
Can't find it in my book. Please fill in the blank. For a program to be interactive you must incl...
[1 reply] : input? (by rozick1)
by GonlyG
Incorrect output in program
 
Hello, I am a beginner c++ code writer and basically my problem was, first input gives the number of...
[6 replies] Last: thanks. You should look at my other problem about tree height, it has ... (by GonlyG)
marathon program
 
Write your question here. im new to programming. my question is my milesavg output is not getting ...
[17 replies] Last: thank you so much for the help (by warrior757)
by isaacv
Bubble sort help?
 
Hi, I've been writing a bubble sort, which works entirely and calculates the sum of numbers entered,...
[5 replies] Last: All you need to do is change for (j = 0; j < 10; j++) You want to st... (by JayhawkZombie)
Please enter your password! - problem here....
 
Hii! I have been learning C++ for the past 1 month! Just a beginner..I just thought of a new program...
[no replies]
Heap Corruption Error
 
Hi all, I am working on a simple program using dynamic arrays. The program adds two positive inte...
[2 replies] Last: Yes, I've run the program through a debugger with no success in pinpoi... (by mlholder)
Need Help with "for loop"
 
I need to make a "for loop" that adds up only the odd numbers entered by the user. The even numbe...
[13 replies] Last: What needs to happen is if the number 7 (which happens to be an odd nu... (by Drewstar13)
December 2015 Pages: 1... 2526272829... 43
  Archived months: [nov2015] [jan2016]

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