Search:

Type: Posts; User: sebastiraj

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,678

    Messenger Port number

    Messenger Port number
    Hi,
    We all know that one service named Messenger is available for communication within a network in Windows NT environment. For example sending messages to others.

    For...
  2. Replies
    0
    Views
    956

    Messenger Port number

    Hi,
    We all know that one service named Messenger is available for communication within a network in Windows NT environment.

    For example : net send <Computer Name> <Message>.

    Is there any way...
  3. Thread: Eof

    by sebastiraj
    Replies
    1
    Views
    1,081

    Hi, EOF indicates the end of file. This is the...

    Hi,
    EOF indicates the end of file.
    This is the mark that we will normally test when we read a file.
    ie, we will start reading the file from start to eof.


    By
    A.Sebasti...
  4. Replies
    4
    Views
    4,934

    Hi, If you use scanf for reading input then the...

    Hi,
    If you use scanf for reading input then the default delimiter is space. So if you want give a string which includes space then it is better to use the function char *gets(char *s)

    This will...
  5. Replies
    6
    Views
    1,321

    Thanks stoned_coder, I forgot to make use of...

    Thanks stoned_coder,
    I forgot to make use of temp variable something like current node,
    which is must otherwise bang.....

    Thanks a lot

    By
    A.Sebasti..
  6. Thread: c++

    by sebastiraj
    Replies
    2
    Views
    1,254

    Hi, I find some problems in your code ...

    Hi,

    I find some problems in your code
    1.Division by Zero (sum+=1/i) i will be Zero at first run in for loop.
    2.Without proceeding further returning from for loop which ofcourse eliminates...
  7. Replies
    1
    Views
    791

    Hi, Tell me what is your expectation and how is...

    Hi,
    Tell me what is your expectation and how is your file contents look like.

    Better use fscanf()/fread()
    for file reading instead of getc().

    by
    A.Sebasti..
  8. Replies
    6
    Views
    1,321

    Hi, You are freeing the list at free(list); but...

    Hi,
    You are freeing the list at free(list);
    but trying to access it at while that may be the problem.
    So please change the order which may solve the problem.


    do
    {
    free(list);
    ...
  9. Hi, Use strcasecmp() #include ...

    Hi,
    Use strcasecmp()

    #include <strings.h>
    int strcasecmp(const char *s1, const char *s2);

    available on most flavours of unix.

    by
    A.Sebasti..
  10. Replies
    1
    Views
    1,330

    Hi, You have declared structure variable as...

    Hi,
    You have declared structure variable as array
    (i_words[200])
    In that case you have to access something like below

    while(fgets (i_words[i].word, SIZE + 1, f) !=EOF)
    {
    cout <<...
  11. Replies
    3
    Views
    1,386

    Hi, I think the problem is somewhere at your...

    Hi,
    I think the problem is somewhere at your declaration part of structure varibles.

    Try to declare structure variables as below.
    struct List *cur, *tail;

    the above nomenclature has to be...
  12. Replies
    10
    Views
    1,279

    Hi, Here is a code to count the Number of...

    Hi,
    Here is a code to count the Number of Digits.

    By
    A.Sebasti..

    #include<iostream.h>
    int main()
    {
    int number,digitCnt=0;
  13. Hi, If it is unix/Solaris then use...

    Hi,
    If it is unix/Solaris then use
    gettimeofday() which you can find at #include <sys/time.h>.
    I too had similar requirement and with this it got solved

    Thanks
    A.Sebasti
  14. Replies
    6
    Views
    1,544

    Hi, I find it very difficult to go through your...

    Hi,
    I find it very difficult to go through your code.
    Give comments and brief the exact problem.
    Also tell the Objective of the program.
    If possible try to give some sample run so that
    everybody...
  15. Replies
    3
    Views
    1,523

    Reply

    Hi,
    Thanks for your solution.
    I have tried that one also but i am not able to achive the task.

    The situation is like this.
    I am forking many processes.
    The variable(actually the address of it)...
  16. Replies
    3
    Views
    1,523

    Far pointers in unix

    Hi,
    Can anyone tell how should i use far pointers in unix.
    If far pointer is not available,
    Is there any other mechanism to acheive that.

    Thanks
    by
    A.Sebasti
  17. Thread: help me

    by sebastiraj
    Replies
    3
    Views
    998

    Hi, Here is the code snippet. Hope this will...

    Hi,
    Here is the code snippet.
    Hope this will work fine.

    by
    A.Sebasti...
    ==============================================

    #include<stdio.h>
    void addition(float *,float *,float * );
  18. Replies
    7
    Views
    1,368

    Hi The post increment and pre increment...

    Hi
    The post increment and pre increment operators have no effect in a for loop.
    for ex
    for(x=0;x<10;x++)
    and
    for(x=0;x<10;++x)
    have the same effect.

    As regards ur question in structures and...
  19. Replies
    8
    Views
    2,139

    Thanks alex, I didn't even noticed the flaw in...

    Thanks alex,
    I didn't even noticed the flaw in my code.
    Thanks a lot.


    By
    A.Sebasti.
  20. Replies
    6
    Views
    3,834

    Hi, Why you are complicating things try this...

    Hi,
    Why you are complicating things try this one.


    By
    A.Sebasti...


    #include<stdio.h>
    int main(int argc,char * argv[])
  21. Replies
    8
    Views
    2,139

    The idea that you have suggested is good one....

    The idea that you have suggested is good one.
    use it so that we can avoid the long if statement.
    And one more thing you cann't tell other than vowels are
    consonants because space,\ ,+,= and etc...
  22. Replies
    8
    Views
    2,139

    Hi, This is the code. Don't forget to null...

    Hi,
    This is the code.
    Don't forget to null terminate the string.
    Hoping you are happy.

    by
    A.Sebasti..
    -------------------------------------------------------------------------------
    #include...
Results 1 to 22 of 22