Search:

Type: Posts; User: javani

Search: Search took 0.01 seconds.

  1. Replies
    160
    Views
    1,221,745

    Sticky: i too recommend C Primer Plus by Stephen Prata...

    i too recommend C Primer Plus by Stephen Prata. though i haven't mastered it, but i bought it long ago and still believe that it's one of the best C Books because it provides every thing in detail...
  2. Replies
    16
    Views
    3,044

    thank you Quzah. but, can you explain what stdin...

    thank you Quzah. but, can you explain what stdin and ungetc? Upto this chapter, i haven't seen ungetc. I have just seen getc, getcha.

    And, suppose, the user enter following line in the prompt:
    ...
  3. Replies
    16
    Views
    3,044

    plz help me. it is stucking in second getchar()....

    plz help me. it is stucking in second getchar().



    while((ch=getchar())!='#')
    {
    ch1 = ch;
    ch2=getchar();
    if(ch1=='a' && ch2=='b')
    ...
  4. Thread: finding factors

    by javani
    Replies
    5
    Views
    7,869

    sorry, there should be %d, not %c. But, thank you...

    sorry, there should be %d, not %c. But, thank you DWKS too for letting idea to minimize the iterations.
  5. Thread: finding factors

    by javani
    Replies
    5
    Views
    7,869

    finding factors

    i want to find factors of any given number. i am trying in the following way..how far is it right?



    for(i=1; i<=num; i++)
    {
    if(num%i==0)
    printf("Factor = %c",i);
    }
  6. Replies
    16
    Views
    3,044

    sorry, u r interpreting wrongly. I am not a...

    sorry, u r interpreting wrongly. I am not a computer student nor it's a homework. I am just following book and learning C from that. And, what I am asking is WHAT I don't know, or don't know how to...
  7. Replies
    16
    Views
    3,044

    BUT, what if I haven't studied pointer, array and...

    BUT, what if I haven't studied pointer, array and functions too. I've just finished studying loop and basic of C like getting characters or lines from key board, and counting them.

    Isn't there...
  8. Replies
    16
    Views
    3,044

    i am thinking to use not strstr. suppose, i don't...

    i am thinking to use not strstr. suppose, i don't know about str. i just want to use one character at a time. how to remember previous character and current char?
  9. Replies
    16
    Views
    3,044

    counting problem

    techies,

    i don't where to start to countr two characters in any patterns or from any words like "ei" from "Receive eieiten pooeesiec".

    can you give some hints?
Results 1 to 9 of 9