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

Initializing static vectors and nested vectors
 
Basically as the tittle says, how do you Initializing static vectors and nested vectors. I was doing...
[2 replies] Last: Yes you are correct CReadout has a static vector member, I tried your ... (by forceface)
extra iteration in for loop when reading from text file
 
The purpose of this little project is to read from a file an address book entry, which includes nam...
[6 replies] Last: Ok I see now. Thanks so much guys! (by estex198)
Detecting Specific User Input.
 
Hello, I'm trying to get specific user-input from the user, and I want the user to enter certain ...
[5 replies] Last: Nevermind... (by Code Assassin)
nested if statement in a do...while problem
 
hey im working on a program that calculates the trajectory of an object fired at a certain velocity ...
[1 reply] : where time is a double variable type. i check to see if (time == 1... (by Disch)
Search function?
 
I have a program that creates 52 cards, shuffles them, then displays the deck to the screen. Now i h...
[8 replies] Last: Well you could put it at the end of the deck but that wouldn't make se... (by amberleef)
3 little questions
 
Language: C IDE: Dev-C++ OS: Windows 7. 1 - How do I remove the "s (Doublequotes) in a string??? (B...
[1 reply] : Up. Please help me :)! (by Sasino97)
Char to String Conversion
 
Hi, I'm converting a character to a string and using Stringstream: string keystring; string...
[1 reply] : >> ignores spaces. You could use getline. Alternatively, you could s... (by hamsterman)
problem with including header files
 
Hi guys I have three header files: OFunction.h which includes a function called fitness(), mWin.h...
[4 replies] Last: Thanks a lot. It seems that was the problem. I took the definition to ... (by soheilghafurian)
Replace button with Enter key
 
Hello everyone, i have a question, i have made a little program for my boss, but theres 1 modific...
[1 reply] : This should go to Windows Programming. Anyways - it is possible, but d... (by hanst99)
languages?
 
I have a question for some of the experienced/expert programmers on this site. If you have 2,000+ p...
[2 replies] Last: Learning programming languages is rather... easy. It takes a while to ... (by hanst99)
Linked list
 
I have for homework assignment to create linked list and menu so user can input new entries as long ...
[3 replies] Last: thank you, that's what i needed. :) (by Tomislav Cundic)
Do While Loop not looping
 
So this is my program, but when I get to the part where the user enters y to try again, it doesnt lo...
[2 replies] Last: Oh yes, thank you. (by aspirewire)
file read from visual c++ but nothing is displayed
 
* * hello.c * This is a simple, introductory OpenGL program. */ #include<stdlib.h> #incl...
[no replies]
Namespaces :: or . ?
 
I'm reading a book about C++ programming and I'm a little unsure about one thing, the namespaces. I ...
[2 replies] Last: You use the '.' operator if you want to access a function or variable ... (by Pyrius)
list
 
hello, I have tried to fixed the following sort function for my linked list but unfortunately i ...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/beginner/51980/ (by shacktar)
Need to know
 
I have come to a point in my beginner programming career where I feel comfortable enough to start to...
[4 replies] Last: using only C++ What do you mean by "only C++"? SDL is C (which can... (by Disch)
How to move a character with arrow keys like in Nethack?
 
Hi, I'm wondering how to move a character around the console using the arrow keys, like in Nethack. ...
[3 replies] Last: Adventure games are specifically console stuff... Not really. Grap... (by Disch)
TinyXml - Parsing Gives Bad Strings
 
I'm trying to write a game that uses events inside of XML-files. I made the function: void do_ev...
[2 replies] Last: Woops. Didn't see that. Thanks. (by RedTheGreen)
quiz program, randomized questions
 
Hi. I'm kinda new. I'm writing a program which asks random questions. The idea, is that I have a ...
[2 replies] Last: I think I tried an approach similar to what your describing. I made a... (by htirwin)
Visual C++ Simple Program Help
 
I just purchased Ivor Horton's "Beginning Visual C++ 2010" e-book and was attempting one of the prac...
[1 reply] : Header File so far.... How does it look?? //Specification File (Gol... (by cstokes)
October 2011 Pages: 1... 2728293031... 36
  Archived months: [sep2011] [nov2011]

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