Beginners - March 2017 (Page 12)

Beauty and the Beast On.line 2017 F.ree Ful,l (HD)Movie
 
Sweet Thanks! I've been dying to see this! *Insert heavy amounts of sarcasm
[1 reply] : @kingkush Do not reply to spam. It is usually done by a spambot and ... (by coder777)
I need help with my code!
 
My code isn't working, an error about uninitialized variable keeps showing up. SpaceVechiclesQuantity. Also want to know if i am heading the right direction wit...
[12 replies] Last: Thank you so much for your help and I will because every time I feel I... (by Izzyzome)
by lajm
Error - No matching function for call to 'MyFunction'
 
Hello, I am wondering why my compiler is not recognizing a function (that appears to be correctly formatted) in my main function. The error I am receiving is...
[2 replies] Last: Thank you, I can't believe I forgot something that was seemingly so si... (by lajm)
Loop through an array
 
I'm trying to write a function that will read in an operator by utilizing a c string array. The array are "/+-*cCxX". If a a match, return true, if not return f...
[1 reply] : #include <iostream> #include <cstring> bool is_valid( const char val... (by JLBorges)
Multiple catch block vs generic catch block
 
Personal contribution: // Multiple catch block: // Program to explain how to use multiple catch blocks. #include <iostream> using namespace std; void...
[4 replies] Last: I guess the point is in throw;, when it happens, catch-block will cat... (by TheIdeasMan)
Return type of a method
 
Hello, I have a question about return types. So suppose we have a class NameClass that has as private attributes list<thing1> and that i want to create a method...
[2 replies] Last: > would it make sense to have the return type as NameClass& and return... (by JLBorges)
checking inverse
 
hello, Im trying to code a loop that would take in a number then divide that number to 10. After that, I create an inverse of that number to see if it match and...
[2 replies] Last: Im trying something similar. for example, 1234 becomes 123 then invers... (by rinx241)
+= Fails in Compiler, Questions on Endless Run With Just a +;
 
Team, Loving the support here; I am trying to compile the below - When it hits the do { .. start_secs += incr_secs ..} --> It tells me it's a read-only var...
[4 replies] Last: Thanks All, Have enough to be moving forward with. Will post back ... (by shycas2008)
How do I find the center of each cross?
 
Scan from left to right then top to bottom. Remember, a '+' can only be used to from one cross Contents of sample.txt: 4 8 ---+--+- -+---+++ +++---+- -...
[3 replies] Last: ok... a center can't be on the edges. if you can write a loop that go... (by jonnin)
Arduino Nano Clone Control Servo Sweep Delay Problem
 
Ok so I have an Arduino Nano clone which may be the problem right there but what I am trying to do is use the Arduino Nano to control two servos with one button...
[2 replies] Last: Your right kemort I got it to work thank you very much. (by ddragon1999)
I need help! The boolean in my while loop isn't working!
 
Okay, so, I am doing a while loop. Here is the code. #include <iostream> using namespace std; int main() { float principal, interest, interest2, pay...
[4 replies] Last: Well, everyone, I found a way around this issue. In the loop, I can ad... (by XRayKiller)
Integer oveflow error
 
I simplified the code for just so it's easeir to understand. 'a' is an array, made up of 2 integers and 3 strings, n is of course an integer. The problem is tha...
[9 replies] Last: Solved it myself, the file that i was getting the values of 'a' from h... (by devor110)
error
 
why it says there expected primary-expression before 'inFile'?? [#include <iostream> #include <cmath> #include <cstdlib> #include <iomanip> #include ...
[12 replies] Last: Those kind of problems should be detected quickly as they are hard to ... (by benhart)
Please help with for loop
 
This program should add all expenses and subtract them from the budget. However, it's not working! I've been working on it for hours, please help. What am I ...
[7 replies] Last: @ chicofeo, No apologies needed. You're trying to help and I thank yo... (by oriveron)
Vectors
 
Value will be stored in a vector but answer should stop at repeating number. ex 988 / 56 Answer 17.6428571429 But I want Answer to be 17.642857
[2 replies] Last: First get the integer quotient (17 in this example) and the remainder ... (by helios)
secure Iterator
 
hey i wrote this Vector class and the classes const_iterator and Iterator. now i have to secure them so that .end() doesnt be dereferented or incredimented wi...
[no replies]
need help with smart pointers
 
i need help changing the following code from raw pointers to shared pointers. #include <new> #include <string> #include "PrecondViolatedExcep.h"...
[1 reply] : from raw pointers to shared pointers what is the motivation behind ch... (by gunnerfunner)
Use of cin.clear() and cin.ignore()
 
I have this condition for restricting inputs besides integers between 0-7. The purpose of this code is really to block out letters. Now I need to do something s...
[3 replies] Last: Here's one way to do it: bool error = false; int index =... (by Chervil)
Switch Statement or If/Else statement?
 
Basically i have to enter two integers in the range of 1-100 and the two numbers have to follow a set of rules that correspond to the two random numbers i type ...
[1 reply] : the first number is/ is not divisible by the first number. eh? as a ... (by gunnerfunner)
Not declared in this scope
 
Hi im working on a program for school and I feel like I had everything organized right and everything coded right but when i compile it tells me almost all the ...
[5 replies] Last: I had done it like that before but i thought I was doing something wr... (by coder777)
March 2017 Pages: 1... 1011121314... 36
  Archived months: [feb2017] [apr2017]

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