General C++ Programming - October 2011 (Page 6)

Help, Simple 2D array Game
 
Hey all, I need some help on first 2D array game. To make this game I just took a simple approach m...
[2 replies] Last: ^^Thanks alot worked like a charm (by BruteCOder)
by orxshi
But it is a constant already!!!
 
Hi all. There are header and source files storing input data. Similarly there are header and sour...
[3 replies] Last: You can define the constants in the header. The linker won't complain. (by helios)
Switch statement help please !
 
I am trying to make a bracket operator and I can not get this switch statement to work properly. ...
[1 reply] : use single quote for char type. (by EricDu)
Lookup speed of data in a vector of classes vs. two-dimensional vector
 
Hi all, I have a program which first creates a large (~100MB) table of values, and then spends th...
[3 replies] Last: I just mean looking things up by index. It sounds like they way I am d... (by geraeds)
Editing input values
 
I am working on my C++ mid-term and am having a total brain meltdown. I am being asked to create ...
[5 replies] Last: Great idea! That is what I am going to do. Then it won't be a continuo... (by EleventhHourZero)
I need assistance so badly, i need somebody's brain right now
 
I was given a question some time ago that I am not sure of how to answer, the question is typed belo...
[2 replies] Last: thank you for your assistance Disch (by melonQheadQsheep)
Problems with generating random numbers
 
I've been writing a very simple chatbot but I'm stuck on generating random responses. I'm attempting...
[4 replies] Last: You'll also need to break; each of your cases in your switch stateme... (by Disch)
how to use the do while loop to only accept a valid number and go back to the original question if not a valid number
 
I was given an assignment that asked this "Write a program that accepts a positive integer between 2...
[1 reply] : Break the problem down into 3 chunks. 1) gather input 2) do the calcu... (by JMJAtlanta)
desperately need c++ help
 
My coffee keeps getting cold. And I even have one of the mugs that is tall and skinny rather than wi...
[3 replies] Last: Embrace the Frappé: http://en.wikipedia.org/wiki/Frappé_coffee (by Galik)
Help! C++ Question
 
I'm taking an online C++ class, and if any of you have had experience with that, you know it's diffi...
[5 replies] Last: I agree that the teacher is not asking you to write any code, but I be... (by ceruleus)
how to get multiple results in a linear search
 
hi, my c++ prof gave an exercise to make a movie database of 10 movies including movie title, year, ...
[3 replies] Last: its okay ^_^ everyone's gotta start somewhere. i glad i did help you, ... (by Ng Han Seng)
Help with Pig Latin Game
 
Hello, I'm working on a simple Game for class but can't seem to correct my runtime error. It is su...
[2 replies] Last: Ok, I see. Thank you. I found another method of doing it which I'm goi... (by XDosShane)
Help with a Rudimentary Speller
 
Hi. I want to create a speller that will read in a txt file called Plain and read in a dictionary t...
[1 reply] : I don't see you building your dictionary first, which I would want to ... (by Azagaros)
RPN Calculator with undo and redo
 
I have to follow the Command Pattern in making a reverse polish notation calculator in C++. It needs...
[2 replies] Last: The way these things are usually implemented is like this: the calcula... (by helios)
Can someone tell me why this isn't working? Should be reading last name alphabetically?
 
Okay, so my teacher wants us to have the first name and last name in alphabetical order print out. I...
[3 replies] Last: Can we see the new code? (In [co de] tags, please) (by shacktar)
LNK2005
 
Trying to brush up on my C++ but I'm having some link errors. Suggestions welcomed :p Errors: ...
[2 replies] Last: Thank you, this resolved my problems. No idea why I named it main o.0... (by dfurball)
by Rudy13
lotto code
 
i have four erros im trying to find what they are but everytime i think i correct it it says i have ...
[1 reply] : Newer topic: http://www.cplusplus.com/forum/windows/53449/ (by shacktar)
Writing Hex into file with given offset
 
I am pretty new to dealing with hex in programming, and have been running into some problems. I n...
[no replies]
by jackie
Find String in Nested Structs
 
just wondering how can i find a String within 2 Structs ? EG.. Enter Town your looking for ? ...
[no replies]
void functions
 
i started learning about void functions and i want to make sure i do my homework right. i need to m...
[2 replies] Last: the () is known as the parameter list. So if fat percent is fatCals / ... (by ceruleus)
October 2011 Pages: 1... 45678... 36
  Archived months: [sep2011] [nov2011]

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