This code consist of 3 files.
copy and save the contents in to 3 separate files specified below
1.Header file-save the content below from "//Header file for Cpu scheduling" to
"// Implementation file for Cpu scheduling" as cpuh.h
2.Implementation file-save the content from "// Implementation file for Cpu scheduling" to
" //Application file for cpu Scheduling" as cpua.cpp
3.The content below the line " //Application file for cpu Scheduling" save as cpub.cpp
now compile both cpua.cpp,cpub.cpp and run cpub.cpp
Code :
// Header file for Cpu scheduling
//------>cpuh.h