Beginners - March 2012 (Page 67)

not sure if my logic is good
 
This is for homework, so please don't give me code, just suggestions in the right direction. I am w...
[4 replies] Last: Thank you! Will give it a go. (by badkaykay)
by JanisM
File in/out
 
where da hell I have prolem?? :D I need to rewrite only those words which have m letter <quote> #inc...
[1 reply] : where da hell I have prolem?? If you don't know what your problem i... (by hanst99)
How do you alter variables within arrays
 
I am coding a text RPG, and am trying to implement options to 'move north', 'move south', and so on....
[2 replies] Last: I get it- of course, the array is for storing data in each combination... (by noahpocalypse)
by seppel
Error: vftable gone!
 
Pls see the last lines in function main below. The line in which the code crashs is marked. If som...
[5 replies] Last: Thanks for that guestgulkan. (by seppel)
by Jynks
passing a enum to a function...
 
Here is some code I am testing with to get a better understanding of enums. Please remember I am a b...
[2 replies] Last: enum EMenu {NewGame, PlayAgain, RestartGame, Instructions}; This sh... (by hanst99)
Program that checks if string is palindrome
 
Gahh I can't figure this out. I really just need help getting started.Thanks in advance if anyone ca...
[4 replies] Last: bool is_palindrome( const std::string& str ) { return std::equal( str... (by JLBorges)
by jamos
Storing variable values while in 'do' loop
 
Good afternoon people, This will probably lead to a simple solution but I figured I'd seek clarif...
[2 replies] Last: I'd use std::vector, but an array could work. (by cire)
Inheritance and Polymorphism
 
I have to create a grocery store checkout that shows the reciept. I have all of the following code ...
[3 replies] Last: //default constructor for Item class Item::Item( const char* name ) ... (by cire)
School Project
 
I'm extremely new to C++ and recently started reading "Beginning C++ Through Game Programming, Third...
[no replies]
by M1A1
help with this question
 
please I'm still new to the whole c++ language, and I was hoping someone would help me how to write ...
[1 reply] : i assume you tried something yourself? Could you please show us? And ... (by Jikax)
Help With Linked List
 
So for my hw, I have to create a linked list of movie objects. This is the code for a Node class ...
[6 replies] Last: Error: Movie::Movie(const Movie &) is inaccessible I forgot your copy... (by hamsterman)
Stored Procedure Problem
 
Hi, I am new to c++ and stored procedure, how to get two values from sql server. Here's my sto...
[no replies]
by PL285
Help With Simple Functions? Please Help me!
 
Hello, I am having trouble figuring out how to make these functions. I basically need a member funct...
[no replies]
by dpan
Memory leak with strtok?
 
This question occurred to me today as I was working with strtok. If I create a new array of char wit...
[4 replies] Last: Yes. What is or was in the array doesn't change what delete is going ... (by histrungalot)
Scary
 
Hey, I know this isn't working because of the "i =toReverse.length();" in the for loop. I guess you ...
[8 replies] Last: You are very close, there are really only two changes you need to make... (by naraku9333)
by PL285
How to clear up rest of unused array???
 
Help, right now my total from my function comes out as like 15190923, which is way too high. It shou...
[1 reply] : You should probably do it in the constructor but since I don't know mu... (by vin)
Recursion
 
Hello, I was working on a practice problem from an online source (cprogramming.com). The problem w...
[1 reply] : Think of it not like a triangle but as stairs     1  2   3  4 ... (by histrungalot)
Please help with my Undefined Reference errors!
 
I am trying to make a program that implements a date class. All it does is print the date constructe...
[1 reply] : nevermind! I found out it was a compile error on my part.. (by packerfan128)
Checking Text
 
I would like to know how to check text input... like... cout<<"Yes or No?\n"; cin>> //insert non...
[2 replies] Last: Ahhhh! Okay! Thank you very much! (by daniel96)
by TMad
Read/write one byte
 
Hello, I am very new to C++. My question is how you read and write one single byte to /from a file? ...
[2 replies] Last: Excellent! That was exactly what I needed. Thank you! (by TMad)
March 2012 Pages: 1... 6566676869... 71
  Archived months: [feb2012] [apr2012]

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