General C++ Programming - July 2010 (Page 17)

Vector::push_back() called before constructor?
 
I have a project with 2 static libraries. Library A contains some generic tools I use in most of my...
[3 replies] Last: In case others read, the C++ standard guarantees that if A and B are s... (by jsmith)
Game Devlopment Programs
 
What are the programs I need to make games?
[3 replies] Last: What are the programs I need to make games? What programs? If you... (by Return 0)
command line tokenizer/parser
 
Hello everyone, Can someone give me advice about books or other sources about creating command li...
[6 replies] Last: Hello athar, I want to write a parser inside the program , just to tra... (by anotheruser)
Errors while reading & writing to XML
 
I have a code which reads XML ,converts read data to a string & returns this string.Another function...
[3 replies] Last: @Athar I could be wrong but I am not entirely sure that you can rel... (by Galik)
by BEST90
Equations in C++ ?
 
Hello dear people from C++.com Once again i need your help guys. I have a question. How can i ret...
[8 replies] Last: ha ha! i made a mistake of writing. (by beginning)
RPG Textbox
 
I'm making an RPG game, and I've made a function that draws the textbox to the screen. It's almost f...
[6 replies] Last: Eh, any answers? (by PiMaster)
searching and sorting arrays... plus bool validation
 
so i'm supposed to create a program where a user enters a lottery number and it searches the array o...
[no replies]
ANDing pointer?
 
Hi Suppose I have the following: const char*a="1111"; const char*b="1111"; The contents of ...
[3 replies] Last: How many "bits" does you string a or b have? if less than the support... (by jmc)
Errors with a struct.
 
Hey, Heres an example of the code i use. struct PLAYER_STATS { bool bTEST; }; PL...
[3 replies] Last: @ stravant: You fixed my problem, cheers! @ Skillness: Thanks... (by Ravskie)
Issues with trig functions
 
Please bare with me as this code I'm posting is not a finished product. It was only to see if my mat...
[4 replies] Last: 45 c radians is one hell of an angle... (by Galik)
by qhimq
Forwarding Exceptions
 
How are you supposed to catch an exception and throw it again? Currently the following exception is...
[3 replies] Last: ahh thanks :) (by qhimq)
how can I copy my array into a list?
 
Hi all, from the reference section on lists, I performed the following operation: Initialize an ...
[2 replies] Last: Right I did notice the difference between the static array and the poi... (by eggmatters)
C++ Coding Logic - Various Ideas
 
I want to write a method to determine if a given string is a palindrome. E.g. "Madam I'm Adam", or ...
[7 replies] Last: Yea, sorry, mixed that up. char & ~0x20 == uppercase char | 0x20 == ... (by stravant)
Inplace conversion of partial strings to numeric data
 
I know how to use the basic strtod, strtol, etc functions and have seen the use of stringstream but ...
[1 reply] : std::string text; // number is in this string size_t pos; // p... (by Galik)
How do we implement Garbage Collection In C++
 
Hi Guys, I have been off this forum for a couple of days. But I am back with a new question ...
[10 replies] Last: People, read the thread before posting. He doesn't want garbage collec... (by helios)
Questions on Pointers
 
I have two questions. Question 1 ========== if we say static int i; the variable i is ini...
[6 replies] Last: Oh! I just realized. Don't make static pointers to dynamic memory. Yo... (by helios)
OpenGL using glut ,how to modify my code to draw a cube
 
dear all i am a newbie to openGL, and i just typed codes in my book,but it seemed to have probl...
[no replies]
by korg
Exercises in Recursion
 
Hi, I am having problems thinking in recursive terms for solving a problem? Can you guys suggest so...
[2 replies] Last: Recursive descent parser. Very fun to make, as you start out simple, a... (by stravant)
by roohan
setters and getters?
 
ok so my cs 202 class is in full sail and i gotta learn about oop. So i need to get rid of my struct...
[4 replies] Last: I'll use the node class as an example, it's fairly simple, the only co... (by stravant)
Visual C++ Express 2010: How to add directories
 
How do you add #include directories (For example, a DirectX API) to the compiler's list in Microsoft...
[2 replies] Last: Thanks. :D (by soccermiles)
July 2010 Pages: 1... 151617181920
  Archived months: [jun2010] [aug2010]

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