school Project

i've been working in this project so hard but i still have lots of problems. I'm not a good programmer but it's a class I've to take. this is a program that give us a idea of how the signal work. we have like 6 condition states and also have 50 data to organize in this 6 condition states I've organize 6 but i got to have the 50 data in a list comply the conditions mention in the code in it must be print the list without repletion data sorry for my english :P the code its divide in 3 parts.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//#ifndef User_H
//#define User_H

class User
{
public:
    
	User(); //constructor
    void SetUserChannelConditions(float, int);
    float GetUserChannelConditions(int);

    void SetUserPacketDelays(float, int);
    float GetUserPacketDelays(int);
    
    void SetUserGBR(bool, int);
    bool GetUserGBR(int);
    
    void Print_Values();
    
    int ComputeMaxVal_User_Channel_Conditions();
    int ComputeMaxVal_User_Packet_Delays();
    int SelectUser1();
    int SelectUser2();
    int SelectUser3();
    int SelectUser4();
    int SelectUser5();
    int SelectUser6();
    
    //void Select_Final_Allocation_List();



    void Print_Selected_Users();
    //void Print_Final_Allocation_List();
    
	
    
protected:
    
    float User_Channel_Conditions[50];
    float User_Packet_Delays[50];
    bool User_GBR[50];
    int Final_Allocation_List[50];
    bool Users_Black_List[50];

    
}; 


i will upload the user.cpp and main.cpp file in my next post

hope that somebody help me :(

please :(

Last edited on
Please use code tags when posting code, to make it readable:

http://www.cplusplus.com/articles/z13hAqkS/
thanks i'll repost this is my first post

Topic archived. No new replies allowed.