- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 5
- Posts with Downvotes
- 2
- Downvoting Members
- 5
9 Posted Topics
Input file looks like this BASKETBALL John Smith 23 , 54 FOOTBALL Jose Cruise 445, 23 BASKETBALL KJ 34, 32 BASEBALL Mike Beterman 3, 2 FOOTBALL David Smith 323, 23 Below is my code. What is happening on my output I get Sport: BASKETBALL Name: John Smith Stat: 23 , … | |
Okay here is my question, I have an text file file which looks like this BASKETBALL John Jacob 58% 15points FOOTBALL Jason Smith 24% 1touchdown BASKETBALL Mark Ramos 23% 25points BASEBALL Isaac David 10% 2 homeruns FOOTBALL David Sarlo 10% 0 touchdowns I am attempting to take a list like … | |
What I am trying to do is redirect all my cout to a file, rather than a console. I am using a gcc complier to run my program. It works well when I do ./a.out > output.txt. But i was wondering is there a way i can do the same … | |
I need some help with a problem. I am attempting to insert numbers into a binary tree, then converted it to a rbtree, just curious on how i can change it over i know that 10 (black), 4(red), 5(black), 6(red), 11(red), 12(black), 13(red) as my input. int a[] ={10, 4, … | |
I need some help, fairly new to C++ and I know a little about C. What i am trying to do is get a txt file that looks like this 4 //first number tells how many rows are coming next. 3 54 2 51 9 32 2 34 what i … | |
I need some help passing a array of integers into a hash table by chaining. So if the array is filled it that location it will go to a linked list of the index. any ideas on how to get this done. This is what i have so far. [CODE]chainFunc(int … | |
I tried my code below, and i am getting a output of 0. I added lines like cout << p; and cout << alpha to see if the values are getting stored into the variables. My output looks like this -18811398930we are in the loop0 Can anyone help me?? i … | |
I have a txt file which has the following input. 13 .34 67 45 12 4 85 56 42 44 2 8 3 5 2 the first number is the size, second is a multiplier, last one is used for search. I am wondering if the code below looks correct. … | |
I need help in understanding how input file in C++ works. Here is what i need to do. I need to be able to open a input file called input.txt. That file will contain 15 numbers in a list format. 6 .34 74 34 12 31 23 . . . … |
The End.