Reputation: 11 Tradesman
- Active Posts:
- 1,015 (0.46 per day)
- 25-April 07
- Profile Views:
- Last Active:
- May 22 2012 06:06 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 1 Apr 2012Wow I cannot believe thats what it was.....
So what should I have it return then?, is it correct to have it return an empty void pointer?
Ahh I see, return 0 is just as good.
Posted 15 Mar 2012
Posted 19 Jan 2012
char** file = malloc(arrayIncSize*sizeof(char*)); //this is the array that will store the whole file line = (char *) malloc (nbytes); //this is the line bufffer
and this is how I attempt to set the value of line into file:
file[count] = (char*)malloc (sizeof(line)); file[count] = line;
However something is not going right. The idea is, read the line into the line buffer, then store that value into file.
and unfortunately I am limited to using only getline()
I cant seem to see whats wrong, I'm more of a c++ user, never done much of c.
Posted 18 Jan 2012C does not support new unfortunately
Posted 17 Jan 2012What do you mean?
- Member Title:
- D.I.C Lover
- 23 years old
- February 8, 1990
- Years Programming:
- Programming Languages:
- c,c++,c#,php,html,css,MySQL, vb.net, powershell, asp.net, bash
- Website URL: