06-08-2014, 10:12 PM
Firstly , I would like to apologize because after long time I did not update this thread.
Let me my friends inform my learning curve...
after learning win api , how to create graphical user interface from pure window programming , I discovered one important issue , when you build any application by c++ , I found that most books explain only a static data , I mean as example , when you write any code , you define the memory size before you compile your program , but actually you need a dynamic data for real program , as example you can dfine matrix a(10) very simple , before you compile your program , simply you tell compiler please cut 10 locations from memory , the address for these items will be 1011 , 1012 ,... as example . this is a static and I do not know dynamics is more difficult for static for any situation ,
I asked my self what if I do not know the size of matrix a(?) , the size of matrix will be define during operation of program ,after compiling....
this is the core of programming , how to manage the memory during operation or during run time of your application .. this is long story for c++ , but it is very nice ,
the secret is only inside pointer , you need to define the first adrress of variable a(0) , and during run time when you create next varaible a(1) , you need to make a linke between first address and second one , so when you establish the link between these adrresses it means you create a run-time variable succssefully . so here you can see how c++ provide you a chance to understand what is going on from scratch .
but to be honest , to do a dynamic classes and variables are so much headeach to do it from zero .. but it is very useful to understand the concept from c++.
so currently I start learning C++ MFC.
the major issue that lead me to learn MFC , is the support that you can get for dynamic class and dynamic variable ...
Oops , I can hear now some friends are saying , oh Mecheil why all of these troubles for C++ , at the begining we recommend c# ,
But honestly I can say I am very happy for learning c++ and win api , because c++ gave me a chance to understand the concept of memory .
finally the core points are :
1- pointers
to manage any data the core point how to make a relation between the memory adrresses , this is central point
2- dynamic variable ( class , variable , matrix , structure)
the second point is mainly depends also on pointers...
you can see how the programming code is very complex , but if you follow the code by using pointers , you will understand a lot of secrets and in simple word , how to manage the huge data by organizing this data by pointers...
I Hope this new post is helpful , and I hope in the new future I Can release my first software..
Regards
Let me my friends inform my learning curve...
after learning win api , how to create graphical user interface from pure window programming , I discovered one important issue , when you build any application by c++ , I found that most books explain only a static data , I mean as example , when you write any code , you define the memory size before you compile your program , but actually you need a dynamic data for real program , as example you can dfine matrix a(10) very simple , before you compile your program , simply you tell compiler please cut 10 locations from memory , the address for these items will be 1011 , 1012 ,... as example . this is a static and I do not know dynamics is more difficult for static for any situation ,
I asked my self what if I do not know the size of matrix a(?) , the size of matrix will be define during operation of program ,after compiling....
this is the core of programming , how to manage the memory during operation or during run time of your application .. this is long story for c++ , but it is very nice ,
the secret is only inside pointer , you need to define the first adrress of variable a(0) , and during run time when you create next varaible a(1) , you need to make a linke between first address and second one , so when you establish the link between these adrresses it means you create a run-time variable succssefully . so here you can see how c++ provide you a chance to understand what is going on from scratch .
but to be honest , to do a dynamic classes and variables are so much headeach to do it from zero .. but it is very useful to understand the concept from c++.
so currently I start learning C++ MFC.
the major issue that lead me to learn MFC , is the support that you can get for dynamic class and dynamic variable ...
Oops , I can hear now some friends are saying , oh Mecheil why all of these troubles for C++ , at the begining we recommend c# ,
But honestly I can say I am very happy for learning c++ and win api , because c++ gave me a chance to understand the concept of memory .
finally the core points are :
1- pointers
to manage any data the core point how to make a relation between the memory adrresses , this is central point
2- dynamic variable ( class , variable , matrix , structure)
the second point is mainly depends also on pointers...
you can see how the programming code is very complex , but if you follow the code by using pointers , you will understand a lot of secrets and in simple word , how to manage the huge data by organizing this data by pointers...
I Hope this new post is helpful , and I hope in the new future I Can release my first software..
Regards