| | |
advise needed
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 118
hi guys,
if you take over a project which is not documented and composed of lots of header files, code files and libraries, what should you do to understand work flow of the project. and if you need to modify some part of it, what should you do to locate what portion you need to modify.
it is like a real puzzle because all i have an AIX server with many files and i have access to that server using a telnet application on which i can only use commands like cat, vi, grep and find.
any helps will be appreciated.
thanks
if you take over a project which is not documented and composed of lots of header files, code files and libraries, what should you do to understand work flow of the project. and if you need to modify some part of it, what should you do to locate what portion you need to modify.
it is like a real puzzle because all i have an AIX server with many files and i have access to that server using a telnet application on which i can only use commands like cat, vi, grep and find.
any helps will be appreciated.
thanks
Due to lack of freedom of speech, i no longer post on this website.
I am not sure if I understood the your question.
Unordered and random codes are nightmare for the new programmer.It is really unfortunate situation and your are suffering from this.
Now I would advice you to either find that bloody programmer who wrote all that. Or try to scratch your head figuring it out the code. I know it is a trivial advice but in this case I cannot be specific.
Try to put some debugger's output code like:
std::cout<<" The control has reached line 54";
to perhaps fetch a better picture out.
Unordered and random codes are nightmare for the new programmer.It is really unfortunate situation and your are suffering from this.
Now I would advice you to either find that bloody programmer who wrote all that. Or try to scratch your head figuring it out the code. I know it is a trivial advice but in this case I cannot be specific.
Try to put some debugger's output code like:
std::cout<<" The control has reached line 54";
to perhaps fetch a better picture out.
Last edited by siddhant3s; May 5th, 2009 at 4:59 pm.
Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 118
thank you, i found a .chm file generated by doxygen which facilitates seeing function calls and class communication, makes it easier to search for function and macro definitions and creates some visual aids for class structures. i just found it 5 minutes ago, i will dig in it. at least it is better than using grep -r functionName rootApplicationFolder.
worst of all the application is 8 years old, multithreaded, service oriented c++ application. But this is a big challenge, if i able to understand it and solve my tasks, i will be a confident programmer. when you solve some c++ tasks, working with c# feels like child play.
worst of all the application is 8 years old, multithreaded, service oriented c++ application. But this is a big challenge, if i able to understand it and solve my tasks, i will be a confident programmer. when you solve some c++ tasks, working with c# feels like child play.
Due to lack of freedom of speech, i no longer post on this website.
Yet another advice. I have used Doxygen documentation system at initial stage of troubles with (as usually) undocumented third-party projects (from 50000 to 300000 lines in C and/or C++, hundreds of files). You may get a very visible web-oriented report with collaboration and inheritance diagrams, file dependencies, call trees, etc.
Of course, it is a static code analysis product but I think it's a very useful bird's-eye view to others' code chaos.
http://www.stack.nl/~dimitri/doxygen/
Of course, it is a static code analysis product but I think it's a very useful bird's-eye view to others' code chaos.
http://www.stack.nl/~dimitri/doxygen/
![]() |
Similar Threads
- Advise Needed (IT Professionals' Lounge)
- DDR installation problem, advise needed (Motherboards, CPUs and RAM)
- Expert in Class Creation & Implementation Needed (VB.NET)
- Help needed for hijacker with homepage address location of C:\WINDOWS\secure.html (Viruses, Spyware and other Nasties)
- Urgent help needed regarding Internet connection please. (Windows NT / 2000 / XP)
- Hijack This log advice needed (Viruses, Spyware and other Nasties)
- What is MSIESH and is it needed (spit thread) (Windows 95 / 98 / Me)
- Log help needed please (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: new operator
- Next Thread: Is it better
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node output parameter pointer problem program programming project proxy python read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets







