User Profile

Collapse

Profile Sidebar

Collapse
nextstep
nextstep
Last Activity: Nov 25 '12, 08:20 AM
Joined: Aug 29 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • yes, it's obsolutely yes.

    you can ssh to the server then use gdb to debug your code by command as well.
    See more | Go to post

    Leave a comment:


  • nextstep
    started a topic netbds network can't connect

    netbds network can't connect

    hi everyone,

    i installed a netbsd os on my virtual machine and currently its network doesn't work.

    my machine has some NIC so i just use one of them.
    i had set the ip address to it already so it still not connect to the rest of network.

    i have found something in dmesg.boot by using commmand as below

    #cat /var/run/dmesg.boot | grep pcf0

    with pcf0 is my NIC and i got...
    See more | Go to post

  • it is similar to sort algorithm. you could take a look to them for more reference. i think that you can reuse some code after
    See more | Go to post

    Leave a comment:


  • nextstep
    replied to header of a file compressed by gzip
    in C
    Hi,

    I mean I want to modify header of gzip file. I figured out in gzip RFC that having some field I can insert my data in it as extra fields so I don't know how to do it and I am not sure is it possible?

    Could you give me some suggestions please

    Any help is appreciated!
    See more | Go to post

    Leave a comment:


  • nextstep
    started a topic header of a file compressed by gzip
    in C

    header of a file compressed by gzip

    Hi everyone,

    Can I extend the header of a file compressed by gzip? I mean I can insert more information to the start of header file, can't I?

    Thanks
    See more | Go to post

  • nextstep
    replied to Please help about "pax" command
    Hi rski,

    The failure message seems like error syntax. Could you give me some example for using pax with -o options to archive files.

    Thanks in advance!
    See more | Go to post

    Leave a comment:


  • Hello,

    I think if it transfered successfully thus that means It was really in your local machine.

    Since you can find your files, folders. You can remember anything related to it's name (as file name, folder name.. anything else) then find it

    I think after finding you can get the right path to them

    Hope it help
    See more | Go to post

    Leave a comment:


  • nextstep
    started a topic Please help about "pax" command

    Please help about "pax" command

    Hi everyone,

    I have a problem need your help about "pax" command in linux.
    Exactly what I am doing that is archiving a folder (containing many files in) by using "pax" command. And further more, I want to insert some field to archived file after archived.

    After searching on internet and linux's manpage to pax command, I found one way can do it by using -o option. The syntax is:

    ...
    See more | Go to post

  • nextstep
    replied to Using math library problem
    in C
    I think floor() is a function of math.h lib therefore no need to define it
    See more | Go to post

    Leave a comment:


  • nextstep
    replied to malloc and calloc reg
    in C
    @donbock

    You are right as manpage (netbsd) explains as below.

    Code:
         The malloc() function allocates size bytes of uninitialized memory.  The
         allocated space is suitably aligned (after possible pointer coercion) for
         storage of any type of object.
    
         The calloc() function allocates space for number objects, each size bytes
         in length.  The result is identical to
    ...
    See more | Go to post

    Leave a comment:


  • nextstep
    replied to malloc and calloc reg
    in C
    Hi weaknessforcats ,

    Thank for your illustration but I didn't said "Allocation s are made in bytes", ok?

    I said:
    "malloc allocates a array of bytes of memory" // actually, I mean that malloc will allocate in contiguous bytes // as when you declare a array
    See more | Go to post

    Leave a comment:


  • nextstep
    replied to malloc and calloc reg
    in C
    Hi there,

    I think have 2 things of different from malloc and calloc as below:

    1.
    - malloc allocates memory to basic type as int, float...
    - calloc is familiar with malloc but it can allocate memory to user define type as structure type, union type...

    2.
    - malloc allocates a array of bytes of memory
    - calloc allocates a block of size bytes of memory
    See more | Go to post

    Leave a comment:


  • I recommmend you using the formal IDE tools suggested by Google, Apple, Microsoft for developing your mobile application as below:

    IOS->Xcode
    Android->Eclipse
    Windows mobile->Visual studio

    Happy coding.
    See more | Go to post

    Leave a comment:


  • nextstep
    replied to int abc[]={1,2,3,4,5,6,7,8,9,10}; array behv
    in C
    you delare:
    int abc[]={1,2,3,4,5,6,7 ,8,9,10};

    after that, abc variable will become constant pointer point to the first element in this array and it means you can not change the value of it.

    so operation:
    abc++;

    is impossible.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...