
please wait
by ibbi
Checkers
|
Hello guys, Sorry to bother you all. I am making a program of checkers and it is in process. But in the stage of debugging, i couldnt understand the error that... |
Feb 26, 2016 at 6:13pm
[3 replies] Last: Thanks alot, that minor thing got me a headache. (by ibbi)
|
by monrelle
Practice
|
Can someone provide me a solution to this program without using cin.ignore? #include <iostream> #include <string> using namespace std; int main (){... |
Feb 26, 2016 at 6:09pm
[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 overweight or underweight, given the type of horse. Once the determi... |
Feb 26, 2016 at 5:34pm
[3 replies] Last: @jlb I apologize I should have clarified, this weeks lecture and all t... (by SiliconPatriot)
|
by etrusks
template member functions
|
Hi, I'm reading "Memory and Resources part of "C++ Programming Language" and there is this example about std::bitset and its template member function s = bs... |
Feb 26, 2016 at 5:12pm
[6 replies] Last: Thanks man :) (by etrusks)
|
by t0xthps1
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 Professor has assigned. I have written and compiled/executed a ... |
Feb 26, 2016 at 5:10pm
[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 easily find an answer. However, when I try to run this code in... |
Feb 26, 2016 at 3:24pm
[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 out of "*" using only 1 printf("*");, printf(" "); and printf... |
Feb 26, 2016 at 2:59pm
[2 replies] Last: I can only use one printf ("\n") for each pattern (by tyooo)
|
by cskarche96
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 teacher's code. So I understand a big part of the code but what... |
Feb 26, 2016 at 2:54pm
[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 recursion. I know how to add elements using nested for loops. Lets s... |
Feb 26, 2016 at 2:49pm
[2 replies] Last: By recursion, I mean making this into a function. I know the base case... (by flux21)
|
by Respect
Finding consonant and vowel number.
|
Sorry, I know I asked this question before, but I tried a different code, and the program crashes every time I execute. #include "stdafx.h" #include <iostrea... |
Feb 26, 2016 at 2:11pm
[1 reply] : You are trying to access your array out of bounds in your loop. What y... (by jlb)
|
by Harutyun
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 bug in the program. When you finish the first round of the ga... |
Feb 26, 2016 at 1:55pm
[3 replies] Last: Wowwwww I can't believe I didn't notice that!! I wanted to set cReplay... (by Harutyun)
|
by TheLoneWolf
Using multiple files
|
How do I make my main.cpp realize that I have declared all my stat structs in another file? I have added that file in my project, but it still gives those "not ... |
Feb 26, 2016 at 1:49pm
[3 replies] Last: Why are you trying to use the global variable? The problem is that ma... (by jlb)
|
by swimchick987
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 of this program is to ask the user to input up to 100 numbe... |
Feb 26, 2016 at 1:47pm
[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 fine, however I have a couple questions about reading them. I... |
Feb 26, 2016 at 1:19pm
[3 replies] Last: Is having containers as global throughout the program considered bad ... (by jlb)
|
by Respect
To find number of vowels.
|
#include "stdafx.h" #include <iostream> #include <string> int main(){ std::string vowelor {"My name is Matilda"}{ for (int i = 0; i < vowelor .length; i+... |
Feb 26, 2016 at 1:04pm
[6 replies] Last: remember to use subscript because strings are objects like arrays #i... (by g3n0m3)
|
by alzetoun1
define a function
|
I'm trying to define the function below in the main function: float distance(float x, float y, float pitch) { float r; //local variable ... |
Feb 26, 2016 at 11:33am
[17 replies] Last: Based on offline discussion as well as previous related questions, thi... (by Chervil)
|
by etrusks
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 I cant use name aliases that I'm inheriting from this base... |
Feb 26, 2016 at 10:34am
[1 reply] : Hey, this was very important question for me and I got an answer to it... (by etrusks)
|
by aerichsen
Number of characters
|
Trying to write a program to count number of characters but it returning zeros most of the time. int main() { char letter = '\0'; cout << "Enter a lett... |
Feb 26, 2016 at 7:13am
[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 it can find all the letters. At the moment, it prints the sa... |
Feb 26, 2016 at 5:16am
[2 replies] Last: post the entire code of your program so tht others can help.For exampl... (by MaBunny)
|
by nuglyfe
Member inaccessibility error
|
I need some help with accessing a member from a protected class. The error is on line 17 of my .cpp file and its saying its inaccessible. But if it's inaccessib... |
Feb 26, 2016 at 4:25am
[2 replies] Last: Thanks for your eyes! I stared and stared but somehow how didn't see i... (by nuglyfe)
|