Beginners (Page 30)

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)
zipcode and checksum to barcode issue
 
Hey again, so I'm having trouble with this conversion of a zipcode to a barcode. I feel like this sh...
[1 reply] : Hello cmangum3, PLEASE ALWAYS USE CODE TAGS (the <> formatting button... (by Handy Andy)
Assignment: Palindrome Checker Using Stack and Queues
 
I need help fixing my code. My output should be the following. Hello, world! : false A d...
[no replies]
Vending Machine
 
Hello, I have to simulate a vending machine. I am showing an error here in user verification inpu...
[5 replies] Last: icy1, Thank you I tried your input and it works too. I am working on ... (by Anahuac18)
Need help with multiple conditions in if else if statements
 
This programming assignment is to create a guessing game where the user guesses two integers. I have...
[7 replies] Last: Make const strings for the messages, perhaps with newlines, so that th... (by icy1)
by maryt
can't read file into 2D array - c
 
I know my code has a lot of issues, but in the first place, I want to know this. For example, my cod...
[3 replies] Last: you are absolutely right! I didnt think of that :/ Thank you very muc... (by maryt)
Passing 2D Array from one function to another?
 
So I'm trying to create a minesweeper game (but with gophers), and I have a function that creates a ...
[1 reply] : The game field should be a public object. For your purposes, that prob... (by Duthomhas)
Assignment: Palindrome Checker Using Stack and Queues
 
The assignment is to write a program that does the following. You will need to define extra function...
[2 replies] Last: I think you pretty much have it. I guess your custom structures have ... (by icy1)
Shipping label code issue
 
Hey all, I'm pretty new to the programming world, and I need help with this one program. It requires...
[2 replies] Last: Oh okay, I think I see what you're saying. This is what I have now for... (by cmangum3)
identifier is undefined
 
is anyone able to explain to me why line 22 and 23 give off the identifier is undefined, I dont unde...
[13 replies] Last: Hello newbstarter, I made the changes that have been suggested, same ... (by Handy Andy)
+= in for loop
 
Hello. Can someone explain to me why this code in the body of the for loop doesn't produce the sum...
[6 replies] Last: It surely did! (by georgy90)
C++ Primer exercise
 
Hello. Can someone explain to me why the part with the total is not working properly? I tried a dif...
[5 replies] Last: Great. Let me know if you discover something more about the issue! Tha... (by georgy90)
Is it possible to pass a dynamic array back to main?
 
Hi, I'm recently studying the usage of dynamic array. I have figured out how to define a dynamically...
[6 replies] Last: but isn't array A already a pointer (stores memory address) if you de... (by coder777)
Pages: 1... 2829303132... 40
  Archived months: [mar2018]

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