Beginners - March 2016 (Page 32)

by Finoli
Accessing derived class functions through pointer of base class
 
I'm not sure if this counts as a beginner question but, i am a beginner so yeah.. First of all, I know that you can't access a derived class' functions throu...
[10 replies] Last: If it is a virtual function then yes the prototype in the derived clas... (by nilac1382)
An interesting obstacle with a generic console input
 
Thanks to a lot of help the other day I have a nice generic layout for getting console input ( Sorry JLBorges, I never did understand that "is_constructible"). ...
[4 replies] Last: Why does your code always make me uncotrollable grin all the time. It ... (by megatron 0)
Program doesn't cout anything!
 
Hi everyone! I've written the code bellow and there are no errors.But when I run it it doesn't give me anything...It doesn't even cout messages. I don't know ...
[2 replies] Last: Your bin_search() hangs in an endless loop. Condition must be while(l... (by Thomas1965)
Calling a function
 
Hi there! Just started with c++, this is my first programming language. I'm trying to follow the Pluralsight tutorial with Kate Gregory. I'm using QT creator...
[6 replies] Last: I fixed it!..it think. It runs without any compiler error at least. T... (by blackshore)
Help with removing vowels?
 
Write your question here. i am suppose to right a loop that finds and remove the vowels of a sting i cannot make it work. My program only removes the first let...
[5 replies] Last: Good point. I missed that one. (focused first on getting it to not cra... (by Chervil)
Not sure how to use -> operator
 
I have a line of code that I am getting an error at the first -> (which I am sure the rest of them are wrong as well) can someone tell me what I am missing? ...
[16 replies] Last: Is this not creating a newItem with an Item name with the dValue, dWe... (by MikeyBoy)
Code Block 'crash' on Enter Key (1,2)
 
I have recently started learning c Programming and I am working my way through a tutorial book. When I am running code in Code Blocks I am experiencing what ...
[20 replies] Last: Is this something to expect when they code is a little out? Yes. In... (by Chervil)
Assign input values to certain variables
 
Hello everyone. I am new to this website but I've seen nothing but wonderful people helping each other learn computer code and it's amazing to see the talen...
[1 reply] : Haven't you been introduced to if() statements yet? You can do the fol... (by jgg2002)
Need help making a force calculator
 
This is my first post so I hope I did this all right. My teacher wants me to create a force calculator that either outputs a calculation with acceleration set t...
[4 replies] Last: Some other things: You are re-declaring your variables for force m... (by TheIdeasMan)
Arrays and string
 
Hello, I am new to the whole programming thing and have been trying to make program that will prompt the user to input a 5 character password and follow some ...
[5 replies] Last: In doing this is each character of the password assigned to password ... (by Thomas1965)
Need some help writing a game code
 
Update March 9th: I think i am finally getting somewhere with this program still a lot of mistakes. Thanx for all the help really appreciate it. Will update op ...
[14 replies] Last: Have you tried the example i've showed you? Can you post the updated ... (by rafae11)
by Bopaki
Creating a new project
 
Write your question here. I am creating my first project and I got a file that looks like that in the code. What does this mean? #include <iostream> /...
[4 replies] Last: Thank you very much Etrusks. I just deleted everything and my program ... (by Bopaki)
by specbk
can't find the mistake
 
Can someone tell me where is the mistake in this code? It's supposed to have one according to my uni-test, but i've compiled it and it shows that everything is ...
[11 replies] Last: Thanks a lot for the help!! (by specbk)
by HJSSAE
Sum and Average help
 
I do not understand why this program will not work. This is the problem my professor gave me. "Write a complete program that does the following: Input positive ...
[1 reply] : Its return 0, NOT return o. Also, you need to initialize sum and coun... (by Arslan7041)
Help printing a deck of cards
 
what do I need to do to make this work? Its still a work in progress but before I even get to the 'high/low' card game I just need to print the deck. #includ...
[3 replies] Last: I am so sleep deprived an extra set of eyes is an awesome thing to hav... (by BonsaiSuperstar)
Help with C++, please.
 
I am stuck as to why there are build errors in my code. For my code, I have to ask the user to input the employee's number, gross pay, state tax, federal tax, ...
[9 replies] Last: ah, I got it now. Thanks! Case closed! (by kikiyox77)
What is going on here?
 
So I have this assignment for class where I have to build a deck of cards and play a high/low game. All of this is done with enums. here's the code: #i...
[2 replies] Last: Oh my f'n god. Thanks man I was losing my mind (by BonsaiSuperstar)
Function Problem?
 
null
[9 replies] Last: Thanks for your help. I really appreciate you taking time out your day... (by ceesgetdegrees)
by NBL
Strings and arrays
 
Can anyone help me know how to enter strings and integers, both into one float array?
[1 reply] : An array has to be all of the same type. There are some advanced, clev... (by Moschops)
Do while won't stop doing while
 
Why isn't my while ending the loop? string outerLoop() { string currentSize; do { cout << "\nWhat size pizza would you like?\n\n"; cout...
[2 replies] Last: Your loop will keep loopin as long as the following is TRUE (currentS... (by Moschops)
March 2016 Pages: 1... 3031323334... 47
  Archived months: [feb2016] [apr2016]

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