Currently browsing tag

Lt

When do u use #include <iomanip> ?

you ought to when t use it and when its not necessary…basically now i’m asking what’s it for Whenever you need to manipulate your output.So pertaining to things like setprecision, ios::showpoint, among other suggestions. You utilize it when you need to do a number of I/O mind games.See http://www.fredosaurus.com/notes-cpp/io/omanipulators.html document.

Python-Check if user-entered info is an integer?

I just now started Python… I need to make something that will determine in the event that whatever the user entered is usually a number 1-5.Anything I could use to measure this Along with this, something which will disable characters and selected numbers, but however the Backspace key Do you …

Quick c++ question please!?

hence this code i have written listed below doesn’t make on codeblocks and was wanting to know if someone could assist me resolve the errors so it would make.thank!!! Take drinkchoiceSIZE.drinkname = “Cola”, “Root Beer”, “Lemon-Lime”, “Orange”, “Iced Tea”; Take costSIZE.drinkcost = “0.75”, “0.75”, “0.75”, “0.85”, “1.25”; Take drinksamountSIZE.numofdrinks = …

Error C2447: ‘{‘ : missing function header (old-style formal list?)?

Ive merely started publishing a computer code and ive encounter this miscalculation.my rule is seeing that follows #include “stdafx.h” #include implementing namespace std; int CreateBook (char szNameOfBook, char szAuthor, char szDateOfPublish); int RemoveBook(char szNameOfBook, char szAuthor, char szDateOfPublish); int menu(); int Welcome_screen(); int _tmain(int argc, _TCHAR* argv) int Welcome_screen(); int …

Help please with "c language" please …..?

Uncover two nonnegative phone numbers whose quantity is 9 while that your jewelry of one particular number and the square with the other number may be a maximum. Write a new function termed sumIs9 in which returns a good int plus accepts an int as a parameter. This kind of …

Why won’t my method become defined in Java?

I have the down below code and its allowing me an error saying that readFile method is not defined.Will be issue twice grades = brand-new doubleSIZE; Stat statistics = brand-new Stat(grades, count); Program.out.print(” Input file identify:”); fileName = check.next(); readFile(fileName); open String readFile(String name) for(int when i = 0; when …

I need help with a java program?

How to change video games to apply scanner instead of JOptionPane final int ARRAYSIZE = 5 VARIOUS; int testScores = brand-new intARRAYSIZE; Chain score = “”; // Name of the test report file twice totalScores =0; //Initialize the particular variable totalScores for you to 0 //Initialize index chart i for …

HTML coding problems, HELP!?

1) I’m endeavoring to make a section with a new title along with a list under it which will look Much like: My Beloved Music <- need to be underlined Movie A SINGLE <- need to be indented and no spaces between the lines Movie 2 Movie 3 2) Likewise, …

File not found exception in Java code?

From the following code inside while loop following the equal sign My business is given the error that this file can not be found.Since We are of course finding the file learn in through the user I’m unclear why it can be giving me personally this error tranfer java.io.Document; tranfer …