Something More for Research

Explorer of Research #HEMBAD

Posts Tagged ‘c projects with source code download’

How to get started with wxWidgets on Windows

Posted by Hemprasad Y. Badgujar on February 3, 2015

How to get started with wxWidgets on Windows

wxWidgets is a cross-platform GUI library, that is also available for Windows. You can get started with using wxWidgets in a few steps:

  1. Download and install the Windows installer for the current stable release of wxWidgets from its download page. It installs the source and build files in C:. For example, inC:\wxWidgets-3.0.2\
  2. wxWidgets needs to be built before it can be used with your application. Go toC:\wxWidgets-3.0.2\build\msw and open the .sln file that matches the Visual Studio version you intend to use for your application. For example, I open wx_vc10.sln using Visual Studio 2012.
  3. Choose one of the build types: Debug, Release, DLL Debug or DLL Release and build the solution. The resulting .lib files are placed in C:\wxWidgets-3.0.2\lib\vc_lib
  4. Create a new Visual Studio solution for your C++ application. Remember that it has to be Win32 Project, not a Win32 Console Project. The difference is that the main function is defined inside wxWidgets and does not need to be defined in your application code.
  5. Add a .cpp file to your solution and copy the Hello World code into it.
  6. Add C:\wxWidgets-3.0.2\include and C:\wxWidgets-3.0.2\include\msvc as additional include directories to the solution.
  7. Add C:\wxWidgets-3.0.2\lib\vc_lib as additional library directory to the solution.
  8. Build the solution and run it to see an empty wxWidgets window.

Posted in Computer Vision, Entertainment, Free Tools, My Research Related, OpenCV | Tagged: , , , , , , , | Leave a Comment »

Professional ways of tracking GPU memory leakage

Posted by Hemprasad Y. Badgujar on January 25, 2015

Depending on what I am doing and what I need to track/trace and profile I utilise all 4 packages above. They also have the added benefit of being a: free; b: well maintained; c: free; d: regularly updated; e: free.

In case you hadn’t guessed I like the free part:)

In regards of object management, I would recommend an old C++ coding principle: as soon as you create an object, add the line that deletes it, every new should always (eventually) have a delete. That way you know that you are destroying the objects you create, however it will not save you from orphaned memory block memory leaks, where you change where pointers are pointing, for example:

myclass* firstInstance = new myclass();
myclass* secondInstance = new myclass();
firstInstance = secondInstance;
delete firstInstance;
delete secondInstance;

You will now have created a small memory leak where the data for the real firstInstance is now not being pointed at by any pointer. Very hard to detect when this happens in a large code-base, and more common that it should be.

generally these are the pairings you need to be aware of to ensure you properly dispose of all your objects:

new -> delete
new[] -> delete[]
malloc() -> free() // or you can use realloc(0) instead of free()
calloc() -> free() // or you can use realloc(0) instead of free()
realloc(nonzero) -> free() // or you can use realloc(0) instead of free()

If you are coming from a language with garbage collection to C++ it can take a while to get used to, but it quickly becomes habit:)

Posted in C, Computer Languages, Computer Vision, Computing Technology, CUDA | Tagged: , , , , , | Leave a Comment »

Computer Science C++ Projects FREE programs

Posted by Hemprasad Y. Badgujar on October 3, 2012

We will keep on adding more & more C++ projects.Keep checking this page!


Digital Clock

C++ Project on Railway-2

C++ project on Banking

C++ Project on Telephone Directory

C++ Project on Railway Reservation System

C++ Project on Airline Reservation System

C++ Project on Library Management System

C++ Project on Banking System

C++ Project on Supermarket Billing System

C++ Project on Student Report Card

C++ Project on Snake And Ladder Game

C++ Project on Diabetes Detection

C++ Project on Address Book

C++ Project on Rotation Of Triangle

C++ Project on Restaurant Billing System

C++ Project on Hospital Management System

C++ Project on Inventory Management System

C++ Project on Tic Tac Toe Game

C++ Project on Casino Game

C++ Project on GK Quiz

C++ Project on Virtual Calender

C++ Project on Solar System

C++ Project on Office Management

C++ Project on Decimal to Binary Convertor

C++ Project on Cruise Travel Management

C++ Project on Ludo Game

C++ Project on Forever Calender

C++ Project on Mobile Phone Shop

C++ Project on Binary Search tree

C++ Project on Shuffling Cards

C++ Project on Virus Joke

C++ Project on Program For Distributer

C++ Project on Moving Ball Screensaver

C++ Project on Resume Maker

C++ Project on Sudoku

C++ Project on Report Card

C++ Project on Stack Data structure implementation

C++ Project on Merging Two Doubly Linked Lists

C++ Project on Hangman Game

C++ Project on Generic Stack Class

Posted in C, Computer Languages, Project Related | Tagged: , , | 1 Comment »

Extracts from a Personal Diary

dedicated to the life of a silent girl who eventually learnt to open up

Num3ri v 2.0

I miei numeri - seconda versione


Just another site

Algunos Intereses de Abraham Zamudio Chauca

Matematica, Linux , Programacion Serial , Programacion Paralela (CPU - GPU) , Cluster de Computadores , Software Cientifico




A great site

Travel tips

Travel tips

Experience the real life.....!!!

Shurwaat achi honi chahiye ...

Ronzii's Blog

Just your average geek's blog

Karan Jitendra Thakkar

Everything I think. Everything I do. Right here.

Chetan Solanki

Helpful to u, if u need it.....


Explorer of Research #HEMBAD


Explorer of Research #HEMBAD


A great site


This is My Space so Dont Mess With IT !!

%d bloggers like this: