Search:

Type: Posts; User: coder1

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,311

    Thank you for providing the answers.I learned a...

    Thank you for providing the answers.I learned a lot.
  2. Replies
    8
    Views
    1,311

    i corrected my code.now it is : ...

    i corrected my code.now it is :




    #include<stdio.h>


    struct fullname
    {
  3. Replies
    8
    Views
    1,311

    i know %s dont read after a white spaces.Read...

    i know %s dont read after a white spaces.Read what my question is properly please.
  4. Replies
    8
    Views
    1,311

    Confusion in reading a file through fscanf();

    File i am reading through fscanf() contains name,address,age and blood_type.



    #include<stdio.h>


    struct fullname
    {
    char name[20];
  5. Thank you for the detailed answer.I needed one...

    Thank you for the detailed answer.I needed one since i was confused.
  6. problem in understanding " while( (c =getchar())!='\n' && c !=EOF );"

    hi,
    I would just like to know what does

    while( (c =getchar())!='\n' && c !=EOF );

    do ? and how it do it?

    i have see it in a example to clear the input buffer for next input through...
  7. Help with the question.(array of pointers to strings)

    the question is :

    Write a program that uses an array of pointers to strings str[ ]. Receive two strings str1 and str2 and check if str1 is embedded in any of the strings in str[ ]. If str1 is...
  8. which compiler is good according to...

    which compiler is good according to you?suggestions...
  9. Arrange set of names in an array in alphabetical order.

    I am having problem with comparing first letter of every wordso that i can arrange them in array.What am i doing wrong?(i am new at this)



    /*22/10/13 15:30
    Arrange set of names in an array...
  10. Thread: string swap

    by coder1
    Replies
    3
    Views
    805

    thank you .it helped.:)

    thank you .it helped.:)
  11. Thread: string swap

    by coder1
    Replies
    3
    Views
    805

    string swap

    my code :



    /*22/10/13 15:30
    */
    #include<stdio.h>


    int main( )
  12. Thread: concept problem

    by coder1
    Replies
    1
    Views
    548

    concept problem

    hi,
    i saw this code somewhere but did not get the concept behind it.why the output is nothing?


    #include<stdio.h>


    int main(void)
    {
  13. Replies
    5
    Views
    819

    Thanx :)..was a silly mistake .

    Thanx :)..was a silly mistake .
  14. Replies
    5
    Views
    819

    making program for comparing strings.

    I know there is a function for comparing string but i am making it to just improve my concepts.
    error : 2 is coming as answer when i put same sting in both place.



    #include<stdio.h>
    main()...
  15. Thank you for explaining it to me .I understand...

    Thank you for explaining it to me .I understand this function more clearly now. :)
  16. Thank you for putting this much effort for the...

    Thank you for putting this much effort for the reply. :) ... you very smartly explained your point :)
  17. Sorry for confusing this square matrix to...

    Sorry for confusing this square matrix to multiplication one.My multiplication matrix works fine.its code :



    #include<stdio.h>


    void mult(int [][3],int[][3],int[][3]);
    int main( void)
    {
  18. I used your memcpy advice :) new code : ...

    I used your memcpy advice :)

    new code :




    #include<stdio.h>
    #include<string.h>
    void square(int [][3]);
  19. I am new to the use of memcpy() and trying to...

    I am new to the use of memcpy() and trying to understand it . you used :


    memcpy(m, x, 9 * sizeof(int));

    where m = destination
    x = source
    9 = size to be copied
    Now why you...
  20. Replies
    2
    Views
    771

    Thank you for pointing that b matrix thing....

    Thank you for pointing that b matrix thing.
    Doing some modification lets see if i get it right .
  21. Replies
    2
    Views
    771

    sorting the matrix

    Trying to sort matrix such that it has value in ascending order.

    But outcome is coming :




    Matrix after sorting :
    2,2,2,2,
    2,2,2,2,
  22. Just the more efficient one than this :)

    Just the more efficient one than this :)
  23. program to multiply any two 3 x 3 matrices.alternate logic.

    I have created a program and it works fine.Just wondering if there is a more efficient logic for this program,

    My code :




    #include<stdio.h>
  24. create a proper table that accepts value in each box it contains.

    hi,
    I want to create a proper visible table with boundaries that contains boxes and each box receives a value .I don't know where to start from.i have an idea of using matrix for entering values...
  25. Thank you, that explains a lot and my program is...

    Thank you, that explains a lot and my program is working now.

    I have one question does that mean rand() will not generate different numbers randomly until srand() is used ?
Results 1 to 25 of 79
Page 1 of 4 1 2 3 4