- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
11 Posted Topics
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 memory.
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 targetting any such big companies then their standards are always good, so I think a safe answer to …
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. [code=C] int sourceNo=105, destNo; int n; destNo = sourceNo<<n; // Here n is the number of bits you want to skip. destNo …
[QUOTE=Ancient Dragon;418197]If that is the binary representation of the integer, then just typecast it or memcpy() it. [code] char array[some_number]; int n = *(int *)array; or memcpy(&n, array, sizeof(int)); [/code][/QUOTE] Hi Guys, I tried the code suggested by Ancient Dragon. But it looks like its dependent on bit pattern followed …
Please correct me if I am wrong, but I have used a function [code] delay(int millisecond) [/code] The function gives delay in milliseconds. Its probably defined in dos.h, so not sure if VC will provides it and does standard C accepts it.
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 0xFFFFFF = 16777215 in decimal.) Providing a simple example. can not consider it …
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 change the function name. I would suggest you use "Square" instead of …
[QUOTE=R_brahmankar;416055]hi friends , i am rushikesh brahmankar . i am studying final year of BE COMPUTER . I AM REQUIRING SOME GOOD IDEAS WHICH CAN BE IMPLEMENTED AS BE PROJECT. I HAVE KNOWLEDGE OF C, C++,JAVA ORACLE. I AM READY TO DO PROJECT IN ABOVE LANGUAGES. I AM ALSO READY …
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.
Hi There, Here you go. Please find your requsted program below. [CODE=C] /******************************************************************************\ * QUESTION #2 * * Create a program that will keep track of 5 students and their grades. * * The grades will be kept in an array of up to 10 grades. * * To do …
[QUOTE=linuxrobot]Hello all, I have a friend who spends about 3-4 hours a day in front of his PC. He said he is experiencing eye problems. Such as: the farther away the object is the more blurry it becomes, and a "double" starts rising from the top of an object, etc. …
The End.
ashishtrivedi