![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2005
Posts: 2
OS: XP
|
C++ Builder and Coding - (Need help!)
ell I just got done with an online college course called "C++ for the absolute beginner!"
It's pretty obvious they left a lot out.. ;-/ I have experiance in other programming languages and this left a lot out as far as I know. What it taught me: It taught me all the basics to C++, Functions, storing data, arrays, etc. The only thing it didn't teach me (as far as I know) is how to get those things to work together effectively. What I mean is, I am trying ot create my first application and I can't do it because I dont know how to get my edit controlls and buttons and code to interact together. My Situation: I just got out of the C++ class as you already know, and I'm trying to make my first application as you already know. I can't get the buttons, edit controlls, and code to work together because I don't know the code to make them do so. My Program: My program is going to be a small program used to calculate a highschool final grade. It will take your current grade in the class and the grade you think you will get on the final and put it into the equation that is set up for calculating your final grade and then it will display it in an edit controll. What I have set up as of right now are two edit controlls, a button, and a third edit controll. You are supposed to enter your current grade in the first edit controll and the grade you think you will get on the final in the second edit controll. After you enter both of those you will click the button that says "Calculate!" and the grade you will have at the end of the semester in that class will display in the third edit controll. My Question: How do I do this? Can anyone show me how to do this by either explaining it or writing the program code and displaying it here? I'd like to look at someone's code and see what does what and where it does this or that. Other information: The equation for figuring out the final is: .8 * CurrentGradeInClass * .2 * GradeYouThinkYouWillGetOnYourFinal it can also be displayed as this: .8 * x * .2 * y I appreciate you taking the time to read and respond to my thread! If you need anymore information just ask. I am really willing to work with you guys on this! ~Xombic |
|
|
|
![]() |
| Thread Tools | |
|
|