The answer (if you can call it that) is to NOT have all your code in one singularly massive .c file. There's more to it, but it might be enough of a clue. Someone else will have to expand on this, or I might get around to it later on.
@Salem: How does the link here 'from a stone age educational system.' help the OP and why did you think it was needed to be shared on this forum ? You didn't need to share it because every student in india knows this, there are a lot of factors behind these things but people like the OP are still trying to learn instead of crying about what kind of teachers/facilities they have or don't have.
Daniweb didn't use to be a place where we tried to show our biases. I can find a hundred articles about problems in educational systems in almost every country in this world so every time someone asks a question should I first tell them that their education system sucks ?
i also make a program to do hibernet the computer but these code are not working
can you tell me that how can i use system() function in c compiler
That can not be done from Turbo C. You have to use a modern 32 or 64 bit compiler such as Code::Blocks or VC++ 2010 Express to access MS-Windows programs. The best you can do from Turbo C is to run old MS-DOS commands.
> You didn't need to share it because every student in india knows this
Did you read the link at all?
Because apparently most of them don't know the system sucks until the point they actually try to FIND A JOB. It's only then that they find out they've wasted 3 or 4 years of time and money for some toilet paper.
Using TurbidCrap isn't a preserve of just India either, there are schools all over the world still using it.
Apparently "help" for you means spoon-feed the immediate answer so they can go away and get a useless grade and "be happy" (for a while at least).
If enough students read the link, create enough "pressure" for change within the system by demanding an education fit for purpose, then change might actually happen. At any rate, the smart ones will take it upon themselves to seek alternatives to make sure they're well positioned in the job market.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...