Beginners - December 2015 (Page 39)

Inheritance related errors
 
Hey guys, could someone point out to me what's wrong with my code. I've been looking at it for a while and I see no fault. class animal { public: animal() ...
[2 replies] Last: You can't construct a bear because the constructor is private (which m... (by cire)
gui and console :(
 
Guys im sorry for coming back here and taking up your time extremely sorry as some of you already know i came here early asking what was GUI and how do you use ...
[2 replies] Last: Thank you so much! one again you helped me your awesome dude :) (by closed account D8k16Up4)
Not sure how to go about outputing the occurance of an integer in an array
 
Basically for a college assignment I have to create a menu by creating an array and outputting to the screen a number of options which the user can pick such as...
[2 replies] Last: thank you :) (by willmannix1)
Datain.fail function
 
Write a c++ program that will count the numbers of players in the footballstats.txt file and determine the biggest and smallest player numbers. The program is ...
[7 replies] Last: What output do you get? What happens when you run it? There are a num... (by Chervil)
Unhandled exception
 
hey guys i am getting "Unhandled exception at 0x003C96BB in LAB4TEST.exe: 0xC0000005: Access violation reading location 0x01E86F90" i'm not sure where to...
[6 replies] Last: The problem with using a construction like this: while (!inputFil... (by Chervil)
by nj1995
Multiple File Compilation Problem
 
I have this multiple file compilation program and for some reason my overloaded object in my rational.cpp file cant access the private function GCD from the cla...
[1 reply] : > I have this multiple file compilation program and for some reason my... (by ne555)
getline is crashing?
 
So I'm fairly new to coding in c++ and for some reason my program keeps crashing and I have no clue why. Yes, I looks know that there are many prettier ways to ...
[8 replies] Last: The only problem is that i cant make an array of 52. My professor want... (by stmaki16)
by Marth
Char Array Hehlp.
 
char arr ; cout << "Enter ZipCode: \n>"; for (int i = 0; i < 5; i++) cin >> arr ; cout << arr << endl; im trying to put a user input zipco...
[9 replies] Last: Just because Visual C++ works as you expect, this time, doesn't mean i... (by jlb)
Figuring out perfect hash functions
 
I don't know if I'm overthinking this or this is just a really difficult problem or what. (( "Suppose that a hash table contains hash_size = 13 entries index...
[1 reply] : Your google-fu is weak. http://www.drdobbs.com/architecture-and-desig... (by cire)
by gg101
Cryptosystem
 
I need some help asap because my assignment is due tomorrow. Please help me out. Write a text‐based program that can encrypt or decrypt a text file using ...
[no replies]
by Jon15
Loan calculator using classes
 
Hi, I am stuck on this loan calculator project. I am not getting any correct output. I am new to oop and classes and am having trouble sending variables to and ...
[5 replies] Last: Ok, so I did some work on it and here is what I have. I am getting a c... (by Jon15)
by asam22
c++ Screensaver-like Program 2D array HELP
 
Hello! I have a coding project that I can't seem to start properly. The instructions are: You are to write a program that randomly fills the entire screen w...
[no replies]
Passing 2D array elements to another class
 
Hello http://i.stack.imgur.com/bzeuD.png this is a similar UMl Digram to what I have,, in FourthClass (EditorClass) I have a Function that takes the values of A...
[4 replies] Last: but there was no change in the array values (seeing the image I have)... (by cire)
int main || auto main() -> int
 
I have noticed there are newer C++ code examples that use the new C++ 11 auto function -> return type function declaration/definition style for main(). ...
[no replies]
How much do i know C if i am really good at C++
 
Hello all , simple question. next semester I am going to take a computer organization class. This class is taught using C language. I have been programming i...
[13 replies] Last: [quote=AbstractionAnon]I disagree. If you want to be valuable to an em... (by closed account E0p9LyTq)
Pointers to structure
 
Hi, I have my structure. I would like to create a function where I use pointers. I created one but It's not working as it's showing the memory but not the act...
[4 replies] Last: But the values are assigned in another function which is ''create stu... (by AbstractionAnon)
by paolot
HOW TO FIND THE AVERAGE OF NUMBERS FROM EXCEL
 
Im trying to take numbers from excel and find the average of each row . I have this program but I don't know how to find the average. cpp.sh/2wjft
[1 reply] : What is the format of the input file? A sample would be useful. Also,... (by Chervil)
Console
 
please i need help because right now im just so confused (as if c++ wasnt already confusing enough for a noob like me) so today i was on the cplusplus forum loo...
[4 replies] Last: thank you so much i really value your advice and you explained it extr... (by closed account D8k16Up4)
Again, in need of help.
 
So here I am again, first off I wanted to say thank you to the people who helped me before but now I ran into another problem. Which involves me getting a word ...
[2 replies] Last: It's so the program can grab a line from a file and cout it to the pro... (by samram64)
Sorting integers in a text file.
 
I have programmed a quiz that asks the user their name and stores their final score out of 5 on a text file, so it looks a bit like this: Abraham scored 4/5!...
[3 replies] Last: Try this tutorial here as a starting point. You'll see it has a workin... (by closed account 48T7M4Gy)
December 2015 Pages: 1... 3738394041... 43
  Archived months: [nov2015] [jan2016]

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