Compile Netbeans + Glassfish Proyect.
Im trying to compile a proyect made with Netbeans+Glassfish+Postgress.
Dont know why Im getting an error and not being able to do so.
Need to fix the error.
Im trying to compile a proyect made with Netbeans+Glassfish+Postgress.
Dont know why Im getting an error and not being able to do so.
Need to fix the error.
I have a cross platform piece of code that needs to be compiled for Android.
a)
compile the library C++
b)
create a simple Android app that ;
. i) locates and imports a graphic file
. ii) ask for some Input ( user name)
. ii) click Run button to pass the graphic to the library function
. iii) save the resulting output to a SQLite DB in the phone – two fields, Username and Data.
Required within 2 days. Should be achievable for good coder.
thanks
Hello,
There is a project named ‘Free Download Manager’ on sourceforge written in C++ ATL. I need the entire solution to compile and build.
Here is the location of the source files:
http://sourceforge.net/projects/freedownload/files/Free%20Download%20Manager/FDM%203.0.852/
You will need to provide a zip file with the project/source-file changes you made to make it all compile and build.
I’m using VS 2008.
You must be able to start right-away and work fulltime on this until complete.
Please specify estimated time to complete this along with your bid.
Thanks.
Wanting the silverlight source here – http://livegeometry.codeplex.com/ – editing slightly (removing a couple of icons) and compiling so it will run via a browser.
ANDROID DEV. WANTED TO COMPILE THEME FOR ANDROID 2.2
We’re looking for an ANDROID DEV. to compile / create a quick executable file / theme for Android 2.2.
The job consists in compiling some hacks / widgets / mods into a single executable / flashable file.
The hacks / mods we will compile are:
http://www.youtube.com/watch?v=7g7mbUyHfA8
It’s basically a modified theme for android 2.2 to make it look like honeycomb. Now, this theme has to be installed manually (using desktop visualizer, and other widgets).
What we want to accomplish is to have a single executable file that can make all the processes of installing the widgets, customizing…
So, it can be automatically installed.
Our budget is around: 150USD – 200USD
If you can do it, feel free to reply this ad.
I want to compile targeted lists of Google Adwords advertisers for specific locations and keywords (i.e. for local keywords).
I need the contact information for the Adwords advertisers.
This could lead to ongoing work for a year, if the work is good and if the project is successful.
I have tried using KE 2.0 for this, and a couple of other applications, but, thus far have not found the ideal application for accomplishing this.
Relatively Simple project
1) Follow this instructions to download latest of Flowplayer+plugin from SVN
http://ashwinrayaprolu.wordpress.com/2011/04/04/build-flowplayer-from-source/
2) Get it to compile, You will need Flex SDK + ANT for this to compile
3) then I need a simple change to update the branding.
Required to compile a list of local businesses in csv form for import.
Total businesses is around 2000 listings.
Business Name, Address, Postal Code, Telephone, Website, Email, categories, and details.
Please PM for more details.
ANDROID DEV. WANTED TO COMPILE THEME FOR ANDROID 2.3
We’re looking for an ANDROID DEV. to compile / create a quick executable file.
The job consists in compiling some hacks / widgets / mods into a single executable / flashable file.
The hacks / mods we will compile are:
http://www.youtube.com/watch?v=7g7mbUyHfA8
It’s basically a modified theme for android 2.3 to make it look like honeycomb. This theme has to be installed manually (using desktop visualizer, and other widgets).
What we want to accomplish is to have a single executable file that can make all the processes of installing the widgets, customizing…
If you can do it, feel free to reply this ad.
I have a complete app project that I need compiled and tested for iphone. I already have it in the Android Market, but I don’t have a Mac so I can’t install the XCode and prepare it for iTunes.
It is a very basic app… here is the link to the Android version
https://market.android.com/search?q=conceptinet&so=1&c=apps
This is a quick and easy project.
I have the source code of a VB application I need it complied into a windows XP/Vista compatible application with its installer so it can be safely added to program files
Attached it the source code so you can take a look at it.
PLEASE. No bids over 24 hours I need this done asap
I need to compile Part 1 – 48 of the videos on this site:
http://wakeupproject.com/VList.asp?Series=1
each video is 10 mins long.
Total of 480 mins (or 7 hours).
I want them converted so that when I get the files, I can simply burn into DVDs.
I believe this will take 2 or maybe 3 DVDs.
Should be easy for those who know what they are doing.
I have an app written a while ago by a programmer who I can no longer get in touch with.
I have the source code for an application, but I need it to be compiled and also an installation EXE created that includes all of the needed DLL, OCX, etc. files.
If the application can be compiled so that upon running all the libraries are loaded into memory so that there are no separate dependent files, even better.
I’m not sure which language the app was written in, but I believe it was Visual Basic (poss V6) – I’ve attached screenshots of the file listings in case that helps …
Currently looking for someone who specializes in writing for the beauty industry.We need someone to do the following.
Articles need to be 100 words/article:
1. Research Hair Industry and compile 10 articles on how they are being affected by the economy.
2. Research Nail Industry and compile 10 articles on how they are being affected by the economy.
3. Research Beauty Industry and compile 10 articles on how they are being affected by the economy.
4. Articles can not be used by anyone else. We own copyrights and all articles should pass copyscape for no duplicates.
If work is done properly you can expect more of our business.
Hi i need to compile an image in a ecover paperbook whit this action:
“http://creativetechs.com/tips/tip_resources/CoverActionPro-PaperbackBook.zip”
i have the graphics, i need only to trasfom the images in an ecover, super easy job.
PSD of the image attached
My web host updated some ASP.NET framework settings and now my client’s site, which uses DreamweaverCtrl.dll, fails on error.
I am told to:
To resolve the error, you’ll need to add the following line to dreamweaver.cs and recompile the DLL:
[assembly:AllowPartiallyTrustedCallers]
Adobe provides a batch file that can be used to recompile dreamweaverctrls.dll, and the following blog post should serve as a guide:
http://www.highdots.com/forums/macromedia-dreamweaver/dreamweaver-not-usable-fasthosts-232676.html
Once the DLL is recompiled, it can be uploaded to the web server, and the site should resolve again. “
–
I have followed the steps but I don’t have the CSC.exe right location (or its the wrong version). In addition, I don’t have VB.
I need someone to recompile this small change for me and send me the DLL. Will provide any required files (which I think the .CS file)
Should take a pro a matter of minutes.
Hi
I want yamdi 1.4.2 compiled as .exe for Win32.
1.4 is already downloadable as win binary but it has a bug with certain video files… its recognizing height and width of videos as “0″.
You can find the source files of 1.4.2 in the web.
You must write PM with URL of the source code you want to use. That way we agree on the right source code.
I’d like to have google chrome compiled for windows without any navigation buttons or address bar. It’ll just browse a pre-defined URL.
You can see the code here: http://code.google.com/chromium/
I don’t want the right-click, either.
The application would only display the page.
I already have this kind of application which is using the IE API. I can show you that. I want something like it which using the Chrome backend.
I’ll use a javascript application on it. So I want the V8 (the javascript engine of google) included.
I need a simple desktop application to work with Power Point and Excel.
Here are the main features:
The software needs to be able to compile a power point presentation from a variety of available power point slides that are saved as individual files. The software must have built in capabilities for the user to tell the program ahead of time which file to put into which location. The program must also have the ability to compile a corresponding excel price list from the slides that were picked and place them in the correct order. The program must have an administrative log in section that allows the administrator to make changes to the program and make changes.
Here is specifically how the program must operate …
Step 1: The user will input details about who the power point presentation will be given to such as the name of the Customer, the date of the presentation, and the name of the buyer or buyers that the presentation is given to. Also during this step the user will define the master file location where the slides that will be identified in the following steps will be located.
Step 2: The user will define the order in which the slides will be presented. They will do this by placing a number from 1 to 11 in a box next to the name of the segment. Each number will be used only once. The program must have logic built in so that if the user misses a number it will not let them move to the next step until at least one segment is chosen. The user may leave up to ten of the boxes un-checked but must choose at least one segment.
Step 3 through Step 14:
For each segment that the user chose in Step 2 another step will appear. One these steps the user will pick the individual items that they wish to have populated in the presentation. They must choose at least one item for each segment that appears. A segment or step will only appear if it was chosen in step number 2.
Final Step
During the final step the user will choose which type of presentation they want the program to create. They can pick as many as they want, but must choose at least one. Their choice are: Power Point Presentation, New Item Form, Show Form.
Behind the scences the program will compile the power point presentation as follows:
Using the data that the user inputed into step 1 the program will open up Power Point on the users desktop and will pick a template that I will supply. It will populate the information supplied into that template.
The program then will move to step 2 and will pick a slide for each item that was selected copy and paste it into the presentation and put it into the proper order. It will know which file to choose because in step 1 the user told the program the master file to search. Each item chosen in step 2 will have as their file extention name the same name as the user sees on their screen.
The program than will move to steps 3 through 14 as needed. In these steps the program will open up the individual item presentations and place them under the correct section. It will know to do this because each item will have the same file extention as the name shown on the screen.
The program than moves to the final step. Behind the scenes it will review the selections made in the previous steps and compile excel spreadsheets using a pre-loaded spreadsheet with only the items that were marked in the previous sections.
The attached drawings explain the program in further detail.
The admin section should allow the user to add and delete items and make other changes to the program.
Your job will be to locate resumes, and compile 4 items from each resume onto a spreadsheet.
The 4 items are:
Email address
First Name
City of Employment
Year
All resumes must be from USA, and must be less than 6 months old. The more recent, the better.
You will need to source the resumes any way you can.
You will create one excel workbook, dated for the day. In that workbook, there will be two tabs. One for men and one for women.
I need to receive the spreadsheet by 8am EST daily.
This project is for 200 leads. If it goes well, and you would like, we can increase to 400 daily. And if it continues to be delivered accurately and on time, we can go to 1000 per day.
I do not believe this can be automated, but I may be wrong. I think the 3rd and 4th piece of info is not “standard” and therefore cannot be compiled in an automated way.
I do not escrow. If that bothers you, please do not bid. I pay through Paypal. I am available 8am-2am EST for assistance.
Please do not bid if you have “0″ feedback. I know we are all new at some point, but if I allow all bids, I will have 50-100 bids and will not be able to even read them all.
Thank you and good luck!
I need someone to compile directory information from 4 websites. There is a lot of information so you should know some sort of coding so this data is easy to pull out.
Please email me your credentials. I will pay $10 per site.
I need someone to browse through 5-10 existing sites and compile the following information about the businesses: NAME, ADDRESS, ZIP CODE, PHONE NUMBER, WEBSITE, REGION, WEBSITE.
It’s a pretty simple and straightforward project.
I need someone who can compile – fmpeg-php on to my hosting account. I have SSH access. Should take 10 minutes…
http://ffmpeg-php.sourceforge.net/
Hi
I have a keylogging program. It logs the activity from the keyboard and mails it to a mail given. I need you to write in the mail and compile the program. Its written in VB5 I think
Looking for someone to compile a list of webmaster, business, start-up, work at home forums including numbers of members and the email of the webmaster.
I have an embedded AVR32 processor (ATMEL NGW100) running LINUX. I would like to cross compile a C++ program(http://aws.28msec.com/) that accesses Amazon’s AWS services (aws.amazon.com).
I am not that familiar with cross compiling to that environment.
Here is what needs to be done. I have the skeleton code too which i have included right after the instructions. This program must compile in Dev C++ and it needs to be in the format in the instructions.
Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.
Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:
1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.
What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.
Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.
References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17
Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.
Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.
Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.
Grading Details
Your program will be graded upon the following criteria:
1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)
The code Skeleton:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
// Symbolic constants to be used.
// Prices of bags of sugar and lemon, respectively.
#define PRICE_LEMON 3.50
#define PRICE_SUGAR 2.00
// Fraction of a bag of lemons and sugar used on a single cup of lemonade.
#define LEMON_PER_CUP 0.03
#define SUGAR_PER_CUP 0.04
// The initial loan the user is given to start their lemonade stand.
#define START_MONEY 20.00
// Using symbolic constants for true and false.
#define FALSE 0
#define TRUE 1
void buy_lemons(double *pLemons, double *pMoney);
void buy_sugar(double *pSugar, double *pMoney);
int weather();
int num_cups_sold(int weather, int cost);
void status_report(double cash, double num_lemons, double num_sugar, int day);
int max_sell(double num_lemons, double num_sugar);
int get_cost();
void sell_cups(double *pMoney, double *pLemons, double *pSugar);
void end_message(double money);
int main() {
int num_day, ans;
double money = START_MONEY, num_lemons = 0, num_sugar = 0;
srand(time(0));
printf(“Welcome to the Game of Lemonade!nn”);
printf(“You start the game with $%.2lf and no supplies!n”, START_MONEY);
// Loop through each day. Ask the user if they want to buy lemons. If so,
// carry out the transaction. Then ask them if they want to buy sugar.
// If so, do this transaction as well. Then, let them sell lemonade for
// the day. Finally, print a status report after they’ve sold lemonade
// at the end of the day.
for (num_day = 1; num_day <= 10; num_day++) {
}
// Print out whether or not they have lost money, broke even or gained
// money.
return 0;
}
// Pre-conditions: pLemons and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy lemons. If
// successful, the number of bags of lemons and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of lemons, tell them so and return. Otherwise, ask
// the user how many bags of lemons they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.
void buy_lemons(double *pLemons, double *pMoney) {
}
// Pre-conditions: pSugar and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy sugar. If
// successful, the number of bags of sugar and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of sugar, tell them so and return. Otherwise, ask
// the user how many bags of sugar they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.
void buy_sugar(double *pSugar, double *pMoney) {
}
// Pre-condition: None
// Post-condition: The weather report for the day is printed and the
// corresponding weather status in between 1 and 5,
// inclusive, is returned.
int weather() {
// Get the weather status value.
int retval = rand()%5 + 1;
printf(“nHere is today’s weather forecast:n”);
// Print out the appropriate forecast for that status.n”);
if (retval == 1)
printf(“It is cloudy with a high chance of rain.n”);
else if (retval == 2)
printf(“It is partly cloudy and windy.n”);
else if (retval == 3)
printf(“It is partly sunny with low humidity.n”);
else if (retval == 4)
printf(“It is warm and sunny with medium winds.n”);
else
printf(“It’s a perfect beach day. Sunny and hot!n”);
return retval; // Return this status value.
}
// Pre-condition: weather is an integer in between 1 and 5, inclusive,
// standing for the weather status for the day. cost is
// the cost of a cup of lemonade in cents for that day.
// Post-condition: The number of cups of lemonade for that day is returned.
int num_cups_sold(int weather, int cost) {
int optimal_price, max_cups;
double max_income;
// Calculate a maximum revenue for the day.
max_income = 5 + 3*weather;
optimal_price = 15 + 5*weather;
max_income = max_income – fabs(optimal_price – cost)/1.5;
// If it’s lower than 5 dollars, reset it to 5 dollars.
if (max_income < 5)
max_income = 5;
// From this, determine the maximum number of cups that could be sold.
max_cups = (int)(max_income/((double)cost/100));
// Return a random number from 0 to this maximum.
return rand()%(max_cups+1);
}
// Pre-condition: cash is the amount of cash the user has, num_lemons is
// the number of bags of lemons the user has left, num_sugar
// is the number of bags of sugar the user has left, and day
// is which day of the game just finished.
// Post-condition: A status report with the four values passed in is nicely
// displayed for the user.
//
// What to do with this function: This is fairly self-explanatory from the
// pre and post conditions. Look to the sample given in the assignment for
// the format.
void status_report(double cash, double num_lemons, double num_sugar, int day) {
}
// Pre-condition: pMoney, pLemons and pSugar are pointers to the variables
// storing the user’s amount of cash, number of bags of
// lemons and number of bags of sugar.
// Post-condition: A day’s transactions will take place and the amount of
// money, the number of bags of lemons and sugar will be
// adjusted accordingly.
//
// What to do with this function: First prompt the user with the weather
// report. Then, ask the user for how much they want to sell a cup of
// lemonade. Determine the number of cups that actually get sold for the
// day by determining how many cups the user COULD sell based on the
// availability of supplies and how many cups they COULD sell based on the
// weather. Print out how many cups of lemonade they ended up selling.
// Then adjust the amount of money they have, as well as the number of bags
// of lemons and sugar.
void sell_cups(double *pMoney, double *pLemons, double *pSugar) {
}
// Pre-condition: num_lemons is the number of bags of lemons the user has,
// and num_sugar is the number of bags of sugar they have.
// Post-condition: The function returns the maximum number of cups of
// lemonade the user can sell based on available supplies.
//
// What to do with this function: Calculate how many full cups of lemonade
// you can supply with sugar. Do the same calculation for lemons. Then,
// return the smaller of these two values.
int max_sell(double num_lemons, double num_sugar) {
}
// Pre-condition: None.
// Post-condition: Returns the number of cents the user will sell a cup of
// lemonade for, for that day.
//
// What to do with this function: Prompt the user to enter how much they
// want to charge for a cup of lemonade. If they don’t enter a positive
// integer, reprompt them until they do. Then return this value.
int get_cost() {
}
// Pre-condition: money is the amount of money the user has left at the end
// of the 10 days of running their Lemonade Stand.
// Post-condition: The user’s overall loss or profit is printed out.
// What to do with this function: See if what they have left is less than
// what they started with. If so, print out how much the lost. If it’s equal
// just print out a message saying that they broke even. Otherwise, print
// out how much profit they made!
void end_message(double money) {
}
Here is what needs to be done. I have the skeleton code too which i have included right after the instructions. This program must compile in Dev C++ and it needs to be in the format in the instructions.
Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.
Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:
1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.
What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.
Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.
References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17
Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.
Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.
Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.
Grading Details
Your program will be graded upon the following criteria:
1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)
The code Skeleton:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
// Symbolic constants to be used.
// Prices of bags of sugar and lemon, respectively.
#define PRICE_LEMON 3.50
#define PRICE_SUGAR 2.00
// Fraction of a bag of lemons and sugar used on a single cup of lemonade.
#define LEMON_PER_CUP 0.03
#define SUGAR_PER_CUP 0.04
// The initial loan the user is given to start their lemonade stand.
#define START_MONEY 20.00
// Using symbolic constants for true and false.
#define FALSE 0
#define TRUE 1
void buy_lemons(double *pLemons, double *pMoney);
void buy_sugar(double *pSugar, double *pMoney);
int weather();
int num_cups_sold(int weather, int cost);
void status_report(double cash, double num_lemons, double num_sugar, int day);
int max_sell(double num_lemons, double num_sugar);
int get_cost();
void sell_cups(double *pMoney, double *pLemons, double *pSugar);
void end_message(double money);
int main() {
int num_day, ans;
double money = START_MONEY, num_lemons = 0, num_sugar = 0;
srand(time(0));
printf(“Welcome to the Game of Lemonade!nn”);
printf(“You start the game with $%.2lf and no supplies!n”, START_MONEY);
// Loop through each day. Ask the user if they want to buy lemons. If so,
// carry out the transaction. Then ask them if they want to buy sugar.
// If so, do this transaction as well. Then, let them sell lemonade for
// the day. Finally, print a status report after they’ve sold lemonade
// at the end of the day.
for (num_day = 1; num_day <= 10; num_day++) {
}
// Print out whether or not they have lost money, broke even or gained
// money.
return 0;
}
// Pre-conditions: pLemons and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy lemons. If
// successful, the number of bags of lemons and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of lemons, tell them so and return. Otherwise, ask
// the user how many bags of lemons they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.
void buy_lemons(double *pLemons, double *pMoney) {
}
// Pre-conditions: pSugar and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy sugar. If
// successful, the number of bags of sugar and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of sugar, tell them so and return. Otherwise, ask
// the user how many bags of sugar they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.
void buy_sugar(double *pSugar, double *pMoney) {
}
// Pre-condition: None
// Post-condition: The weather report for the day is printed and the
// corresponding weather status in between 1 and 5,
// inclusive, is returned.
int weather() {
// Get the weather status value.
int retval = rand()%5 + 1;
printf(“nHere is today’s weather forecast:n”);
// Print out the appropriate forecast for that status.n”);
if (retval == 1)
printf(“It is cloudy with a high chance of rain.n”);
else if (retval == 2)
printf(“It is partly cloudy and windy.n”);
else if (retval == 3)
printf(“It is partly sunny with low humidity.n”);
else if (retval == 4)
printf(“It is warm and sunny with medium winds.n”);
else
printf(“It’s a perfect beach day. Sunny and hot!n”);
return retval; // Return this status value.
}
// Pre-condition: weather is an integer in between 1 and 5, inclusive,
// standing for the weather status for the day. cost is
// the cost of a cup of lemonade in cents for that day.
// Post-condition: The number of cups of lemonade for that day is returned.
int num_cups_sold(int weather, int cost) {
int optimal_price, max_cups;
double max_income;
// Calculate a maximum revenue for the day.
max_income = 5 + 3*weather;
optimal_price = 15 + 5*weather;
max_income = max_income – fabs(optimal_price – cost)/1.5;
// If it’s lower than 5 dollars, reset it to 5 dollars.
if (max_income < 5)
max_income = 5;
// From this, determine the maximum number of cups that could be sold.
max_cups = (int)(max_income/((double)cost/100));
// Return a random number from 0 to this maximum.
return rand()%(max_cups+1);
}
// Pre-condition: cash is the amount of cash the user has, num_lemons is
// the number of bags of lemons the user has left, num_sugar
// is the number of bags of sugar the user has left, and day
// is which day of the game just finished.
// Post-condition: A status report with the four values passed in is nicely
// displayed for the user.
//
// What to do with this function: This is fairly self-explanatory from the
// pre and post conditions. Look to the sample given in the assignment for
// the format.
void status_report(double cash, double num_lemons, double num_sugar, int day) {
}
// Pre-condition: pMoney, pLemons and pSugar are pointers to the variables
// storing the user’s amount of cash, number of bags of
// lemons and number of bags of sugar.
// Post-condition: A day’s transactions will take place and the amount of
// money, the number of bags of lemons and sugar will be
// adjusted accordingly.
//
// What to do with this function: First prompt the user with the weather
// report. Then, ask the user for how much they want to sell a cup of
// lemonade. Determine the number of cups that actually get sold for the
// day by determining how many cups the user COULD sell based on the
// availability of supplies and how many cups they COULD sell based on the
// weather. Print out how many cups of lemonade they ended up selling.
// Then adjust the amount of money they have, as well as the number of bags
// of lemons and sugar.
void sell_cups(double *pMoney, double *pLemons, double *pSugar) {
}
// Pre-condition: num_lemons is the number of bags of lemons the user has,
// and num_sugar is the number of bags of sugar they have.
// Post-condition: The function returns the maximum number of cups of
// lemonade the user can sell based on available supplies.
//
// What to do with this function: Calculate how many full cups of lemonade
// you can supply with sugar. Do the same calculation for lemons. Then,
// return the smaller of these two values.
int max_sell(double num_lemons, double num_sugar) {
}
// Pre-condition: None.
// Post-condition: Returns the number of cents the user will sell a cup of
// lemonade for, for that day.
//
// What to do with this function: Prompt the user to enter how much they
// want to charge for a cup of lemonade. If they don’t enter a positive
// integer, reprompt them until they do. Then return this value.
int get_cost() {
}
// Pre-condition: money is the amount of money the user has left at the end
// of the 10 days of running their Lemonade Stand.
// Post-condition: The user’s overall loss or profit is printed out.
// What to do with this function: See if what they have left is less than
// what they started with. If so, print out how much the lost. If it’s equal
// just print out a message saying that they broke even. Otherwise, print
// out how much profit they made!
void end_message(double money) {
}
I want to be able to have several thousand excel entries compiled into a program so that when I input the 4 variables [the numbers next to _var1,_var2, etc], it will sort through it all and show me the data that corresponds to them.
The entries look like this:
_RUN1
_VAR1 20
_VAR2 20
_VAR3 200
_VAR4 10
84.0641 61.5402 58.3454 55.1516 52.2429 48.034 46.8502 45.9951 45.2275 45.6793 45.0774 44.5067 43.9174
59.6433 77.3248 51.4249 48.3279 45.451 42.3203 40.7336 40.4551 40.2279 39.6268 39.1503 38.5368 37.905
56.2243 48.9165 71.5732 44.3751 41.4954 39.2482 37.8678 36.6422 36.6649 36.0893 35.6058 34.9534 34.2779
52.7871 45.5813 41.4144 65.8997 39.0499 37.8116 36.7672 35.4971 34.4244 34.0742 33.5965 32.9271 32.2332
49.68 42.5093 38.3408 35.7588 60.2862 37.7167 36.5487 35.2662 34.1275 32.5844 32.3322 31.6573 30.9548
45.1423 39.0736 35.815 34.3618 34.2304 55.5404 38.087 36.9338 35.8346 34.283 32.7928 32.4374 31.7671
43.8269 37.3941 34.3896 33.2575 33.0583 34.6904 53.1023 37.7946 36.7744 35.2769 33.7805 32.1531 31.7914
42.9044 37.095 33.0854 31.9058 31.6926 33.4682 34.4217 51.0008 37.3732 35.9715 34.5067 32.8757 31.2237
42.0969 36.8631 33.1214 30.7725 30.4874 32.3093 33.3482 33.9899 49.1954 36.7349 35.3656 33.742 32.0904
42.5715 36.2171 32.5038 30.3981 28.8375 30.6524 31.752 32.4972 33.3233 47.2497 36.1083 34.5095 32.8513
41.9447 35.7167 31.9959 29.8965 28.5797 29.0674 30.1612 30.9406 31.87 32.6669 45.2771 33.9345 32.2954
41.3303 35.0568 31.2947 29.1774 27.8549 28.6873 28.4219 29.1976 30.1354 30.9585 30.3627 43.3148 31.5812
40.6946 34.376 30.5675 28.4308 27.0994 27.9655 28.0339 27.4314 28.3703 29.186 28.6113 27.8555 41.3371
_EXECUTE
_RUN3
_VAR1 20
_VAR2 20
_VAR3 200
_VAR4 20
…
Now, when it retrieves the data, I dont want to simply see a the numbers. Instead, I would like them to be used to highlight the following chart [NOTE: The formatting may be incorrect here, but I can send you the excel file once bidding is complete so that there wont be any confusion]
AA AK AQ AJ AT A9 A8 A7 A6 A5 A4 A3 A2
AK KK KQ KJ KT K9 K8 K7 K6 K5 K4 K3 K2
AQ KQ QQ QJ QT Q9 Q8 Q7 Q6 Q5 Q4 Q3 Q2
AJ KJ QJ JJ JT J9 J8 J7 J6 J5 J4 J3 J2
AT KT QT JT TT T9 T8 T7 T6 T5 T4 T3 T2
A9 K9 Q9 J9 T9 99 98 97 96 95 94 93 92
A8 K8 Q8 J8 T8 98 88 87 86 85 84 83 82
A7 K7 Q7 J7 T7 97 87 77 76 75 74 73 72
A6 K6 Q6 J6 T6 96 86 76 66 65 64 63 62
A5 K5 Q5 J5 T5 95 85 75 65 55 54 53 52
A4 K4 Q4 J4 T4 94 84 74 64 54 44 43 42
A3 K3 Q3 J3 T3 93 83 73 63 53 43 33 32
A2 K2 Q2 J2 T2 92 82 72 62 52 42 32 22
Each cell above would correspond to the number in the first cells shown. If the number is greater than 0, the corresponding cell will be highlighted green. If the number is less than 0, the corresponding cell will be highlighted red. For example, assuming we are using the variables shown in the first example, the value “84.0641″ would correspond to the cell “AA” and because the number is >0, AA would be highlighted red.
I have attached a jpg with a very rough mock up of what Im looking for.
I would like this done very quickly and my payment will be made just as quickly. Please post any questions to the project message board.
Thanks.
De-compile flash and add 1 additional image. dezynsunlimited please bid.
User will compile a form and this one will be sent through email from site. The output will be like a “fake” news. Files/fake pages created should be in pdf or file image, and visible for, example, 90 days.
See attached for specific steps.
Feel free to ask me more details.
Please bid only if you are sure to finish before 27 of march.
This should be a quick project for anyone familiar with Selenium Remote Control (RC), or even anyone familiar with Open Source projects developed using Maven or Ant.
Summary:
Selenium Remote Control (RC) LINK:http://selenium-rc.openqa.org/ is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser. You can read a Developer Tutorial on Compiling this project here:http://wiki.openqa.org/display/SRC/Developer%27s+Guide
Action Required:
1. I need a quick Patch, or edit created that will modify the HTTP Headers that Selenium passes to remove the following Headers:
VIA:…
PROXY:…
resulting in a set of HTTP Headers that are identical to those normally passed by a Browser.
More Information on where this is (probably) located in the source can be found here: http://clearspace.openqa.org/message/20596#20596
2. Once this Patch or Edit has been done, I need everything compiled, so that no work on my end needs to be done to run the Selenium Server.
3. Thats It!
When i try to compile my java program it says it has two errors and it wont compile with the two errors heres the code
import java.util.Scanner;
import java.util.Arrays;
import java.util.Collections;
public class Inventory {
public static void main(String args []) {
//create new object
DVD mydvd = new DVD();
//create and intialize arrayof products
DVD[] prodArray = new DVD[6];
prodArray[0] = new DVD(“Action”,15,59,22.00);
prodArray[1] = new DVD(“Westerns”,26,68,16.00);
prodArray[2] = new DVD(“Drama”,22, 71, 15.00);
prodArray[3] = new DVD(“Comedy”,33, 50, 19.00);
prodArray[4] = new DVD(“Sci-Fi”,66, 42, 14.00);
prodArray[5] = new DVD(“Horror”,27, 53, 24.00);
//For each array element, output value
for (int counter = 0; counter < prodArray.length; counter++ )
{
System.out.println(“Item Number: ” + prodArray[counter].getitemNum());
System.out.println(“Product Name: ” + prodArray[counter].getName());
System.out.println(“Quantity: ” + prodArray[counter].getunits());
System.out.println(“Unit Price: ” + prodArray[counter].getprice());
System.out.println(“Total Value: ” + prodArray[counter].getvalue());
System.out.println(); //blank line to seperate products
}//end array output
} //end main
} // end class Inventory
// Class DVD holds DVD information
import java.util.Locale;
import java.text.NumberFormat;
class DVD
{
public String name;
public Integer itemNum;
public Integer units;
public Double price;
//default constructor
public DVD()
{
name = “”;
itemNum = 0;
units = 0;
price = 0.00;
}//end default constructor
//Parameterized Constructor
public DVD(String name, Integer itemNum, Integer units, Double price)
{
this.name = name;
this.itemNum = itemNum;
this.units = units;
this.price = price;
}//end constructor
//Set product information
public void setName(String name) {
this.name = name;
}
public String getName()
{
return name;
}
public void setitemNum ( int itemNum )
{
this.itemNum = itemNum;
}
public Integer getitemNum()
{
return itemNum;
}
public void setunits ( int units )
{
this.units = units;
}
public Integer getunits()
{
return units;
}
public void setprice ( Double price )
{
this.price = price;
}
public Double getprice()
{
return price;
}
public Double getvalue()
{
return (units * price);
}
// the compareTo method is used to implement the Comparable interface. This enables us to sort a list of Products using Arrays.sort()
// this method returns -1, 0, or 1 depending on if the compared to object should appear before, the same, or after the current item
public int compareTo (Object o)
{
DVD d = (DVD) o;
return name.compareTo(getName());
}
// returns a string representation of the DVD
public String toString()
{
return “DVD Name : ” + getName() + “n”
+ “DVD Number : ” + getitemNum() + “n”
+ “DVD Price : ” + NumberFormat.getCurrencyInstance(Locale.US).format(getprice()) + “n”
+ “Number in Stock : ” + getunits() + “n”
+ “Value of inventory : ” + NumberFormat.getCurrencyInstance(Locale.US).format(getvalue());
}
}//end Class DVD
the comment my teacher left was:
Hi Blanche. Your program did not compile or run. I was not able to test your
program. However, I did try to award partial credit by reading the code. The
assignment required you to create a separate class to store some product. The
inventory class should use the set methods to store the information into the
product class and use the get methods to retrieve the information from the
product class. It looks like your program is mostly correct. Your program did
not compile because your file name does not match the class name.