Dot Net Code (114)
Visual Basic Code (11)
Programming Code AllOther (62)
How to Check if File Exists?
how to take time as input in the format (12:02:13) from user so that controls remains between these columns?
In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?
What is GUID anyway?
write a program to convert temperature from fa height into celcius and vise versa,use modular programming
how to track links visited in google using iframes
I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Write a routine to implement the polymarker function
write a program to perform generic sort in arrays?
Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array.
How to get Filename from Path?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Write a Program to truncate a given floating point value (e.g.16.25=16).
Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.