Beginners - September 2016 (Page 24)

Fixing errors in program calculator
 
Hello :) I had a previous assignment where it was a dog age calculator and got quite a few thing...
[6 replies] Last: Thank you to everyone who helped me out! (by Saibachick)
While loop
 
When i enter 'n', it does not end the program. #include <iostream> #include <string> #inc...
[1 reply] : line 49 you are using assignment operator '=' instead of comparision '... (by shadder)
wrong test case
 
Doing this code force challenge. I am passing three tests, I'm guessing when user enters numbers 1, ...
[3 replies] Last: Like the movie inception The hulk has layers of feelings So IMO the p... (by shadder)
Completely Stumped
 
Good morning/afternoon. I am completely stumped with a programming issue. Let me be clear, I am ...
[5 replies] Last: PERFECT! Thank you. (by Ragnarok314)
Finished my first real project!
 
Hey, I've been working on this very simple math quiz over the last 2 days (only been learning c++ fo...
[3 replies] Last: but like where in my code would i need (or want) to use functions? (by AidanShow13)
by mb20
undefined reference error
 
I am running my code but I am receiving the following errors: mainfile.cpp:(.text+0x13): unde...
[1 reply] : undefined reference to `pointType::pointType()' undefined reference t... (by keskiverto)
by Vaynis
Comma operator in CLI/C++
 
OK so i have been reading this book and in the "Comma operator " section (Part of the cli/c++ basics...
[2 replies] Last: it is probably my bad(as the beginner i am ) for confusing c++/cli wit... (by Vaynis)
Comparison
 
I want to compare the memory address and pointer value of p, p + 1, q , and q + 1. I want to under...
[7 replies] Last: Wow so I was just over thinking it then? Probably. Then I can just... (by jlb)
Need some help with my stack class
 
This is what I have so far in writing my class stack, in the reverse function I keep getting an erro...
[1 reply] : I am simply trying to make another stack to push all of the elements... (by jlb)
3D arrays
 
Hi. When i was "browsing" the beginners forum, i saw a lot of array problems. And when i wanted to h...
[1 reply] : Think of an array like single drawer filing cabinet. Where you get t... (by Bdanielz)
by SI 20
S8
 
//1// #include <stdio.h> #include <string.h> int main() { char sir_de_caractere ; in...
[2 replies] Last: Its his homework, I speak that language (by masecla33)
ERROR HELP - Simple Algorithm
 
Hey! As a part of a C++ class, I've been trying to create a program that takes three numbers from a ...
[2 replies] Last: 1. like Omni said your code is a bit out of order. 2. You are also get... (by Bdanielz)
referencing/setting string names to player objects
 
I am using a for loop to instantiate a number of player objects. Each object is is a different playe...
[3 replies] Last: Yes, your constructor should look something like this:[code firstline=... (by LB)
trying to make calculator idk whats wrong
 
I'm trying to make a basic calculator that does addition, subtraction, multiplication, and division....
[10 replies] Last: for example i did 5/3 and it gave me 1 even tho it was supposed to sa... (by dhayden)
Using If finding the lowest and the highest.
 
I can't get the Smallest and Largest to display properly. I'm only using "If" because the book onl...
[7 replies] Last: gentlegal, that's fine except perhaps for the product. Consider this r... (by dhayden)
by Modise
ERROR HELP
 
Write your question here. Put the code you need help with here. [/CODE { int i; for (i ...
[3 replies] Last: here is another one same error. #include <iostream> using namespace st... (by Modise)
Keeps saying error 'else wthout a previous if'
 
I know there is an if there and I can't find any mistakes in the code (although I'm sure there is) i...
[16 replies] Last: ty! :D (by AidanShow13)
by SI 20
S6
 
//1 // #include<stdio.h> int main(){ char x, y; for (x = 'A'; x <= 'Z'; x++) {...
[no replies]
by SI 20
S7
 
//1// #include <stdio.h> int main() { int N, i, even_number_counter = 0, odd_number_counter...
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
prb
 
#include <stdio.h> #include <stdlib.h> int main() { int n=2; int i; int j; int suma =0; int...
[4 replies] Last: If you just want somewhere to paste code, please use https://gist.gith... (by LB)
September 2016 Pages: 1... 2223242526... 34
  Archived months: [aug2016] [oct2016]

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