Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~267 People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for lizziekadango

help me out it says in fuction int main, expected primary expression,, #include <iostream> #include <stdlib.h> using namespace std; #define n_file 5 struct record_t { char accname[50]; int accnum; int intbal; int ctbal; int deposits; int deposit; } accounts[n_file]; void printbankaccounts(record_t record); void displayctbal(record_t record); int main() { char buffer[50]; …

Member Avatar for lizziekadango
0
109
Member Avatar for lizziekadango

help me out, it says rand cant be used as a fuction when compiling. #include <cstdlib> #include <iostream> #include <math.h> #include <ctime> using namespace std; int main(int argc, char *argv[]) { int i,rnumber,number,power,base,rand; int randomise();//initialises random number generator srand(time(0)); cout<<"ten random numbers from 0 to 99\n\n"; for(i=0;i<10;i++){ rnumber= rand()%100; cout<<rnumber<<endl; …

Member Avatar for lizziekadango
0
158