Beginners - November 2015 (Page 48)

Help with setting up a for loop
 
My homework question is : set up a for loop to print values from n down to 1 with at most 5 values p...
[3 replies] Last: http://www.cplusplus.com/doc/tutorial/control/ Skip to the for loop s... (by YFGHNG)
by haz94
Using while loop with enums.
 
Hey, I am trying to get an object in my console application to move itself continuously. I'm getting...
[2 replies] Last: dir = UP; That would be one of the usual ways to change coordinates. ... (by Kevin C)
Thinking ahead
 
I know im asking this pretty early since im a beginner in c++ but i started thinking ahead in time a...
[1 reply] : In which aspect do you want to protect your programs? unauthorized cop... (by Kevin C)
No such file or directory
 
Hi, Sorry to ask again but my code won't work and says no suck file or directory, would like help w...
[1 reply] : Have you saved the cpp file before compiling? If yes, which line does ... (by jgg2002)
Please help I'm trying make this run
 
I'm doing a java program import java.util.Scanner; public class getSales { pri...
[1 reply] : I'm doing a java program Then perhaps you should find a java forum i... (by jlb)
Please help. I'm new to C++ and code is not working
 
Hello, I'm trying to write some C++ code to run a relay control board. It should be simple but it...
[1 reply] : Line 13 actually does nothing. 0 << PINB1 remains 0. So DDRB |= 0... (by coder777)
Why is it unsafe to read inexistent string characters?
 
Let's say I'm iterating through a string, char by char, doing some operation with them, and my algor...
[5 replies] Last: str[str.length()] is well-defined as long as we do not modify the r... (by JLBorges)
Should "get" method be const?
 
Should "get" methods in a const class be declared with the const keyword as well?
[2 replies] Last: http://www.learncpp.com/cpp-tutorial/810-const-class-objects-and-memb... (by TheIdeasMan)
Microsoft.Speech SpeechRecognitionEngine.setInputToDefaultAudioDevice() method throwing System.InvalidOperationException
 
This isn't really C++, it's C#, but help is appreciated! I'm using Microsoft.Speech (NOT System.S...
[no replies]
Doing a calculation in a function and calling it, wrong results
 
Why is the area and perimeter not being calculated properly? #include <iostream> #include <fstre...
[2 replies] Last: In C and C++, the parameters are passed by value. That means the argum... (by liuyang)
Code logic question
 
nm
[3 replies] Last: So you're declaring a vector called tmp , and then in the ranged for ... (by MikeyBoy)
Getting incomplete type in Dentist Appointment Program
 
I am creating a Dental Appointment project and I am getting an error that says. field 'myPerson' has...
[3 replies] Last: You're welcome :) (by MikeyBoy)
Iterator Help
 
So I learned about iterators a few weeks ago and I decided to review today to keep things fresh in m...
[2 replies] Last: Ah, I see.Thank you for clarifying. This is solved (by TheToaster)
Symbol Input.
 
Tell me if I did anything wrong with this. I can input j, i, a. And after I input b, my program just...
[3 replies] Last: Yeah, that's right. (by Peter87)
Help with while Loop
 
Hi Everyone, so for my project I needed to make a loop and get a certain amount of grades from the u...
[1 reply] : It is easier then you think: #include <iostream> using namespace std; ... (by coder777)
Overloading !
 
Hello I need help with overloading '==' and '*' i cant seem to find the right way to do it, can so...
[6 replies] Last: Worked! Thanks a lot guys (by GGWPBOT)
Cannot Allocate an Array of Size 0 & illegal operation on bound member function expression
 
Hi; Im new to C++ and im having issues with an embedded if statement on an array of pointers to o...
[4 replies] Last: Ahh ok, its working well now after i changed it to: if (stocks ->book... (by owainesau)
virtual ineritance
 
Hi everyone! i have a question- when i write: Base* b=new Multiple(); b->print(); why does Base::pri...
[2 replies] Last: thanks, but this code was written like this on purpose. can you explai... (by Mor1994)
Linked Lists, output error
 
This is supposed to be the output: (Mark, 2.9) --> (Peter, 3.8) --> (John, 3.0) --> (James, 3.5) --...
[1 reply] : The reason is your node originally marked "head" is added to the front... (by magnum pi)
Help needed
 
Help, need to add both input together,somehow when i do s1.display(); nothing came out; isnt data su...
[15 replies] Last: Get rid of line 172, b/c if the if statement on line 167 executes, you... (by magnum pi)
November 2015 Pages: 1... 4647484950... 53
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.