Beginners - May 2010 (Page 24)

by TonyT
I have some difficulty with this code.
 
Write a program that prompts user to enter a length in feet and inches and outputs the equivalent le...
[2 replies] Last: You're a bit short on closing curly brackets. And... please use tags... (by Albatross)
by sirkip
create one array that contains multiple data types from a data file
 
I have to make an inventory for a CD store and i need to make an array to store all the data. I have...
[1 reply] : Create your own record for the data, and store it in one of the standa... (by Duthomhas)
Math
 
Hey another quick question for ye. CLAY_PROD / MIN_VARI = CLAY_MIN_PROD; This is the error c...
[2 replies] Last: Oh shit now i look like a dumb ass. Thank you. (by Melander)
Access violation writing location 0x00000000
 
Hi all, I'm back with another question. In my (DarkGDK) game I keep getting the "access violation...
[7 replies] Last: My god, I can't believe it. I didn't realize there was "CTile*" in fro... (by Metalspy)
Does not name a type error
 
I'm getting a "KeyboardInput does not name a type" error on line 17 of game.h. As far as I know, the...
[3 replies] Last: oh, figured it out! Since I copy-pasted include guards in other files,... (by torchie)
by Deluge
Thowing exceptions for type input
 
I'm trying to get input from a user, put that input into a string, then check the string to see if i...
[4 replies] Last: char store[a.length()]; //Store the characters from string This i... (by firedraco)
for loop error?
 
the first loop is employee number 1. after i have input the relevant data, the next employee number ...
[2 replies] Last: I got it now. Thanks a lot! (by windgrey)
stacks..
 
pls help me deal with this program pls. im really new to programming and i cant do it by myself.. p...
[5 replies] Last: http://tinyurl.com/27ty58s Nice one :) (by Dufresne)
if Statement Problem
 
Hi Guys I am making a game that involves clicking many buttons with if statements and assorted lo...
[no replies]
Deallocating memory Question
 
Hi all,!'m new to the c++ programming scene and I'm trying to get to grips with pointers. Lets sa...
[4 replies] Last: Oh ok, thanks very much for your informative posts, helped solved my p... (by benzino)
Validation : What went wrong?
 
do { for(i=0;i<(strlen(temp));i++) { if(!isdigit(temp )) { cout <<"\nis...
[5 replies] Last: char EmployeeType; cout <<"\nPlease enter the Employee Type: "; cin... (by m4ster r0shi)
Im working on my tictactoe board using c++ program
 
hello guys.... im working on my incomplete tictactoe game... can anyone suggest some codes to com...
[6 replies] Last: The first thing I'd do is get rid of the 3x3 2D array and replace it ... (by Dufresne)
by Nikoru
Understanding Classes?
 
So... I have been doing some tutorials from this site and others. I believe it will take me longer t...
[3 replies] Last: Why is it in this line: void SetHealth(int iHealth); There is an i... (by m4ster r0shi)
Class encapsulation problem
 
Hi ! I'm having some trouble understanding class encapsulation on the following example (I don't thi...
[1 reply] : Private members are accessible within the class and its friends Since... (by Bazzy)
stacks
 
pls help me deal with this program pls. im really new to programming and i cant do it by myself.. p...
[2 replies] Last: im doing them in the main functions.. this is all ive got.. int ma... (by hikarujen)
#include "stdafx.h
 
ok so i wrote my code and it is telling me: fatal error C1083: Cannot open precompiled header fil...
[6 replies] Last: Make a new project. (by blackcoder41)
tricky stuff...
 
1) ok so im reading this book and the author does this typedef void (*functionType) (TreeItemTyp...
[5 replies] Last: does this mean i can do something like int x = 15 const since cons... (by blackcoder41)
two questions
 
1) if i create a class and make everything private, including the constructor, would the constructor...
[6 replies] Last: I see... That's interesting... thnx for the info! (by m4ster r0shi)
Strange Problem with Inputting
 
I made this program that takes a letter from the user, then outputs the guitar chord that correspond...
[4 replies] Last: Thanks a lot. I've been able to expand it, now it handles major, minor... (by MottMan)
Array Shifting
 
I am trying to allow the user to enter up to 26 chars in an array, and then it will go through the a...
[4 replies] Last: That worked great. All i had to do was tack a a = 0; on after the j--... (by R4di4ti0n)
May 2010 Pages: 1... 2223242526... 33
  Archived months: [apr2010] [jun2010]

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