Beginners - February 2016 (Page 7)

by ibbi
Checkers
 
Hello guys, Sorry to bother you all. I am making a program of checkers and it is in process. But in...
[3 replies] Last: Thanks alot, that minor thing got me a headache. (by ibbi)
Practice
 
Can someone provide me a solution to this program without using cin.ignore? #include <iostream...
[7 replies] Last: monrelle you can just put first the question of getting favorite class... (by jam47)
Stuck on the if statements
 
Description: In this assignment, you will develop a C++ program to determine if a horse is overweig...
[3 replies] Last: @jlb I apologize I should have clarified, this weeks lecture and all t... (by SiliconPatriot)
template member functions
 
Hi, I'm reading "Memory and Resources part of "C++ Programming Language" and there is this example a...
[6 replies] Last: Thanks man :) (by etrusks)
In dire need of assistance making a simple calculator.
 
Hi my name is Chris and I would like to sincerely ask someone for help with a current project my Pro...
[3 replies] Last: Your instructions say nothing about prompting the user for the operati... (by AbstractionAnon)
by Thelps
Help troubleshoot some code
 
Hi all, I've copied this code directly from a tutorial which I can link to you if you can't easil...
[1 reply] : Those error messages give line numbers, so that should be a big help i... (by MikeyBoy)
by tyooo
Why won't it move to next line? (C) (I'm bad at programming haha)
 
I'm new to C in Visual Studio 2015 and I am working on a code where I need to make 8 patterns made o...
[2 replies] Last: I can only use one printf ("\n") for each pattern (by tyooo)
Can someone explain to me my teacher's code?
 
Hello guys, I recently started learning to program in C++ and I have hard time understanding my tea...
[2 replies] Last: Thank you for your help! (by cskarche96)
by flux21
Adding elements into a 2 dimensional vector using recursion
 
Hello, I am new to recursion and was confused on how to add elements to a 2d vector using recursio...
[2 replies] Last: By recursion, I mean making this into a function. I know the base case... (by flux21)
Finding consonant and vowel number.
 
Sorry, I know I asked this question before, but I tried a different code, and the program crashes ev...
[1 reply] : You are trying to access your array out of bounds in your loop. What y... (by jlb)
Tic Tac Toe program not working properly.
 
Hi, I just finished coding a refined version of xoax.net's Tictactoe C++ program, but there is a b...
[3 replies] Last: Wowwwww I can't believe I didn't notice that!! I wanted to set cReplay... (by Harutyun)
Using multiple files
 
How do I make my main.cpp realize that I have declared all my stat structs in another file? I have a...
[3 replies] Last: Why are you trying to use the global variable? The problem is that ma... (by jlb)
Stop input when i a negative number is put int an array
 
hey guys this is my first time using this form. i really need help with this program. the purpose...
[3 replies] Last: tanks for your help but what i need the program to do is take user inp... (by swimchick987)
Reading a file using delimeters
 
I have a project where I'm trying to save and load data from a file. I can save data to files just f...
[3 replies] Last: Is having containers as global throughout the program considered bad ... (by jlb)
To find number of vowels.
 
#include "stdafx.h" #include <iostream> #include <string> int main(){ std::string vowelor {"My ...
[6 replies] Last: remember to use subscript because strings are objects like arrays #i... (by g3n0m3)
define a function
 
I'm trying to define the function below in the main function: float distance(float x, float y,...
[17 replies] Last: Based on offline discussion as well as previous related questions, thi... (by Chervil)
std::iterator::reference and ::pointer
 
Hi, I am kind of confused that when I'm using std::iterator as base class for my reverse_iterator...
[1 reply] : Hey, this was very important question for me and I got an answer to it... (by etrusks)
Number of characters
 
Trying to write a program to count number of characters but it returning zeros most of the time. ...
[1 reply] : It's because you set: char letter = '\0'; If you remove the initial... (by DeathLeap)
by m0bb1n
help in hangman game
 
I am trying to make a function that checks if a letter is in a word. I added the for-loop so that i...
[2 replies] Last: post the entire code of your program so tht others can help.For exampl... (by MaBunny)
Member inaccessibility error
 
I need some help with accessing a member from a protected class. The error is on line 17 of my .cpp ...
[2 replies] Last: Thanks for your eyes! I stared and stared but somehow how didn't see i... (by nuglyfe)
February 2016 Pages: 1... 56789... 46
  Archived months: [jan2016] [mar2016]

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