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?
Type: Posts; User: bugeye
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?
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...
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");...
ha, so sorry, i'm kinda new to C so sorry....
ok, now i kinda get it...thanks a lot guys!
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?
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...
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?
hey salem!!!
thanks it works...hey but care to explain wat the get char() command does?
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...