English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - November 2006

[Selected]: All categories Computers & Internet Programming & Design

im design something for someone[ doenst matter who right?] we agreed that he will pay me but i duynno how he wil pay me, we were wondering how? we barely know each othwe and plz just kindly help?

2006-11-15 15:03:40 · 4 answers · asked by ¤AFTERN00N L0VAH¤ 2

bloggers.com

2006-11-15 14:53:31 · 2 answers · asked by babycha 1

can anyone recomend a converter that can convert a mkv. file into any avi.,wmv. etc. because i need to be able to convert it into one of those so that i can convert it again into an mp4 file.

2006-11-15 14:52:39 · 1 answers · asked by krazeekrnxpnosaj 1

i've been looking around but havent found anything. im not very computer saavy.

2006-11-15 14:45:23 · 2 answers · asked by Anonymous

Which has movies that I can download to my computer in a file format, so I can use them in movie making projects?

2006-11-15 14:36:58 · 6 answers · asked by Blackadder 2

how can you change your template width when you have nothing that says width or current size. (div)

2006-11-15 14:27:13 · 2 answers · asked by mike 2

viewing and editing.... simple on - line programming with database

2006-11-15 14:04:57 · 2 answers · asked by edwinbiasbas 1

do u know...

2006-11-15 13:18:49 · 5 answers · asked by BOYCUTE 2

if u have ne additional infomation you can email me at shojohnson16@yahoo.com

2006-11-15 13:13:20 · 4 answers · asked by shola j 1

I want a modern, free, visual website builder and editor like Frontpage. I have Mozilla and have used it's composer, but I find it too basic, and want to get a bit fancier with my websites. I also have Aptana, but I don't really know how to code websites, other than the basic form of HTML code.

Thanks!

2006-11-15 13:13:18 · 4 answers · asked by Buckdog06 2

Mine was the "hello world" program, created in Visual Basic.net

2006-11-15 12:03:58 · 4 answers · asked by D 4

I need to be able to control a device via the parallel and the serial port. The platform is Windows XP and the compiler I'm using is Borland Builder C++. How can I do this if importb and outportb are no longer supported? I know I have to use the CreateFile function. How does this work? Any help will be appreciated!!!

2006-11-15 11:21:26 · 1 answers · asked by Horumaket 2

2006-11-15 10:14:40 · 9 answers · asked by ladyinblue 1

2006-11-15 10:04:08 · 5 answers · asked by ♥☺ bratiskim∞! ☺♥ 6

i made my pages by MS Frontpage. Thn i uploaded my pages by geocities .its free of cost..but the problem is images r not shoing, how can i link my images

2006-11-15 09:39:00 · 2 answers · asked by bluewater 1

Objective: To acquaint the programmer on how to add and use a DLL in a program in Visual
Studio.
The program must be turned in electronically to the TA, and the output of this program must
be printed out and submitted on the day it is due. This assignment also has to compile and
run in Visual Studio in order to receive complete credit for the program.
Make certain that for each function, a prototype is created and placed at the beginning of the
program after the #include statements and before the first function.
The output from this program needs to be captured from the system using the console edit as
demonstrated in class. The *.cpp file that is generated will need to be e-mailed to the grader.
Task 1. Add the PROG3.DLL to your program
Remember, to add the PROG3. DLL, the program must have the Prog3.lib and the Prog3.h
file added to the project, and the Prog3.dll file in the working directory. Using the debug
feature, the working directory is where your *.cpp file is usually kept. If running from a
console, then Prog3.dll needs to be in the same directory as your executable. Call Initialize()
at the beginning of your Main function.
This DLL consists of the following functions that can be called from the DLL once the
programming project has been set up.
Function: void Initialize();
Input Value: None
Return Value: None
Description: Initiailze, when called, sets the minimum range limit to 0, the maximum range limit to 0, and the
bit resolution to 0 inside of the DLL.
Function: void SetMin(float Num);
Input Value: float Num
Return Value: N/A
Description: SetMin, when called, sets the minimum range limit to the value of Num.
Function: void SetMax(float Num);
Input Value: float Num
Return Value: N/A
Description: SetMax, when called, sets the maximum range limit to the value of Num
Function: void SetResolution(int Num);
Input Value: int Num
Return Value: N/A
Description: SetResolution, when called, sets the bit resolution of the binary range to the value of Num.
Function: float GetMin();
Input Value: N/A
Return Value: float
Description: GetMin, when called, returns the floating point number that is equal to the minimum range limit
last set in the DLL.
Function: float GetMax();
Input Value: N/A
Return Value: float
Description: GetMax, when called, returns the floating point number that is equal to the maximum range limit
last set in the DLL.
Function: int GetResolution();
Input Value: N/A
Return Value: int
Description: GetResolution returns the value of the bit resolution currently set within the DLL.
Function: float FindUnitValue(int BinaryValue);
Input Value: int BinaryValue
Return Value: float
Description: FindUnitValue takes the integer provided and applies the Binary Range formula to that integer
and returns the value of that number in units as a floating point number.
Task 2. Create a menu using a switch statement that performs the following tasks using the
DLL.
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
Menu item Set Minimum should prompt the user for input, read in the input, and then call
SetMin and pass the value taken from the keyboard.
Menu item Set Maximum should prompt the user for input, read in the input, and then call
SetMax and pass the value taken from the keyboard.
Menu item Set Resolution should prompt the user for input, read in the input, and then call
SetResolution and pass the value taken from the keyboard.
Menu item Get Minimum should call GetMin and print out the value to the screen.
Menu item Get Maximum should call GetMax and print out the value to the screen.
Menu item Get Resolution should call GetResolution and print out the value to the screen.
Menu item FindUnitValue should prompt the user for an integer, read in the input, and then call
FindUnitValue, and print the result to the screen.
Menu item Initialize should simply call Initialize().
Menu item Quit should exit the program.
Now that strings have been covered, a new method of gathering the data may be used. Scanf may
still be used, but an alternate form of getting the input is below.
It is possible to read a statement from the keyboard as a string, with the fgets command, and then
convert the result into either an integer using atoi or a float by using atof. Be sure to #include
at the beginning of the program.
Given: char StringVar[80];
For example, to get a single float from the user:
printf("Please enter the new minimum range limit:\n");
fgets(StringVar,80,stdin);
FloatVar=atof(StringVar);
For example, to get a single integer from the user:
printf("Please enter the binary value to convert.\n");
fgets(StringVar,80,stdin);
IntVar=atoi(StringVar);
Sample Output:
Eric Becker
CSE 1311-001 and CSE 1311-002
October 20, 2006
Programming Assignment #3
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
1
Please enter the new minimum range limit:
-10
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
2
Please enter the new maximum range limit:
10
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
3
Please enter the new bit resolution:
16
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
4
The current minimum is -10 units.
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
5
The current maximum is 10 units
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
6
The current resolution is 16 bits.
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
7
Please enter the binary value to convert.
40960
The unit value is 2.500000 units.
1. Set Minimum
2. Set Maximum
3. Set Resolution
4. Get Minimum
5. Get Maximum
6. Get Resolution
7. Find Value
8. Initialize
q. Quit
q
Task 3. Use the program to find the value for the following case.
Case 1: Given a minimum of -5, a maximum of 5, and a binary resolution of
10, what is the value of 768?
Case 2: Given a minimum of -5, and a maximum of 5, and a binary resolution
of 12, what is the value of 1024?
Case 3: Given a minimum of -10, and a maximum of 10, and a binary
resolution of 16, what is the value of 49152?
Case 4: Given a minimum of -57.2958, a maximum of 38.1972, and a
resolution of 14, what is the value of 14746?
Task 4. The output from your program is required to be turned in on the due
date. This output should show the results of Task 5.
Task 5. Submit the electronic version of the code for grading. Send the *.cpp
file of your program to the GTA.

2006-11-15 09:30:02 · 3 answers · asked by Anonymous

2006-11-15 09:14:44 · 5 answers · asked by adrianadrianandkaren 1

Of there isn't one tell me

2006-11-15 08:43:45 · 1 answers · asked by Antizzle 2

How would my friends & I accomodate viewers with regular dial-up access...when it comes to them listening to music/watching trailers on a website.
They say that their pc freezes when they try other sites.Are those sites not using a certain program...is dial up even capable...or is it a combination of the both.

2006-11-15 08:39:27 · 3 answers · asked by Anonymous

i would like to design my on flyers can any one tell me of any software i need or free software many thanks

2006-11-15 08:26:33 · 5 answers · asked by Dj Denzone 2

2006-11-15 07:42:47 · 1 answers · asked by jigskep 1

i want to put doom on my psp and it doesnt work because the instructions say to put all the wads in some folder. I have no idea what they look like and i was wondering if one of you could help. I also wanted to know if all wad files have a .wad extension

2006-11-15 07:22:44 · 2 answers · asked by Ree Ree neenagan 2

I would like to make my own graphics, how do i do it professionaly?

2006-11-15 06:45:06 · 5 answers · asked by girls_for_jesus 1

I need advice on putting together a Nursing computer
program to eliminate the long hrs typing. Like short cut to medical words without typing out everything! Just some advice on couple of things to do or ways to find out more information.

2006-11-15 05:59:55 · 4 answers · asked by smiley710 1

I have over 4,000 products in mySQL database, and I've successfully connected to mySQL in Dreamweaver. My product database, includes description of the product, price, image name of the products, etc. Obviously I don't want to copy and paste every single product image, description, price, on my site. How can I use queries in Dreamweaver so that I can pull all that information directly off my database?

2006-11-15 05:48:45 · 2 answers · asked by Rafael R 1

SOME SITES REQUIRE JAVA TO BE THERE IN UR SYSTEM TO VIEW THEIR SITE
HOW DO I KNOW AND HOW DO I ACTIVATE IT?

2006-11-15 05:05:45 · 5 answers · asked by nav 1

Hi

I need the data type for date and its import statement. Can you find out and tell me please.

2006-11-15 05:02:34 · 1 answers · asked by Madhan 1

The Home Page is centered in the middle of the screen when I open my computer and Int. Exp. opens to my Home Page.

2006-11-15 04:25:04 · 3 answers · asked by Anonymous

fedest.com, questions and answers