Hello, Is there a telephone application for modems that can receive a phone number as a parameter and manage the call for themselves? I ask because in my application I must implement a click2call functionality and may be is a free software out there that I can use and I do not have to fight with TAPI. Thanks!
...
As part of teaching myself python I've written a script which allows a user to play hangman. At the moment, the hangman word to be guessed is simply entered manually at the start of the script's code.
I want instead for the script to choose randomly from a large list of english words. This I know how to do - my problem is finding that l...
Hello Magento boffins.
I am using Magento to build an eBooks site. For the release, we plan to have a number of free downloadable books. We were hoping that it would be possible to use the normal Magento 'catalog' functionality to add categories with products underneath. However, since these are free downloadable products, it doesn't re...
Are there any good free text editors i can use directly on the server if i give it my ftp details?
failing that one with a good save-to-ftp shortcut (ie ctrl-shift-s)
I work with mainly php and jquery, my primary editor is aptana?
...
Is there any free Python to C translator? for example capable to translate such lib as lib for Fast content-aware image resizing (which already depends on some C libs) to C files?
...
I know that it's a common convention to pass the length of dynamically allocated arrays to functions that manipulate them:
void initializeAndFree(int* anArray, size_t length);
int main(){
size_t arrayLength = 0;
scanf("%d", &arrayLength);
int* myArray = (int*)malloc(sizeof(int)*arrayLength);
initializeAndFree(myArray, ...
Any reasons why this can not be standard behavior of free()?
multiple pointers pointing to the same object:
#include <stdlib.h>
#include <stdio.h>
void safefree(void* p = NULL;
}
int main()
{
int *p = (int *)malloc(sizeof(int));
*p=1234;
int*
printf("p=%p p2=%p\n", p, p2);
safefree((void*
printf("p=%p p2=%p\n"...
Hi,
I am doing a project, for which I need to know all the wikipedia article names(I don't need the content). Is there a place where I can download this data.
Thank you
Bala
...
I need help with debugging this piece of code. I know the problem is in malloc and free but can't find exactly where, why and how to fix it. Please don't answer: "Use gdb" and that's it. I would use gdb to debug it, but I still don't know much about it and am still learning it, and would like to have, in the meanwhile, another solution.
...
I read somewhere that it is disastrous to use free to get rid of an object not created by calling malloc, is this true? why?
...
hi, i want to learn c# programming language.i already know c++(console only) programming.i have downloaded visual c# express 2010 .Which free resources would you recommend me to learn c# and dot net 4.0 ?
...
I'm supporting some c code on Solaris, and I've seen something weird at least I think it is:
char new_login[64];
...
strcpy(new_login, (char *)login);
...
free(new_login);
My understanding is that since the variable is a local array the memory comes from the stack and does not need to be freed, and moreover since no malloc/calloc/real...
Hello
I've got an application which serves an rss feed of headlines and I need to provide this rss feed to other consumers. I don't want to provide the rss directly from my server though, due to limited server resources (processing and also bandwidth), so I need to proxy (cache) it through some service which will handle most of the traf...
I am implementing a dynamic programming algorithm for the knapsack problem in Java. I declare the array and then initialize its size to be [number of objects][capacity of knapsack].
When my number of objects or my capacity gets too large, I get a memory error because I run out of space on the heap. My questions is: If I delete rows...
I am planning to prepare for CEH certification. I am sure there will be plenty of CEH @ StackOverflow. Please suggest me some freely available / downloadable eBooks.
You can also suggest some good books even if it not free.
...
Can I use free for const char*? Will this cause any problems?
...
I was reading the C# entry on Wikipedia, and came across:
Managed memory cannot be explicitly freed; instead, it is automatically garbage collected.
Why is it that in languages with automatic memory management, manual management isn't even allowed? I can see that in most cases it wouldn't be necessary, but wouldn't it come in hand...
Can anybody explain how to free memory of a static member Variable? In my understanding it can only be freed if all the instances of the class are destroyed. I am a little bit helpless at this point...
Some Code to explain it:
class ball
{
private:
static SDL_Surface *ball_image;
};
//FIXME: how to free static Variable?
SDL_Sur...
I am creating a pricing program. I need to calculate the amounts according to the current tax list in the US (in various places).
I want to have a button 'Update taxes' in the administrative settings of the application, so when the user clicks it, it should download from somewhere the active tax amounts.
So I actually want to have a fu...
What is the best free Windows Forms validator control.
I want to use it in a free (and maybe open-source) project.
I know these:
ValidationProvider Control not working in VS2010
DXValidationProvider works only for devexpress controls.
Supervalidator from DevComponents meets my needs but it isn't free. here is a picture of it:
...