r/programminghelp • • Jan 30 '19

Need Help Starting First Project

3 Upvotes

Hello I'm interested in putting together a program to help me with my baseball pool. I don't expect anyone to walk me through step by step, but I was hoping that if I listed what I wanted the program to do, someone would be able to identify and name the processes used so that I can google/YouTube and learn.

I would like to be able bring up information about individual players from a spreadsheet. The search bar would have an auto complete.

If I take a player I'd like to be able in input the salary that I won him for in the auction and add him to my team. If someone else wins the player I'd like to show that the player is taken.

I would like to show my team as I draft it and keep track of the following :

-Money spent -Money left in budget -Compare team totals of specific stat projections and compare them to target goals for each stat. I'd like to show this as a bar that fills up as I add players. Each bar would have a name (eg home runs, stolen bases ect.) and a number percentage indicating how full it is. In a roto baseball pool a team is awarded points based on their position in each category. If there are 15 teams in the pool and you have the most homeruns you get 15 points. In this pool there are twelve separate categories. Six for hitters and six for pitchers. I have figured out how well I have to do in each category to win it. I would like it to keep track of my progress as I add players to my team.

Lastly, I would like to track positions required by my opponents. In an auction each player fills positions required to field a team. It would be in my advantage to have a running tally of how many total players are required at each position by the rest of the owners in the league. I could press a button each time a position is filled to bring that total down as the auction progresses.

I hope I'm not asking too much. And I hope this makes sense. Thanks


r/programminghelp • • Jan 29 '19

Make loop that do damage 5 times, one time per second? Code bellow

3 Upvotes

r/programminghelp • • Oct 26 '18

C++ Build a house problem

3 Upvotes

Hey, i'm a student in C++ tutoring at my University. I've been hacking my brain for a few hours at this problem. Can anyone help me out ? I know i have to use for loops but I can't understand how to make this happen.

Thanks !


r/programminghelp • • Oct 16 '18

How to add words to a 2D char array after reading them from a file with getline in c++

3 Upvotes

r/programminghelp • • Oct 07 '18

What is "overloading a double" and h ok w do I do it in c++98?

3 Upvotes

My object oriented programming homework requires me to overload a double with user input and then use the "max" function to pick which number is the largest and output it. I have no clue how to do this and would like to learn.


r/programminghelp • • Sep 25 '18

Can I have help with the classes and methods on my Java homework?

3 Upvotes

I am using BlueJ 3.1.5.

My program is supposed to run from two classes and return a string that is a randomly generated password of a length input by the user. By comparing my current code with other programs I have run before it should work and compiles fine, but instead does not give any error messages or even open a console window. This is my first time running a program through more than one class at a time and I feel that that is where the problem most likely lies. I am not sure how I should add my code to this post but if anyone is able to help I can figure out some way to send it to you.


r/programminghelp • • Feb 01 '17

Help with a C Loop.

3 Upvotes

So i have to create program with a loop that outputs the program below, im at a loss for where i should start, any help at all would be appreciated.

  #include <stdio.h>
     #define PI 3.141593
     int main()
    {
    int degrees = 0;
    double radians;
    printf("Degrees to Radians \n");
    degrees = 0;
    radians = degrees*PI/180;
    printf("%6i %9.6f \n", degrees, radians);
    degrees = 10;
    radians = degrees*PI/180;
    printf("%6i %9.6f \n", degrees, radians);
    .
    .
    .
    degrees = 360;
    radians = degrees*PI/180;
    printf("%6i %9.6f \n", degrees, radians);
    }