General C++ Programming - January 2011 (Page 7)

by gpfs7
undeclared identifier
 
when attempting to compile my program i am getting a error that says error C2065: 'bankfile' : und...
[1 reply] : bankfile is a member of bank, so call it with bankone.bankfile .... (by hamsterman)
Threading in Games
 
Hi there, Lately I've been investigating the possible uses of threading in computer game, of whic...
[2 replies] Last: Your biggest gain by multi threading a game on a modern PC is by using... (by Computergeek01)
Exception "handling" - bad_alloc
 
As we know * , a bad_alloc has the potential be thrown from pretty much anywhere and everywhere ** ....
[2 replies] Last: Alright, thanks. (by closed account 3hM2Nwbp)
Memory leak (I think)
 
Hi I have made a binary tree collection, and am having a bit of oddity. I have tried populatin...
[6 replies] Last: I took the measurements just using task manager You need to use PerfM... (by kbw)
Need assistance with Pointer
 
Hi, I had just started learning pointer and my lecturer want me to use pointer for my assignment. ...
[2 replies] Last: ahh didnt know it work this way. now it works, thanks! (by shanex88)
defining hash in tr1 for a template class
 
0 down vote favorite I have the class Gateway. I need to store object of this class in a hash ...
[no replies]
by minix
C,C++ Interview Questions
 
I am sharing some of my interview Questions. Updated ... http://codingproblem.blogspot.com/ ...
[no replies]
Template Class - coding style (1,2)
 
As I learn c++ I'm trying to decide on a coding style that's clean and portable. I've just adapte...
[24 replies] Last: Excellent. Thank you. Seems so obvious now. Better yet, I've move... (by barliesque)
Need aid on c++ program!
 
The task is to make a program that reads a list of strings until the word "end" appears, and returns...
[3 replies] Last: Indeed, no need- just store the longest string as you find it, as you ... (by ultifinitus)
Assignment of Different Sizes Portability
 
uint32_t variable32 = 32; uint64_t variable64 = 0; variable64 = variable32; Will variable6...
[1 reply] : yes. (by rocketboy9000)
itoa without strrev.
 
While looking through my old code (I do this often when I'm bored) I came across an implementation o...
[2 replies] Last: Actually, as cryptographic as it may be, it is still nice in some weir... (by simeonz)
Odd Error: invalid operands
 
I'm getting a strange error with this program. I'm learning about pointers, and for some reason, it ...
[3 replies] Last: Nope, I'm on ubuntu here and it works fine. Try again. EDIT: it also ... (by rocketboy9000)
DirectX
 
Does anybody here know DirectX? If so, can you answer me this: Do you need a vertex buffer( IDirect3...
[2 replies] Last: Thanks Quirk! (by closed account zb0S216C)
by fhg38
Pointer to std::list object
 
In a class, I have a static std::list of all the instances of that class. I want to be able to effic...
[4 replies] Last: I haven't used them, but I think you need http://www.boost.org/doc/lib... (by simeonz)
need some advice please
 
Next term, I'll be taking object oriented in c++, my professor isn't too keen on the book in the sto...
[6 replies] Last: after seeing some of the responses, I emailed my professor for a clari... (by melissak0421)
Best Practices and Coding Standards
 
Hi Everyone, I know this is a large topic area when talking about coding standards and best pract...
[1 reply] : If you can check the coding standards outlined in the book C++ Coding... (by PanGalactic)
printf and scanf
 
printf and scanf are call by value or call by reference and why???
[17 replies] Last: [quote=rocketboy9000]Also, why would you need a reference or constant ... (by simeonz)
Game design question
 
Hi everyone, Design always seems to be where my programs fall down, maybe I need to learn more ab...
[2 replies] Last: Yes that's right, thanks rocketboy I think I've been looking at this c... (by quirkyusername)
calculator troubles
 
Well I'm trying to learn templates. So I thought I would make a calculator that you could type in li...
[4 replies] Last: Interesting (by shadowvillian)
on new and structures and pointers
 
say I have a pointer to a structure, ptr and I dynamically allocate memory to it using the new opera...
[2 replies] Last: If you have not written the class/structure yourself, there is nothing... (by simeonz)
January 2011 Pages: 1... 56789... 24
  Archived months: [dec2010] [feb2011]

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