Search:

Type: Posts; User: bugeye

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,819

    decimal to binary

    i wanna write a function to compute the binary equivalent of a decimal number between 2 to 10.
    this binary is to be stored in a six element array.

    how?
    using recursive?
  2. Replies
    2
    Views
    1,012

    yeah i'm so sorry...the aim is to read an already...

    yeah i'm so sorry...the aim is to read an already sorted list of integers in f1.dat and f2.dat.
    Thereafter, upon reading the data from each file, it will sort the integers and transfer it to...
  3. Replies
    2
    Views
    1,012

    probelms regarding file processing

    hello again!
    i've been trying different permutations of the code u suggested so now, my prog looks something like that:

    #include <stdio.h>

    main()
    {
    FILE *file3 = fopen("f1.dat", "r");...
  4. Replies
    9
    Views
    1,935

    ha, so sorry, i'm kinda new to C so sorry.......

    ha, so sorry, i'm kinda new to C so sorry....
    ok, now i kinda get it...thanks a lot guys!
  5. yeah, thats a good idea thanks!! hmm, but if i...

    yeah, thats a good idea thanks!!
    hmm, but if i wanna do it using if else cotrol structure then how should i write/edit this prog?
  6. if-else prob..very basic so sorry to trouble u guys

    hey, sorry to trouble u guys.
    ok, i've got a prob...the qn goes like this:
    the user is supposed to input 10 integers (can be positive or negative) and write a prog to select the 2 largest integers...
  7. Replies
    9
    Views
    1,935

    hey i agree that we shld get the basics...

    hey i agree that we shld get the basics right...learn a standard code..
    hey but i still dun uderstand wat the getchar() != '\n' does...
    anyone care to explain?
  8. Replies
    9
    Views
    1,935

    hey salem!!! thanks it works...hey but care to...

    hey salem!!!
    thanks it works...hey but care to explain wat the get char() command does?
  9. Replies
    9
    Views
    1,935

    Another do-while enigma..for me

    hey guys, i'm rather new to c prog so any advice will be appreciated.
    this prob may be rather elmentary but i'm still having probs, pls help!
    ok, so the prob goes like this:
    Write a loop to...
Results 1 to 9 of 9