- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
ok so far this is what ive got for my code im trying to figure out how to start my for loop that will receive the array and the int that represents the count(2)? [code]#include<iostream> using namespace std; struct Student { char Name[30]; float GPA; int Major; }; //Function Prototype … |
|
ok, im trying to write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocate. Lastly the function should return a pointer to the array. If anyone can help much appreciated Thanks in advance |
|
ok, i need help writing a program that stores data about a basketball player in a structue. I need to create a structure for players name, players number, and by points the player scored. I need to keep an array of 5 of these structures. Which each element is for … |
|
ok i got the program written and was wondering how i would write code that will then add all scores together and give the rusult? here my program. [code] #include <iostream>#include <iomanip>#include <string>using namespace std;const int SIZE = 25;struct Players{ char name[SIZE]; //Player's Name int playNum; //Player's Number double Points; … |
|
im getting an error cannot convert 'int' to 'double' for argument '1' to 'double sort Array(double'.int)' while trying to debug code what does that mean here is another copy of my code now. [code] #include <iostream> #include <iomanip> using namespace std; // Function prototypes double sumArray(double[], int); double getHighest(double[], int); … |