Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: please help me with this homework Pin
Roger Allen1-Dec-03 1:36
Roger Allen1-Dec-03 1:36 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 2:21
gina781-Dec-03 2:21 
GeneralRe: please help me with this homework Pin
jhwurmbach1-Dec-03 2:29
jhwurmbach1-Dec-03 2:29 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 2:41
gina781-Dec-03 2:41 
GeneralRe: please help me with this homework Pin
jhwurmbach1-Dec-03 2:50
jhwurmbach1-Dec-03 2:50 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 2:56
gina781-Dec-03 2:56 
GeneralRe: please help me with this homework Pin
jhwurmbach1-Dec-03 3:05
jhwurmbach1-Dec-03 3:05 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 3:09
gina781-Dec-03 3:09 
/*-----------------------------------------------------------------------
 * clientserver.x
 *-----------------------------------------------------------------------
 */
 
const msgstring_size = 1000;	/* maximum size of the message string */

struct message		/* structure declared here to define the messaage
                        /*structure */
{	String usr_name;
	String msg;
	int svc_index;
	int msg_num;
	int msg_subject;
	String msg_author;
	boolean read;	/* to distinguish read pr unread messages*/
};
struct header
{
	String subject;
	String author;
};

/*-----------------------------------------------------------------------
 * clntsvc_pg - program definition
 *-----------------------------------------------------------------------
 */
 program clntsvcPROG  /*    program name  */
{  
	version clntsvc_pgVERS	/* declaration of version 1*/
	{
		void login(usr_name)          = 1 ; /* First procedure  */
		void connect_svc(svc_index)   = 2 ; /* Second procedure */
		void viewlist(void)           = 3 ; /* Third procedure  */
		void post_msg(msg)            = 4 ; /* Fourth procedure */
 		void delete(msg_num)          = 5 ; /* Fifth procedure  */
		void read(msg_num)            = 6 ; /* Sixth procedure  */
		void start_svc(svc_index)     = 7 ; /* Seventh procedure*/
		void msg_exp(msg_num)         = 8 ; /* Eighth procedure */
		void svc_crash(svc_index)     = 9 ; /* Ninth  procedure */
		void clnt_crash(void)         = 10; /* Tenth procedure  */
	} = 1;			/* definition of the program version  */
	version clntsvc_pgVERS2 /* declaration of version 2*/
	{
		void delete(int* msg_num)    = 1; /* First procedure */
	} = 2;                  /* definition of the program version  */
} = 0x30090949;                /* program number that must be unique */

GeneralRe: please help me with this homework Pin
jhwurmbach1-Dec-03 3:39
jhwurmbach1-Dec-03 3:39 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 3:12
gina781-Dec-03 3:12 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 3:14
gina781-Dec-03 3:14 
GeneralRe: please help me with this homework Pin
gina781-Dec-03 3:06
gina781-Dec-03 3:06 
GeneralVideo from camera of computer Pin
engahmadm1-Dec-03 1:02
engahmadm1-Dec-03 1:02 
GeneralRe: Video from camera of computer Pin
Ryan Roberts1-Dec-03 1:29
Ryan Roberts1-Dec-03 1:29 
GeneralVideo from camera of computer Pin
engahmadm1-Dec-03 1:01
engahmadm1-Dec-03 1:01 
GeneralCMenu modality problems Pin
Arfur1-Dec-03 0:34
Arfur1-Dec-03 0:34 
GeneralRe: CMenu modality problems Pin
Roger Allen1-Dec-03 1:39
Roger Allen1-Dec-03 1:39 
GeneralRe: CMenu modality problems Pin
Arfur9-Dec-03 22:16
Arfur9-Dec-03 22:16 
GeneralHelp me...I wanna detect my browser Pin
User 2155971-Dec-03 0:31
User 2155971-Dec-03 0:31 
GeneralRe: Help me...I wanna detect my browser Pin
David Crow1-Dec-03 3:49
David Crow1-Dec-03 3:49 
GeneralSound (again) channels Pin
DaFrawg1-Dec-03 0:21
DaFrawg1-Dec-03 0:21 
GeneralRe: Sound (again) channels Pin
KaЯl1-Dec-03 4:08
KaЯl1-Dec-03 4:08 
General.bmp/.jpeg to .pcx conversion Pin
satadru1-Dec-03 0:11
satadru1-Dec-03 0:11 
GeneralRe: .bmp/.jpeg to .pcx conversion Pin
ZoogieZork1-Dec-03 6:51
ZoogieZork1-Dec-03 6:51 
Generalif my apps trial period expired Pin
BaldwinMartin30-Nov-03 23:13
BaldwinMartin30-Nov-03 23:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.