Forum: C Aug 23rd, 2007 |
| Replies: 3 Views: 1,359 Hi,
Its simple,
1. Just use the shift operator. First n times left shift and then again n times right shift. This will make all zeroes in beginning.
int sourceNo=105, destNo;
int n;
destNo... |
Forum: IT Professionals' Lounge Aug 14th, 2007 |
| Replies: 8 Views: 6,572 When you are applying as a freshers(without experience) you are generaly not asked for your salary expectations. The joining salary is as per the company standard for freshers. And when you are... |
Forum: C Aug 13th, 2007 |
| Replies: 2 Views: 15,105 Hi Guys,
I tried the code suggested by Ancient Dragon. But it looks like its dependent on bit pattern followed by your processor (little andien - big Andien).
So I got the bits transferred to ... |
Forum: C Aug 10th, 2007 |
| Replies: 3 Views: 8,305 Please correct me if I am wrong, but I have used a function
delay(int millisecond)
The function gives delay in milliseconds. Its probably defined in dos.h, so not sure if VC will provides... |
Forum: C Aug 9th, 2007 |
| Replies: 4 Views: 2,003 Hi
Did that mean you want to assign any number that can be stored in 3 bytes storage space? if so, I would suggest the following code. (I think if taken unsigned the maximum number would be... |
Forum: C Aug 9th, 2007 |
| Replies: 2 Views: 3,612 could not understand your question. Did you declared a void pointer and then allocated memory? I mean if you could post some code snippet what you want to do, i can try to answer. |
Forum: C Aug 9th, 2007 |
| Replies: 17 Views: 4,913 post the code snippet you are refering to.. I will try to answer. |
Forum: C Aug 8th, 2007 |
| Replies: 6 Views: 1,247 Hi There,
Here you go. Please find your requsted program below.
/******************************************************************************\
* QUESTION #2 ... |
Forum: C Aug 8th, 2007 |
| Replies: 17 Views: 4,913 I tried by puting your code into c file and compile. It gave me error. there is a function with name square. So in addition to "providing a prototype at start of your program", you also need to... |
Forum: C Aug 8th, 2007 |
| Replies: 5 Views: 1,997 Hi there,
I think you can go for either of the following projects in C or C++.
- Compiler development. (- if not as a whole compiler, only Lexical analyser and Syntax analyser.)
- A screen... |
Forum: Geeks' Lounge Jul 21st, 2005 |
| Replies: 5 Views: 1,648 Hi..
This will solve your prob, as life is not worth living without the eyes.
A specialist doctor in the US that he termed as "20-20-20". It is apt for all of us, who spend long hours at our... |
Forum: C Jul 21st, 2005 |
| Replies: 0 Views: 16,073 A console application to multiply two matrix of float numbers and print result on console. Some memory checks are done as it is allocating memory dynamicaly. May give error and exit when short of... |