⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmkc2_subrouting_1.cpp

📁 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12619 &#12
💻 CPP
字号:
void init_schedule() 
{


	 schedule_ptr = (struct schedule *) malloc (sizeof(struct schedule)); 

     schedule_ptr->empty_or_not=0;  //0: empty  1:not_empty 
     schedule_ptr->the_first_event_ptr=NULL;  

	 schedule_head_event_ptr=NULL;
     schedule_tail_event_ptr=NULL;

}


struct event *get_a_event_from_schedule() 
{
	struct event *the_getting_event_ptr=NULL;

    if (schedule_ptr->empty_or_not==0 && schedule_ptr->the_first_event_ptr==NULL )
	{
      //schedule is empty
	  the_getting_event_ptr=NULL;
      
	}
	else
	{
      //schedule is not empty
	  

	  //

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -