Beginners (Page 5)

by kugen
Using switch statement to create a program that total up remainder when divide by 8
Currently my code is not working, Im trying to count the total of each remainder from the 20 numbers...
[11 replies] Last: Thanks for the advise. ill keep that in mind. And i will try to improv... (by kugen)
Hang Man Game
Hi! Could someone help me find the logic error in my functions? I don't think its the boolean, but I...
[1 reply] : This will not work. if (secretWord == guessTemplate ) You need to u... (by Thomas1965)
Random Number Generation
Write your question here. #include <iostream> #include <iomanip> #include <cstdlib> #includ...
[2 replies] Last: sorry. I am supposed to create a program that will randomly generate 5... (by bkoertje)
by S879
Please help
What will be a c program to find the sum of the following series (x/1!)+(x^2/2!)+(x^3/3!)+...nt... t...
[1 reply] : Hi, Firstly, can you explain what the little math symbol "!" does in t... (by closed account 5a8Ym39o6)
Why is it outputing a weird number?
See below for the code. My question/problem is why is it outputting weird numbers. For example: ...
[5 replies] Last: Good to hear :) (by closed account 5a8Ym39o6)
Using Switch to total the cost
Hey guys, I need a quick lesson and help on why my program isn't working as I want it to. I am pract...
[2 replies] Last: Albos, Thanks, that did the trick! :) (by MisterTams)
Pass by Reference from pass by value code
How would I turn this simple void code with one parameter into a pass by reference code (rather than...
[9 replies] Last: Understanding passing by reference better now? And you are welcome. :... (by FurryGuy)
Pancake Glutton almost finished.
Hello, I have almost completed the excercise Pancake Glutton, but i can't manage to figure out how t...
[8 replies] Last: > No, that is just the nature of the Bubble sort's algorithm. No, the... (by Arslan7041)
IF and ELSE statements within a WHILE statement help?
Okay so I i'm just messing around with some code trying to learn on my own. Anyways, I'm trying t...
[7 replies] Last: Good to hear :) (by closed account 5a8Ym39o6)
tolower not working
I am having a user input his selection from a menu. In order to prevent confusion when the user inpu...
[2 replies] Last: Does that help you? :) (by closed account 5a8Ym39o6)
Hi everyone , so I'm new to C++ and i wrote a little code , I defined a function witch randomize som...
[4 replies] Last: (by Duoas)
2 Player Hangman code
Need help for Hangman Game 2player mode codes. Where the 1st player needs to type the word and the 2...
[4 replies] Last: (by kemort)
Encryption Problem
I'm working on a machine problem that allows me to encrypt and decrypt messages using an array as th...
[no replies]
Static Cast on Initialization
I'm brand new to C++(my only real programming experience is PL/SQL) and have been working through an...
[2 replies] Last: Thank you Thomas1965, this is exactly what I was looking for. I'm not ... (by docbrown)
by Kbott
Can arrays return vectors?
What does it mean to have function that takes as parameters an array of int and the size of the arra...
[1 reply] : The prototype of a function could look like this. std::vector<int> g... (by Thomas1965)
Telephone no.
Write a program that inputs a telephone number as a string in format 00920519085 and uses function ...
[11 replies] Last: That's it. :) (by Thomas1965)
how do i convert string to char
I am trying to take a word and only use the first letter, and then after the letter is converted i h...
[9 replies] Last: Yeah, sorry I didn't pay attention to the thing that Thomas1965 said, ... (by Sylvagon)
Flow control with structs
Hey. I'm having trouble with if else statements and using structs as the condition. Why does it not ...
[6 replies] Last: Ah Ok I got it. Thanks a lot. (by sirconfusedalot)
box office theatre program...lost
Task A: Write a function that has ONE parameter. At Pinocchio’s Marionette Theater, ticket pric...
[no replies]
Need help with function
My Sign function is not displaying correctly. Could use all the help I can get. //Ask the user to...
[1 reply] : (by kemort)
Pages: 1... 34567... 47
  Archived months: [may2016]

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