Search:

Type: Posts; User: eurosickwitit

Search: Search took 0.01 seconds.

  1. I think you are right. I am decrementing this...

    I think you are right. I am decrementing this value at some point in the for loop, I was setting numRows =1 if it is less than 0 instead of <= 0

    :) thanks a lot you the man!!!!!! It worked. I feel...
  2. problem is nobody else is responding to this...

    problem is nobody else is responding to this thread but you :) you can compile it with gcc if you have linux box. the point of the program is just to reinvent the multicolumn ls command
  3. But would it still work? Because it does produce...

    But would it still work? Because it does produce proper avg value:
    Index = 4
    avg = 8
    maxCol is 80, numCol is 10
    testWidths[0]: 5
    testWidths[1]: 7
    testWidths[2]: 7
    testWidths[3]: 16
    got heree...
  4. What else might it be. What do you think happens...

    What else might it be. What do you think happens after the for-loop i mentioned?
  5. I have done so. I print out everything just to...

    I have done so. I print out everything just to see how far the program gets.

    It reaches below for loop, prints out proper info, then as soon as it gets out of the loop there is another printf()...
  6. Floating Point Exception, but I rounded everything with round(), baffled

    I have a problem with the below program which keeps giving me Floating Point Exception during runtime.

    When I asked someone for help, at first they told me to make sure I round my ints because I...
  7. Replies
    8
    Views
    3,035

    laserlight, hauzer hello hello

    laserlight, hauzer hello hello
  8. Replies
    8
    Views
    3,035

    It is the "Understanding Unix/Linux Programming...

    It is the "Understanding Unix/Linux Programming with C" by Bruce Molay (Harvard) 2003 edition but concepts apply until this day. Great book so far. Trying to finish it one day, I am currently on...
  9. How do I obtain the full path of the current...

    How do I obtain the full path of the current directory I am in. Is there any system call for that? Trying to play with above program a little.
  10. Implementation of linux cp (copy) command in C language

    I was just going to post my problem, but then I started programming and could not stop because the issue was bothering me so much that I ended up solving it. But I think people can benefit from this...
  11. Replies
    8
    Views
    3,035

    Hello to fellow programmers out there

    Hello everyone. I am new here and already found a lot of interesting posts and examples. I can't way to have some input as well. It is going to be a great forum I feel it. And I am here because I...
Results 1 to 11 of 12