Search:

Type: Posts; User: miryellis

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,266

    It should be continuous... as one line can have...

    It should be continuous... as one line can have many numbers.
    As long as it falls on a block of 15 numbers it should read and compare the 4th number with the threshold value.

    Thanks for you help!
  2. Replies
    7
    Views
    2,266

    well i tried changing it within the loop.. but it...

    well i tried changing it within the loop.. but it still does not count.

    It should count...



    How do I go about in counting the element in the array?
    It is such a bugger!
  3. Replies
    7
    Views
    2,266

    the file contains only numbers (integer and float)

    the file contains only numbers (integer and float)
  4. Replies
    7
    Views
    2,266

    count array value

    I’m having problem counting the value for my array.





    #include <stdio.h>

    int main(void)
    {
  5. Replies
    7
    Views
    2,195

    Okie now I'm a little confused which to change...

    Okie now I'm a little confused which to change first....

    Well I'm trying to change the getchar... but not sure where I've to put it in my code without the go to...

    Here is what I've done...
  6. Replies
    7
    Views
    2,195

    looping went berserk

    Could anyone advice me on why my loop gives a funny output?



    Here is my code...


    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
  7. Thread: argc & argv

    by miryellis
    Replies
    11
    Views
    6,982

    Thank you for all the prompt replies... :) ...

    Thank you for all the prompt replies... :)

    I will read on atoi as quzah suggested and check on bideyore's code too.

    Back in here once I "trip" on it again. ;)
    Thanks you guys!
  8. Thread: argc & argv

    by miryellis
    Replies
    11
    Views
    6,982

    Thanks for your help Nessarose! :) However,...

    Thanks for your help Nessarose! :)

    However, the program is not functioning to what is being asked for.

    I'm using gcc compiler for my program, after i typed


    It should work more or less...
  9. Thread: argc & argv

    by miryellis
    Replies
    11
    Views
    6,982

    argc & argv

    Hello there,

    I’m having problem with argc and argv.
    The program suppose to work in such a way that once an input from the argc it will display the srand num.



    #include <stdio.h>
    #include...
  10. Replies
    3
    Views
    1,433

    Well this program is for my pipe redirection in...

    Well this program is for my pipe redirection in unix... anyway.. thanx!
  11. Replies
    3
    Views
    1,433

    terminate loop

    Having problem in terminating my loop. Any help would be good :D
  12. Replies
    10
    Views
    1,905

    i've amended my program to int main(void) {...

    i've amended my program to


    int main(void)
    {
    int num, input=0;
    scanf("%d",&num);

    while(input<100)
    {
  13. Replies
    10
    Views
    1,905

    Grabbing input

    Need help in grabbing my input from another program file, UNIX redirector operator.
    How do I go about doing it?

    I’m supposed to get 100 random input and have an input point of 9, input > point...
  14. Replies
    7
    Views
    6,815

    binary to decimal

    Hi there,

    I am very new to c prog and most probly have thousands of questions to ask.
    As for now, I have question on how do I make a conversion of Binary to Decimal. Having a standard in binary...
Results 1 to 14 of 14