... Do you want the result of that operation to be of type `float' ? If so typecast it with `float' as A = (float)(B * 255 + C + D / 100); - Ramprasad B ...
... If you typecast the full equation, it will get rid of your warning (assigning an int to a float should not be an error), but it may not give you the answer...
... There is no one book that will "make" you learn C at any level. Find a book and start writing programs, small programs at first and then more complex...
... <snip> You look at the line main and you start counting 1, 2, 3, until you get to the last line of main. Do you want a function within the program that...
... Was it really an error instead of a warning? Was it really at runtime? ... Post the smallest compilable snippet that exhibits the problem. The code you've...
... 7.1.1 Definitions of terms 1 A string is a contiguous sequence of characters terminated by and including the first null character. ... A string can be put...
hai friends how to reverse a hexadecimal number? ... Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from...
Hi, It is a signal. Thanks, Prem ... From: c-prog@yahoogroups.com [mailto:c-prog@yahoogroups.com] On Behalf Of Paul Herring Sent: Wednesday, November 01, 2006...
hello everyone i need one help from u r side i m student of engg I year and now mine sir give me one prog which is realted with lear year. i have done this...
hello everyone i have got a severe problem with the format of hexadecimal number system using c++ (cout). a small piece of code I tried was this:: void...
Uday Hi, the following was extracted from wikipedia. The Gregorian calendar, the current standard calendar in most of the world, adds a 29th day to February in...
... #include <stdio.h> int main() { int year = 0; int i = 0; printf("Enter a year to find whether it is a leap year or not : "); scanf("%d", &year); if((year %...
Hello everybody, Can anyone help me on finding resources for developing GUI applications on Linux platform (redhat) using C (or C++) ? thanks in advance, ...
... 1) AND the number with 15 to get the last 4 bits, print the value. 2) SHIFT the number 4 places to remove those bits. 3) If there's any number left goto 1 ...
... mine sir give me one prog which is realted with lear year. ... year or if not that means this is not a leap year. ... all of you. SJ :: 1. Every year...
... Do you want to program using trivial graphics, then use `ncurses' manual, else you can go for advanced graphics using GTK, QT, etc - Ramprasad B ...
... Leaving printing and inputing hex numbers an excercise, albiet with a hint :)) Rest I think this should work..assuming no signed arithmatic involved!! ...
... But isn't what you doing is string reversal? I thought that OP wanted to reverse a hexa decimal no. Not a string representation of it!! I know that no. can...
Here is the algo for a possible solution. - Find string main - Start counting the lines onward. - Find char '{' or '}' - For each '{' place it on a stack -...