Search:

Type: Posts; User: powinda

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    25,163

    if the argument passed is "45d" atoi("45d") will...

    if the argument passed is "45d" atoi("45d") will change it 45. I might be able to use sscanf() to filter that out but was just wondering if their is a neater way of doing it
  2. Replies
    7
    Views
    25,163

    how to check if a argument passed is integer

    Hi,
    how will you sheck if an argument passed through the argv[] is of type integer is their a builtin function in C

    Thanks
  3. Replies
    3
    Views
    2,620

    /* ARTIST.C */ #include #include...

    /* ARTIST.C */

    #include <stdio.h>
    #include <graphics.h>
    #include <math.h>

    int main(void)
    {
    int in, index = 1;
    int xloc = 0, yloc = 0, x1 = 0, y1 = 0;
  4. Replies
    3
    Views
    1,005

    Hi, Check this link out this is in C#...

    Hi,
    Check this link out this is in C# thoughhttp://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000550
  5. Replies
    3
    Views
    1,005

    First of all you should know the headers for the...

    First of all you should know the headers for the excel file format. A good way is to read API for microsoft office to get more information on this. Why just excel why not write it into a dat file...
  6. Replies
    16
    Views
    3,019

    It is not lazy-evaluation on your part but just...

    It is not lazy-evaluation on your part but just plain simple getting your work done by other's -- a lethal sin --
  7. Replies
    2
    Views
    2,531

    It seems like an assignment from some class and...

    It seems like an assignment from some class and getting others to do the work for you. Do the work and if some problem in coding that you can not understand than post the specific problem.
  8. This works but it will always generate the same...

    This works but it will always generate the same random permutation of numbers over the length of the vector. Do you know that random_shuffle call is being seeded to time or not. I think it is not. Is...
  9. optimize random numbers b/w 1 to n w/o repetition

    Hi,
    I am writing this to be used as generating an initial random permutation from 1 to n out of which a graph will be constructed on which the algorithm for the quadratic assignment problem will...
  10. Replies
    8
    Views
    2,013

    Hi, I am getting a wierd error of BUS ERROR...

    Hi,
    I am getting a wierd error of BUS ERROR I found that it is during this call


    init_bitmap(imap->bitmap,num_of_inodes);


    the same function is working just an instruction before for a...
  11. Replies
    8
    Views
    2,013

    The way you can logically represnt the layout of...

    The way you can logically represnt the layout of the disk here is

    --------------------------------------------------
    | block 0 | block 1 | . . . . . . . . .|block 128|...
  12. Replies
    8
    Views
    2,013

    Well I am writing an Operatiing system that is...

    Well I am writing an Operatiing system that is used with a os simulator called Brown simulator. I am now left with implementing the file system for it. Their is a regular file named disk0 which...
Results 1 to 12 of 12