Member Avatar

Greetings all been a while since I last posted. Let me explain what I need help for.. I want an Android App where you can watch livestream /screenshots from a placed camera in a store. You can already watch the cameras filming on a computer. We have some assumptions on how we want it done but we are not 100% sure. Since we need to document everything for this school project, I need some help on how this could be done. Hope someone can help, best regards.

Member Avatar
0
4
Member Avatar

Just wondered how to /save projects and files in sml. I use sml/nj complier.. After I write some code for instance, I dont know how to save it like you do in C++ or other languages. Hope someone understands and can help me out :)

Member Avatar
-1
3
Member Avatar

The assignment says "Write a program that asks the user to type in numbers. After each entry, the program should report the cumulative sum of the entries to date. The program should terminate when the user enters 0." I have partly been succesfull I guess. But I dont know how to make the program so it doesnt quit when I press the first number. And for it to actually quit when I press 0.. I hope a friendly soul can help me out. [CODE] #include <iostream> using namespace std; int main() { int numbers = 0; cout << "Enter numbers: …

Member Avatar
0
12
Member Avatar

The question is "write a program that request the user to enter two integers. The program should then calculate and report the sum of all the integers between and including the two integers. At this point, assume that the smaller integer is entered first. For example, if the user enters 2 and 9, the program should report the sum of all the integers from 2 through 9 is 44." I have to use 2 integers, a for loop etc.. I just dont know how to make this program as smalles as posibile without making an array for instance, I hope …

Member Avatar
0
14
Member Avatar

I need help with this problem. The assignment says: "Do programming Exercise 6, but instead of declaring an array of three CandyBar structure, use new to allocate the array dynamically". Here is assignment 6: [CODE]#include <iostream> using namespace std; struct CandyBar { char candyName[25]; double candyAmount; int twoCandyWeight; }; int main(){ CandyBar detailOfCandy[3] = { {"Donkey", 2.5, 200}, {"Monkey", 4.4, 100}, {"Honkey", 3.3, 50} }; cout << "First CandyBar: " << detailOfCandy[0].candyName << "Second CandyBar: "<<detailOfCandy[1].candyName <<" Third CandyBar: " << detailOfCandy[2].candyName; cin.get(); cin.get(); return 0; }[/CODE] How do I make this happend without ruinning all that "beautifull code"? Or …

Member Avatar
0
6
Member Avatar

Hello everyone, im starting on computer science the coming summer. I checked our classes schedule and we start of by Functional Programming in SML. I download the book we gonna use but I cant make sense of it. I guess my question is what do you use 1.Functinal programming for, 2. how do you use it, 3. can you make programs/Apps in it like you can in C++ or 4. is it pure teoratical stuff?? 5. How does MatLab differe from SML, or 6. are they completely 2 different tools that got nothing to do with each other.. I hope …

Member Avatar
0
8
Member Avatar

The assigment sounds like this : Write a C++ program that request and displays information as show in the following example of out: What is your first name? Betty Sue What is your last name? Yew What letter of grade do you deserve? B What is your age? 22 Name: Yew, Betty Sue Grade: C Age: 22 Here is my code for it... I dont know how to decrease the Char by one since you input Grade B, it should output C. Here is my code so far, hope someone can help me out :) [CODE]#include <iostream> using namespace std; …

Member Avatar
0
14
Member Avatar

I cant solve this assignent. I hope a helpfull soul can help me out. The problems goes like this: Write a program that ask the user to enter the number of seconds as an integer value(use type long) and that then displays the equivalent time in days, hours, minutes and seconds. Use symbolic constants to represent the number of hours in the day, the number of minutes in an hour and the number of seconds in a minute. The output should look like this: Enter the number of seconds: 31600000 31600000 seconds = 365 days, 46 minutesm 40 seconds Here …

Member Avatar
0
11
Member Avatar

Hello this problem is from the beginner book C++ Primer Plus 5th edition.. The problem sounds something like this: Write a short program that asks for your height in feet and inches and your weight in pounds(Use three variables to store the information). Have the program report your body mass index(BMI). To calculate BMI, first convert your height in feet and inches to your height in inches(1 foot = 12 inches). Then convert your height in inches to your height in meters by multiplying by 0.0254. Then convert your weight in pounds into your mass in kilograms by the quare …

Member Avatar
0
7

The End.