hie guys
i am a beginner with big goals - I would like to be contributing to open source projects by the beginning of next year. i have decided to focus on learning the the following - c++, java, xml (xslt, xquery, etc.) and mysql.
unlike others that jump into ides, i would like to learn the plumbing before i get into the ide as the primary tool. here's the first round of questions;
1. how does one invoke another program (i.e. just for execution, not inter-app communication) from within c++.
2. would like to learn how to use odbc (WINDOWS for now). would like to start off using text files then progress onto mysql later.
3. how does one handle, manipulate and navigate directories in c++(i.e. listing files, subdierectories, searching for particular files or file types, etc.).
i know in java there is support for this in classes therefore all one has to do is familiarise themselves with the various methods. is there an equivalent in c++. if not how do i do it in code.
i would also be interested in as manual a solution as possible i.e. minimal use of say MFC. no problem with win32 however as long as you do not diverge away from c++ tooooo... much.
4. i would like to learn hoiw to parse xml files manually before using other people's library. NOTE: for now, would like to parse only with basic validation - no validation against dtd or schema (maybe by mid or end of next year though).
also i am just learning lists. next on target is binary trees - and so on. so avoid trees, graphs and the like.
the point here is educational and guidance, not to hold my hand or create the most optimized code. thus "deliberate" bloating of code to guide a particular thought process would be appreciated.
additional comments on what comes next or should be optimized, etc., would be welcome but not necessary. pseudocode or a basic, summarization of a solution is welcome for those that do not have time to do a detailed response.
thanx in advance'
viva open source
fotn (pronounced "vawn")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes, i have done some. nothing too complex and always using arrays and the primitive data types. like i mentioned above, i am now learning how to use lists with the intention of going all the way to graphs by the end of next year.
one of the more recent things i did was use an array as a stack in a program that did a basic parse of a c++ source code file and checked if the parentheses were correct, counted the number of characters (excluding comments and parentheses), the number of lines and the number of errors.
hope this helps. if not tell me.
fotn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hie guys
i am a beginner with big goals - I would like to be contributing to open source projects by the beginning of next year. i have decided to focus on learning the the following - c++, java, xml (xslt, xquery, etc.) and mysql.
unlike others that jump into ides, i would like to learn the plumbing before i get into the ide as the primary tool. here's the first round of questions;
1. how does one invoke another program (i.e. just for execution, not inter-app communication) from within c++.
2. would like to learn how to use odbc (WINDOWS for now). would like to start off using text files then progress onto mysql later.
3. how does one handle, manipulate and navigate directories in c++(i.e. listing files, subdierectories, searching for particular files or file types, etc.).
i know in java there is support for this in classes therefore all one has to do is familiarise themselves with the various methods. is there an equivalent in c++. if not how do i do it in code.
i would also be interested in as manual a solution as possible i.e. minimal use of say MFC. no problem with win32 however as long as you do not diverge away from c++ tooooo... much.
4. i would like to learn hoiw to parse xml files manually before using other people's library. NOTE: for now, would like to parse only with basic validation - no validation against dtd or schema (maybe by mid or end of next year though).
also i am just learning lists. next on target is binary trees - and so on. so avoid trees, graphs and the like.
the point here is educational and guidance, not to hold my hand or create the most optimized code. thus "deliberate" bloating of code to guide a particular thought process would be appreciated.
additional comments on what comes next or should be optimized, etc., would be welcome but not necessary. pseudocode or a basic, summarization of a solution is welcome for those that do not have time to do a detailed response.
thanx in advance'
viva open source
fotn (pronounced "vawn")
Have you done any coding on your own ?. It would help to see what work you have done so to help better.
yes, i have done some. nothing too complex and always using arrays and the primitive data types. like i mentioned above, i am now learning how to use lists with the intention of going all the way to graphs by the end of next year.
one of the more recent things i did was use an array as a stack in a program that did a basic parse of a c++ source code file and checked if the parentheses were correct, counted the number of characters (excluding comments and parentheses), the number of lines and the number of errors.
hope this helps. if not tell me.
fotn