Beginners - April 2018 (Page 15)

Needing to take Class Object from User.
 
Hello, the program I am writing takes an intiial menu selection, between class object Double and Int...
[7 replies] Last: The istream stuff for a custom class is usually for imitating the cons... (by icy1)
What happens if a multithreaded function uses non-multithreaded function ?
 
i.e prime_counter is used as multithreaded function std::thread first(prime_counter); std::tre...
[4 replies] Last: Each function has its own memory space, including multiple calls of t... (by dhayden)
while loop not exiting predictably or fulfilling statement at top
 
So, I have a loop that generates me a random maze. However, it never gets the the desired end. It re...
[4 replies] Last: I hate it when I'm stupid. Thank you so much. To bless you, here is a ... (by Hephaestus1233)
need help with c++ code
 
hello need some help with fixing this c++ app it parses the values from a txt file that has bytes an...
[2 replies] Last: hi what do I modify it to as I don't know c++ do u have Skype ? can y... (by jakob26)
Beginner exercises:Pancake Glutton
 
Hi, cant figure this out. Instead of number which person eaten most pancakes i get number -85899346...
[2 replies] Last: also the third loop does nothing, because the condition n >= 10; is ... (by icy1)
Array that holds pointers
 
This question has been asked plenty of time, yet for some reason, I cannot get it to work despite ho...
[4 replies] Last: Just remember to delete myArray; when you're done, which should ca... (by icy1)
by Elshot
Storing transaction using vector and then recall that transaction
 
Is there anyone can do this for me I stuck in this assignment I'm getting more confuse doing it and ...
[1 reply] : Hello Elshot, Your other program http://www.cplusplus.com/forum/begin... (by Handy Andy)
Need help on Two Dim. Array
 
A company has three salespeople who sell five different products. Once a month, each salesperson pa...
[1 reply] : Just write an app that reads files with rows that look like "Salespe... (by icy1)
if, else, if nest incorrect output
 
Hey guys, question. I can't get the output to correctly display the cost of shipping based off of us...
[5 replies] Last: [quote=zaphraud]don't use float for currency. base everything on penn... (by icy1)
by Lanky
Need Help With Code
 
I'm not quite sure what to do here but it says that a was not declared for switch but as far as i c...
[6 replies] Last: Thank You, MikeyBoy for the advice and thanks to you for the code, but... (by Lanky)
Trying to make a tic tac toe game
 
Hello! I've struggled to make a solution to this but I can't seem to land on it. I've managed to r...
[1 reply] : Create a while loop. In the loop get user input, a space on your board... (by Manga)
Array address
 
I need help with the array address. I turned in this code but my teacher sent it back to me saying "...
[4 replies] Last: Its a syntax thing. the name of the array is just like a pointer in m... (by jonnin)
I can't seem to get input validation for my tic tac toe game
 
I have been trying for hours, but the game won't stop looping the player O. That and it won't keep o...
[1 reply] : void switchPlayer(int player) { playerI(player); sBoard(); if(pla... (by Repeater)
by maryt
cant print a 2d array - c
 
maybe this is a very easy question but Im confused For example, my code is named example.c. It tak...
[8 replies] Last: #include <iostream> #include <fstream> #include <vector> #include <st... (by lastchance)
by mnai
Debug Error abort() has been called
 
I tried debugging it when the error window came up by clicking continue and a breakpoint poped up at...
[4 replies] Last: Ok, the next step is to find out why it didn't have a value. Probably... (by Thomas1965)
Work Count-Unix Utilities
 
Im running rand-test.sh for this code but all I keep getting is 16 tests failed. I want to know how ...
[1 reply] : Command line options are passed to program as arguments for main(). Th... (by keskiverto)
deque prime number
 
hello i have a question i need help using deque i have an object with my deque i been doing some re...
[1 reply] : What is the meaning of this 2 lines of code? (by coder777)
by Joe C
Help with Drill
 
I doing the first drill for chapter 8 in Programming: Principles and Practice Using C++. The dril...
[4 replies] Last: Hello Joe C, Not having read the book yet I would wonder if part of t... (by Handy Andy)
Shopping Simulator or whatevs but I don't understand
 
I'm supposed to make a code that will "contain three arrays. One that contains 10 integer part numbe...
[1 reply] : Hello LilXeno, First your program would be a lot easier to read like ... (by Handy Andy)
Assignment Finding Average of Test Scores
 
For my code I have to have the user enter in 4 test scores from 5 different students and print the a...
[10 replies] Last: Any time. (by Handy Andy)
April 2018 Pages: 1... 1314151617... 25
  Archived months: [mar2018] [may2018]

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