Search:

Type: Posts; User: Pulock2009

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. tcp chat multiple concurrent clients and 1 server to accomodate file transfer also.

    i guess as the title indicates the program is a chat application...the program ran flawlessly until i introduced the functions sendtoallf(...) and sendtoaliasf(....) to facilitate file transfer and...
  2. thanks a lot for all your help!!

    thanks a lot for all your help!!
  3. Replies
    6
    Views
    1,109

    little bit of more help

    void array::concatenate(array &a1,array &a2)
    {
    for(int i=0,k=0;i<a1.n;i++,k++)
    {
    this.a[k]=a1.a[i];
    }
    for(int j=0;j<a2.n;j++,k++)
    {
    this.a[k]=a2.a[j];
    }
  4. Replies
    6
    Views
    1,109

    to merge two arrays

    compiled on turbocpp 4.5.....error is that the final merged array is much bigger with garbage values...please help to find the mistake in this program...


    //cpp program to concatenate 2 arrays...
  5. to check whether a number is palindrome or not?

    hello!could not find the mistake in this program....please help!


    //cpp program to check whether a number is palindrome or not
    #include<iostream.h>
    #include<conio.h>
    //the class
    class...
  6. Replies
    4
    Views
    5,278

    thanks a lot for your suggestion. i will be going...

    thanks a lot for your suggestion. i will be going through the level1 and level 2 sections.
  7. Replies
    4
    Views
    5,278

    thanks a lot for your help!!!

    thanks a lot for your help! immediately started working after making i=strlen(astr)-1. went nuts in the morning thinking what had gone wrong.
    thanks again!!
  8. Replies
    4
    Views
    5,278

    reversing a string using pointers

    hello everyone,
    everything seems to be right in this program except that the puts() function does not print anything.please help!


    /*c program to reverse a string using pointer*/...
  9. checking whether a string is palindrome or not..

    hello everyone,
    heres another problem where i got stuck. everything seems to be correct from my perspective. heres the program:


    /*c program to check whether a string is palindrome or not*/...
  10. Replies
    3
    Views
    11,318

    removing duplicate elements from an array

    hello everyone,
    while removing duplicate elements from an array, if more than 4 array elements are same then removal does not work. however my logic seems to be alright. i reckon there is a problem...
  11. thanks a lot to everyone of you for this valuable...

    thanks a lot to everyone of you for this valuable enlightening.....i was completely baffled by the large values.....
  12. program for calculation of the sine of an angle using the sine series

    hello everyone!
    there seems to be some logical error in this program. i get unusually large values for any angle like even sine 90 degree.



    /*c program to compute the sine series*/...
  13. Replies
    5
    Views
    4,250

    i may be wrong here.....as i am quite tired to...

    i may be wrong here.....as i am quite tired to put efforts on my brain now ..........but displaying the transpose is as simple as printing matrix[j][i] inside the same nested loops which were used to...
  14. Replies
    6
    Views
    8,845

    many many thanks to all of you!!!:D

    many many thanks to all of you!!!:D
  15. Replies
    6
    Views
    8,845

    i am unable to find out the mistake. please help.

    i am unable to find out the mistake. please help.
  16. Replies
    6
    Views
    8,845

    second biggest in an array

    input array elements:5,6,3,1,7
    output:biggest number:7, second biggest=7

    can anyone help me out what is wrong???




    /*c program to find out the maximum and the second maximum number from...
  17. Replies
    17
    Views
    1,997

    You have made plenty of small and big mistakes....

    You have made plenty of small and big mistakes. one of them is declaring x before completing the preprocessor commands.
  18. Replies
    5
    Views
    1,355

    suggestion

    i am an intermediate c programmer and i am still not very confident with all my programs. in your program you need to write to another file i suppose. then somewhere there should have been a fprintf...
  19. Replies
    4
    Views
    4,045

    heres the program

    /*c program to represent a queue as a singly linked list*/

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

    struct node
    {
    int data;
    struct node *link;
  20. Replies
    4
    Views
    4,045

    using delete and free

    i am unable to use "delete" and "free" on dev shed c++. i wonder whether its related to some header file. please help.
  21. Replies
    3
    Views
    5,546

    segmentation fault(core dump)

    i was trying to run a c program where i was trying to implement the stack data structure using linked list. my linux version is ubuntu 10.04 and while running i get the error segmentation fault(core...
  22. Replies
    6
    Views
    1,679

    the actual problem

    i am facing this problem actually which i thought was due to a mistake in my %specifier but after making the correction also the problem persisted. the problem is whatever the value of the 4...
  23. Replies
    6
    Views
    1,679

    unable to remember

    can anyone please tell me what is the specifier for float and double datatypes? i know its %d for int datatypes and %c for char datatypes. unable to find it anywhere as well. thanks in advance!!!
  24. Replies
    7
    Views
    4,808

    thanks a lot!!!

    thanks a lot for all of your valuable advice. it was particularly enlightening for me to know that one needs to pass 4 parameters in case of a singly linked list and that my idea would be applicable...
  25. Replies
    7
    Views
    4,808

    writting swap function

    i want to write a swap function for a singly linked list. the function should take 2node pointers as input parameters and exchange their place in the linked list. this is what i tried out :



    ...
Results 1 to 25 of 27
Page 1 of 2 1 2