Beginners (Page 86)

how to end the loop by input a string to double
This is my homework. I am asked to write a program that let user input several numbers and then calc...
[1 reply] : You're making things way more complicated than it needs to be. The onl... (by integralfx)
C++ primers Ex 1.11
Exercise 1.11: Write a program that prompts the user for two integers. Print each number in the ran...
[6 replies] Last: Don't miss the next gripping episode! (by kemort)
Uninitialized Local Variable Error
Problem; I'm getting an "Uninitialized Local Variable" error from VS. My problem before was the prog...
[1 reply] : void setItemNumber(int) { ItemNumber = ItemNumber; } This just se... (by integralfx)
Really confused
For my C++ class Here is what i need to do i have this so far and...
[no replies]
Coin flip simulator repeating until heads appears
So I'm writing a program that pays out an amount 2 n where n is the number of the toss in which the...
[8 replies] Last: This topic might help. (by integralfx)
Declaration inside while
Why I can't declare variable inside while loop like if or for loops? int main() { //sum = 2+4...
[6 replies] Last: You can use a declaration there but it appears to me it will not be ... (by kemort)
function does not take 3 arguments
Now my program could not be complied since it says my mcnuggets function does not take 3 arguments. ...
[2 replies] Last: Thanks I got it fixed now. New question now. What does * and & mean? ... (by jekaterina)
Trouble with Find and Replace
I am having trouble getting the words to print before lazy(line 22) and getting the new sentence to ...
[1 reply] : You're using a function std::string::find . Refer to it's documentat... (by cire)
by Cat32
trying to write a class
I am not sure what my question is. I don't know enough to know what I don't know. I have spend 30+ho...
[1 reply] : The x and y should be capitalized. setxCoord(0); setyCoord(0)... (by Yanson)
Switch case help me please
Hello, when I run "option 1" in my switch case it, once i select the option the program executes the...
[4 replies] Last: #include<stdio.h> #include<conio.h> #include<cstdlib> int main () ... (by goon rider)
Please check if Classes Constructors and Functions are good
Last time i needed help this was the best way i got help from, there is so many smart guys in here, ...
[no replies]
Location of the keyword 'const' and its meaning
Hello, I am having a trouble recognizing the meaning of the keyword const depending on its locat...
[2 replies] Last: This might be of help in determining which const means what and wher... (by YFGHNG)
Y/N Loops
I need to make a loop that will make this program run again if the user chooses to do so but so far ...
[4 replies] Last: Line 169: extraneous response variable, unneeded. Line 175: extra ... (by YFGHNG)
Accessing a .txt file and finding the number closest to 200
Hi, in this program I am to open a .txt file and find the integer that is closest to 200.The code is...
[3 replies] Last: welcome (by Ericool)
Need help with an "if" statement
[4 replies] Last: You don't need two variables H and T , you just need one variable t... (by LB)
Weird behavior in ncurses
I'm trying to use ncurses to create a text editor, but I'm running into an issue when I try creating...
[no replies]
by Maco10
Linking static libraries
Hi everybody! I am a beginner with C/C++ development. I have made my own sample library and I want t...
[3 replies] Last: #include "Sum.h" int add(int n1, int n2) // not int suma(int n1, int... (by FurryGuy)
by fguy
In the book I am reading, it says that the type of a reference must match the type of the object to ...
[2 replies] Last: For the first version of the code ri is bound to a temporary object of... (by cire)
Read Multiple Lines And ADD.
Hello, I am trying to read the input file that has both Variables associated with integers. All...
[10 replies] Last: Nvm finished it, thank you for your help!! (by funnyguy1)
by Arquon
Unexpected output while writing into a text file
Hello, this program produces an output I dont need, and im not sure how to get rid of it, and im gue...
[7 replies] Last: Please don't supply "decorated" input. Just the plain stuff as it appe... (by cire)
Pages: 1... 8485868788... 110
  Archived months: [sep2015]

Cannot post in this page. To post a new message, go to the first page.