Search:

Type: Posts; User: IAMTubby; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: is this a bad programming practice related to program architecture ?

    Thanks a lot trent, that was very insightful. That clears my question.

    Thanks ehrt74.
  2. is this a bad programming practice related to program architecture ?

    Hello,
    I observed this kind of architecture in a project I'm working on.

    Scenario
    Assume sourcefile1.c calls a function defined in sourcefile2.c,

    What I would do to build the project is:
    gcc...
  3. Replies
    2
    Views
    88

    Re: don't understand $$ in this Makefile

    Thanks a lot for the reply MG&TL. Your explanation is very clear :)
  4. Replies
    2
    Views
    88

    don't understand $$ in this Makefile

    Hello,
    I have a small question regarding a Makefile. I was able to understand most of the important aspects, but still haven't been able to figure out the meaning of -o $$a $$a.o below.



    SRCS...
  5. Replies
    0
    Views
    89

    [ubuntu] Transfer timed out in tftp

    I'm getting a "Transfer timed out." error when I try to transfer a file using the following command,"tftp -4 10.94.161.170 -c get filename"
    These are the contents of my /etc/xinetd.d/tftp
    #...
  6. Re: search recursively in a particular filename

    Thanks a lot papibe, it's clear now. :)
  7. Re: search recursively in a particular filename

    Thanks a lot papibe, it worked :)

    I have 2 questions though:
    1. I don't have to add the -print option,correct ? (I think it worked for me by adding -H alone, but since you said "good catch", I'm...
  8. search recursively in a particular filename

    Hello,
    Situation : I want to search for the word, 'confedit' in all makefiles in my system using grep.

    I have tried :
    I know of grep -r
    I tried doing grep -r 'confedit' ./*Makefile 2>/dev/null...
  9. question regarding zombie process handover

    I was reading up about zombie process and I did this piece of code to create one.



    #include <stdio.h>
    #include <stdlib.h>

    int main(void)
    {
    pid_t pid;
  10. Replies
    8
    Views
    256

    Re: how stand alone applications work

    shawnhcorey, pbrane, slickymaster, ofnuts
    Thanks a lot for all the answers,it is now clear :)
  11. Replies
    8
    Views
    256

    how stand alone applications work

    Hello,
    I was just wondering how "stand alone applications" work. I mean, many a times, it happens that you get an executable and you don't have to install it, just double clicking it starts the...
  12. Re: entry controlled and exit controlled loop

    Thanks for the reply,dwhitney67 :)
  13. Re: entry controlled and exit controlled loop

    dwhitney67, I tried thinking through, but I can't help but feel that do-while shows a different output from while only in a condition like this maybe,


    i = 10;
    while(i<10)
    {
    ...
  14. Re: best language to perform string operations

    Thanks a lot for that shawnhcorey :)
    just subscribed by sending a mail to beginners-subscribe@perl.org
  15. Re: best language to perform string operations

    Thanks a lot for the replies. The unanimous answer sounds like Perl, I shall get a book and start learning. It will be very helpful for me.
  16. Replies
    11
    Views
    321

    Re: get hostname from ipaddress

    SeijiSensei, that was fantastic :D
    Got it, I had logs like cores nmbd.log nmbd.log.1 nmbd.log.2 nmbd.log.3 nmbd.log.4 smbd.log smbd.log.1 smbd.log.2 smbd.log.3 smbd.log.4, with the smbd...
  17. Re: best language to perform string operations

    Ok shall keep that in mind.[/quote]


    Mainly like, extracting a part of a string from a huge string.
  18. Re: entry controlled and exit controlled loop

    Thank you Vaphell, so changing the position of the increment to before the printf solves it. Thank you.
    But I was wondering if there is something with which I can print upto 5 using the do-while...
  19. best language to perform string operations

    Hello,
    I frequently run into problems where I have to get some input from a text file, do some string operations on it, and then write it back to the file.
    As of now, I am doing this in C, but I...
  20. entry controlled and exit controlled loop

    Hello,
    For this piece of code, I was expecting that even in the i==5 condition, the block would get executed first, which means i==5 would get printed and then condition gets checked, since do-while...
  21. Replies
    11
    Views
    321

    Re: get hostname from ipaddress

    Sorry TheFu, couldn't get that to work.
  22. Replies
    11
    Views
    321

    Re: get hostname from ipaddress

    Lars, I wasn't able to get that. This is the output
    $ host 10.16.97.89 | tail -n 1Host 89.97.16.10.in-addr.arpa. not found: 3(NXDOMAIN)

    I got the desired output(computer name) using nmblookup...
  23. Replies
    11
    Views
    321

    Re: get hostname from ipaddress

    SeijiSensei, wow that was fantastic :D
    Can I be a bit greedy and ask you if there is something that can give me the name of the logged in user as well ?
  24. Replies
    11
    Views
    321

    get hostname from ipaddress

    Hello,
    Is there a way programmatically/linux command to get the hostname/computer name given an ip address.
    The ip address I'm giving is that of a system running Windows.
    I am looking for...
  25. Re: need some insight on development at web scale

    iMac71, firstly sorry for the late reply.
    And second, thanks a lot, that was great advice. Was just the kind of thing that tells me where I can start from for the desktop.
    Maybe, to do audio/video...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4