On Monday, 6 August 2012 at 15:36:03 UTC, Andrej Mitrovic wrote:
On 8/6/12, Eyyub wrote:
Tell me if I'm wrong. (I did not programming in C since 2
years)
You're not wrong. m_blockList is a pointer and OP needs to
allocate an
s_blockHeader instance before he uses it:
s_blockHeader* m_blockL
On Monday, 6 August 2012 at 15:36:03 UTC, Andrej Mitrovic wrote:
On 8/6/12, Eyyub wrote:
Tell me if I'm wrong. (I did not programming in C since 2
years)
You're not wrong. m_blockList is a pointer and OP needs to
allocate an
s_blockHeader instance before he uses it:
s_blockHeader* m_blockL
On Monday, 6 August 2012 at 14:14:12 UTC, Eyyub wrote:
On Monday, 6 August 2012 at 13:59:35 UTC, CrudOMatic wrote:
On Monday, 6 August 2012 at 13:22:08 UTC, Minas Mina wrote:
Maybe you need a cast before malloc to convert it to a
"s_blockInfo*"?
Just did, and compiled. Errored out
On Monday, 6 August 2012 at 13:22:08 UTC, Minas Mina wrote:
Maybe you need a cast before malloc to convert it to a
"s_blockInfo*"?
Just did, and compiled. Errored out with (from my IDE):
(9:54:32 AM) AccessViolation-Exception
(9:54:32 AM) c005
(9:54:32 AM) Exception in debugger client (9:
The following code:
import std.stdio, std.cstream, std.c.stdlib;
private {
//import rescache.cache;
//import mm.mempool;
}
void main(string[] args)
{
// press before program begins
din.getc();
memoryPool memPool = new memoryPool(1024);
w