free

A few questions about my modular code using void* as dynamic data type in C

Hi, A few days ago I posted this question and everyone suggested me to use void*, which I did. I think some of them also pointed a few things that I would need to take care of but I'm not sure what exactly were they. However, I'm having a few problems with this... I'm not going to post all my code where cause it's quite large, instead,...

is i like to have free cross platform network/thread/xml static lib

what the best c++ libs that are simple to use and have no problems to compile in the windows express vs 2008 compilers ? is it best to use different libs for each purpose or to use one generic lib ? ...

Mysqli query results: Best approach, do you close, free, both?

Hello all, I have some questions about using mysqli, queries, and related memory management. The code here is just to clarify my questions, so don't dump on it for error checking, etc. I know that needs to be done :) Suppose I have something like this: @ $db = new mysqli($dbhost, $un, $ps, $dbname); $query = "SELECT field1, field2 ". ...

Online .NET IDE?

Does anyone know of a (free?) web-based IDE for .NET development online? ...

C++ freeing static variables

Hi all, I would like my class to have a static pointer to a dynamically allocated region of memory. I understand how to initialize it - in my case I will initialize it when the first object needs it. However, I don't know when/where in the code to free it. I'd like to free it when the program terminates. I might be able to free the ...

What is the difference between freeing the pointer and assigning it to NULL?

Could somebody tell me the difference between: int *p; p=(int*)malloc(10*sizeof(int)); free(p); or int *p; p=(int*)malloc(10*sizeof(int)); p=NULL; ...

c++ free(none gpl ) webservice framework

Hello all im looking for good freeware that is not GPL c++ webservices frame work i have used AXIS2 but it is no good for our needs ,is there any good framework that can be good and robust like the gSoap for example ...

C Programming: malloc and free within a loop

Hi all, I just started out with C and have very little knowledge about performance issues with malloc() and free(). My question is this: if I were to call malloc() followed by free() inside a while loop that loops for, say, 20 iterations, would it run slower compared to calling free() outside the loop? I am actually using the first met...

Freeing memory twice

AFAIK, freeing a NULL pointer will result in nothing. I mean nothing is being done by the function free. Still, I do see some statements where people say that one of the scenarios where memory corruption can occur is "freeing memory twice". Is this still true? ...

Free UML Tool for use

Friends could tell me free uml tool for using? I use Argo UML but I don't like it. ...

Jquery's a FREE grid display

I have been using Flesigrid for my CMS and I like it except there are some things I think it could do better like get the column headers from the ajax results rather then in the setup of the flexigrid or having the ability to change the buttons on reload things of that nature. I've been considering a mod of the plugin though I'm not sure...

Count Clicks in excel

Hi, Can some one recommend any free program which counts the number of clicks Clicked inside a cell. For Example Imagine something like Spreadsheet I click on A1 cell the value shows 1 Then I click A1 cell again the value shows 2 and so on If I click A3 cell somewhere in between the click count on Cell A3 shows 1 and so on If someth...

C Programming: calling free() on error?

Hi all, This a follow up on my previous question. link here. My question is: Let's say I have the following code.. char* buf = (char*) malloc(1024); ... for(; i<20; i++) { if(read(fd, buf, 1024) == -1) { // read off a file and store in buffer perror("read failed"); return 1; } ... } free(buf); what...

Which is the best .NET image capture API for me to use?

I have been tasked with integrating image acquisition into a .NET application and I have been looking for an API to use for performing this function. I have come across several "standard" APIs, some have been in existence for a long time, some not so long. I have looked at references to ISIS, TWAIN, WIA, and SANE (said to be mostly *ni...

Free SCM for Matlab 64 bit version on Windows

When Matlab is installed in its 64 bit version, it can use only 64 bit source control systems. Is there a source control system that's free, works with 64 bit Matlab and runs on Windows? It can be a system that supports only one developer. It can be 32 bit itself, if it'll work. It will be installed on the same machine as the Matlab in ...

Problem with Free SMTP Server in php code

I wrote php code for use to contact us form but I can not find free SMTP server to use it. I Try to use SMTP Server For Gmail but I found this error. Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\www\htdocs\contactUs.php on line 25" line 25 is : mail ($to,$su...

Trial vs free with limited functionality

Not a programming question as such, but a bit more business oriented question about software product development. We have just released a small app, and is offering a free, fully functional trial which lasts for 15 days. I have the gut feeling however, that to reach any kind of penetration on the web, we'd need to offer a version which...

Good Front end for PostgreSQL on Windows or Mac

I'm considering using postgreSQL 8.4x db on windows/Mac for development and linux for production. wondering what front-end tools are out there that are comparable to Toad (for Oracle) ? PostgreSQL comes with PgAdminIII. It's OK but I feel there might be something better than that. I prefer free or open source but if something is NOT too...

linux new/delete, malloc/free large memory blocks

Hi folks, We have a linux system (kubuntu 7.10) that runs a number of CORBA Server processes. The server software uses glibc libraries for memory allocation. The linux PC has 4G physical memory. Swap is disabled for speed reasons. Upon receiving a request to process data, one of the server processes allocates a large data buffer (usin...

In WPF: Children.Remove or Children.Clear doesn't free objects

Update: I tried this on another, more cleanly installed, machine. I could not reproduce this on that machine. If I find out what offending (VSStudio) component causes this, I will let you know. I create some UIElements from code behind and was anticipating the garbage collection to clear up stuff. However, the objects are not free-ed at...