Beginners - June 2015 (Page 8)

by Pierce
Why will this not work? Bad use of IF function?
 
Hi guys, I have just finishing writing a program that simulates the casino game 'Three Card P...
[6 replies] Last: = doesn't compare the operands. It sets the variable on the left to th... (by helios)
by madara
store binary of decimal in char array
 
i want to store binary equivalent of decimal number in char array by applying below code, but the pr...
[7 replies] Last: Yes. Integer 0 and chracter '0' are different. integer 0 is used to de... (by MiiNiPaa)
by ertix
Trouble with strcat and text file input
 
I'm having trouble making sense of what is happening to my text file input. The goal of the assignme...
[2 replies] Last: I would love to use std::string. Unfortunately, this is an assignment ... (by ertix)
write to a file
 
I am trying to write to a file , but the file is not even created. The program compiles fine and ...
[2 replies] Last: The issue is solved. Provided wrong file path . Thanks (by sajis997)
Input Validation with Ints and Doubles
 
So i am trying to have the user only receive integers when they are choosing an array size but the n...
[2 replies] Last: Input as a string and validate the string #include <iostream> #inclu... (by Yanson)
PLEASE HELP
 
hey guys please help me :( the code is not working here's the question Construct a class named L...
[3 replies] Last: It is late. Hopefully this helps it is my take your problem. Hopefully... (by Bdanielz)
by Isho
Creating a simple table
 
Hello everyone. I am new to C++ and learning it for the first time with the help of some free C++ ...
[1 reply] : Somethig like that: #include <iostream> #include <iomanip> int main(... (by MiiNiPaa)
String Variable?
 
Write a program that will ask for personal details of a student for his bio-data. Ask for his nickn...
[3 replies] Last: Your not making any sense. You declared nickname, you just asked how ... (by SamuelAdams)
by ph0703
Question about Arrays
 
I am working an assignment for my C++ class. I am trying to write a program with arrays but when I p...
[13 replies] Last: Glad you figured it out. (by admkrk)
OOP TicTacToe Critique
 
Hey there programmers, I have written a oop version of Tic Tac Toe. If you could critique my code an...
[8 replies] Last: WoW thanks for the replies guys, a lot of good information here for me... (by CpluspProgrammer)
Problem compiling Phonebook app LNK2019 error
 
Hey guys, title says it all pretty much. I'm having problems compiling my phonebook application. I g...
[2 replies] Last: damn... thanks lol (by CpluspProgrammer)
Deck of Cards Class
 
I worked this up today to use for creating card games. I thought I would share it so the greater au...
[1 reply] : In case anyone was wondering why I would make the 'card' structure usi... (by HellfireXP)
Disposing Thread
 
Hi All, I am new to c++.How to dispose the thread?.Please any one give an idea.
[1 reply] : You could call std::terminate() from any thread and the thread you're... (by TheToaster)
Seemingly Correct Program Crashing!
 
Hi! I tried to write a program that outputs all numbers from 1 to 1000 that have prime factors wh...
[2 replies] Last: The program runs now, thanks so much! Always the little errors... (by bedroomCoder)
Repeating a menu option until user quits
 
I'm having a bunch of issues with this program. Right now I am working on the Addition portion so h...
[7 replies] Last: @dhayden, Neat readable clean code solution. I like it. (by CodeWriter)
Strings
 
Can anyone explain me what does this code string str = "";
[6 replies] Last: @dhayden: Yes, I know. My bad for not being thorough-enough. (by koothkeeper)
Directives and Declarations
 
I am not understanding the very first program example in every book. My original question was "Why a...
[5 replies] Last: I am failing to understand why two pieces of reusable code They are ... (by MiiNiPaa)
About dynamic allocation...
 
I need your help. Observe the following class- class panda { int a; public: panda(int x) ...
[4 replies] Last: Object with automatic storage is destroyed when its scope ends In firs... (by MiiNiPaa)
classes and object orientated programming
 
ok so my problem is that my mutator functions are not working when you run the program. its a bank p...
[2 replies] Last: yes it was sir/mam... this was also backwards. void Bank::setBalance... (by MaseratiDeluxe)
Two Programs that have no errors won't work.
 
Neither program gives me the the print screen min, max. they do terminate when a negative number is ...
[2 replies] Last: Two Programs that have no errors won't work. Well, the second progra... (by andywestken)
June 2015 Pages: 1... 678910... 32
  Archived months: [may2015] [jul2015]

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