musya's Profile User Rating: -----

Reputation: 11 Tradesman
Group:
Contributors
Active Posts:
1,015 (0.46 per day)
Joined:
25-April 07
Profile Views:
10,909
Last Active:
User is offline May 22 2012 06:06 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Who Cares
Your Car:
Toyota
Dream Kudos:
50

Latest Visitors

Icon   musya has not set their status

Posts I've Made

  1. In Topic: Incompatible pointer type

    Posted 1 Apr 2012

    Wow 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.
  2. In Topic: c convert int to string

    Posted 15 Mar 2012

    View Postaaa111, on 16 March 2012 - 05:47 AM, said:

    Where is you character array.I can only see a char variable in whose you are assigning value 4 to it.
    You can use snprintf or simply sprintf to convert an integer to strings.


    Thanks sprintf did it!
  3. In Topic: C - Create array of arrays

    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.
  4. In Topic: C - Create array of arrays

    Posted 18 Jan 2012

    C does not support new unfortunately :/
  5. In Topic: working with standard input/output for bash programs

    Posted 17 Jan 2012

    What do you mean?

My Information

Member Title:
D.I.C Lover
Age:
23 years old
Birthday:
February 8, 1990
Gender:
Years Programming:
5
Programming Languages:
c,c++,c#,php,html,css,MySQL, vb.net, powershell, asp.net, bash

Contact Information

E-mail:
Private
Website URL:
Website URL  http://
Facebook:
http://www.facebook.com/#!/profile.php?ref=name&id=100000744824153

Friends

Comments

musya has no profile comments yet. Why not say hello?