"A person should not be too honest. Straight trees are cut first and Honest people are screwed first." Chanakya (Indian politician, strategist and writer, 350 BC 275 BC )
 

Main Menu

Home
Articles
SVTechie Blog
Links
Download
Discussion Forum
Photo Gallery
Quick Bites
FAQs

Login






Lost Password?
No account yet? Register

Statistics

We have 1 guest online

SVTechie Recommends


powered_by.png, 1 kB

Text Links


Home arrow Articles arrow C/C++ Coding Techniques
C/C++ Coding Techniques
Dynamic Memory Allocation Performance PDF Print E-mail
C/C++ Code Snippets
Written by SVTechie   
Sunday, 09 April 2006

In many real systems, size of memory and objects are not known and can not be determined statically and is mainly dependent on data set during run time. For example, a compiler for a programming language will maintain symbol tables and type information which is dynamically constructed by reading the source program where source program can be of any size. In fact, there are very few large programs (or none), not having dynamic memory allocation. Dynamically created data structures like trees, linked lists and hash tables (which can be implemented as arrays of linked lists) are key to the construction of many large software systems.

Last Updated ( Saturday, 06 May 2006 )
Read more...
 
8 Queens on A Chessboard PDF Print E-mail
C/C++ Code Snippets
Written by SVTechie   
Tuesday, 21 February 2006

Image Placing 8 Queens on a chessboard is a classic problem and is one of the good software interview question. Following code is my take on this problem. Though instead of starting queen placement at predefined position (at 0,0 or at a corner), 1st queen placement in first row can be specified by user. Discussion/Comments are welcome, please click here to go to discussion forum.

An fun webpage is created with CGI/PERL script where above algorithm can be seen in work. Please go here to experiment with the algorithm.

Last Updated ( Saturday, 29 April 2006 )
Read more...
 
0 Credit Cards | PHP Photo Gallery | Loan | Consolidation Loans | Mortgages
© 2008 SVTechie :: Online Resources For Techies BY Techies
Joomla! is Free Software released under the GNU/GPL License.