Uploaded two projects on Sourceforge.net

A few days ago I uplaoded two projects on Sourceforge.net (world’s largest open source programs’ repository). They are LANSim and AG’s Library Manager.


(Update: This has now been uploaded to Github – https://github.com/applegrew/lansim. Please download or fork it from there.)

This is a network simulator. This is meant to be user friendly as well as feature rich. This field lacks software with good user interface. Even the commercial softwares in this field is quite lame. This aimed to go along Multisim(R) and Blender(R) form.


Homepage: lansim.sourceforge.net
SF site: sourceforge.net/projects/lansim


1) Rohit Singh
2) Dhiraj Prakrash
3) and me.

AG’s Libray Manager

This a versatile library manager made in Java. It requires MySql at backend to store the database. This is not made to function only as a library manager but can be used in many places like CD rental shops etc. It has the feature to export the result to Microsoft Excel format. It can also import from there (but there isn’t any easy way to do so currently). The number of fields of information you want to store for your items can be customised by changing the MySQL table structure (Currently there isn’t any easy way to do so).


Homepage: libmanager.sourceforge.net
SF site: sourceforge.net/projects/libmanager



Convert any exe file to assembly language.

If you have MS Visual Studio C++ 6.0 installed in your system then you have an exe to assembly language converter. This is named DUMPBIN.exe. You can find this awesome utility at Microsoft Visual Studio\VC98\Bin folder. If you had chosen the default location then you will find this Microsoft Visual Studio folder in C:\Program Files.

To disassemble suppose The_EXE_File_Here.exe then copy it to that folder and open CMD (by typing cmd in Run… under Start Menu). Now use CD “C:\Program Files\Microsoft Visual Studio\VC98\Bin” to goto that folder. Now type in

dumpbin /disasm /out:Disassembled.txt The_EXE_File_Here.exe

The disassembled code will be stored in Disassembled.txt in that folder.

It has still more features.

1) Use the command

dumpbin /imports /out:TheImportsList.txt The_EXE_File_Here.exe

to get a list of dll files The_EXE_File_Here.exe depends on. The list will also have the names of all the callable functions in those dlls. To get the list of the dlls ONLY the use /dependents instead of /imports.

2) Use the command

dumpbin /headers /out:HeadersInfo.txt The_EXE_File_Here.exe

This will print all the details about The_EXE_File_Here.exe‘s internals like the no. of sections it has, checksum, etc. and many statistics on the exe file.

3) Use the command

dumpbin /rawdata /out:RawDump.txt The_EXE_File_Here.exe

It will print the full code in binary along with ascii translations.

4) To get know about all the switches use

dumpbin /?

N-queen problem solving code in C++

To know what is this N-Queen problem is go here. My code can be complied using any ANSI complaint C++ compiler. I successfully compiled it using g++ and MS Visual C++ 6.0. I point I would like to mention is that when I ran this program for N=10 then it occupied 600kB when compiled using Visual C++ 6.0 and it took around 2300kB! I have to tried to keep memory requirement under check. It has respectable processing speed.

Get the code from applegrew.pastebin.com. For some reason the previous post of this code got deleted from pastebin. If you encounter such problem again then post a comment here. I will repost the code.