General C++ Programming - March 2011 (Page 31)

Bit fiddling
 
I have an integer like this: bits | [31 - 17] | - 3 | 2 | 1 | 0 | value | | index | ...
[2 replies] Last: I think I can keep the reserved bits, I'm pretty sure the CPU will set... (by chrisname)
by Janman
Delimiting a string
 
Hey I'm new to c++, and I would like to what is the most simple way to delimit an input from the us...
[1 reply] : if you do cin << with a numeric variable (int, float, etc.) it will st... (by hamsterman)
Exception Specifications
 
I've read an article from Herb Sutter that pretty much can be boiled down into: [quote=GotW] Q) Wh...
[13 replies] Last: No biggie. I said already in my first post that exceptions were nev... (by simeonz)
Why create a DLL? Simple example available?
 
I'm not a complete newb in that I know that DLLs are used for code that's required by multiple parts...
[2 replies] Last: That's a good idea. I've wanted to write a crypto has for a while anyw... (by Darkenor)
Creating copies of pointers to objects (1,2)
 
Hey There. I am trying to create a class called "enemyManager", that well, manages the enemies in...
[20 replies] Last: @ne555 has a point. Item #34 in C++ Coding Standards by Sutter & Alex... (by jsmith)
I can't stand Win32!
 
My main issue with programming is that I am one of those people that go by 'If I don't completely un...
[9 replies] Last: C and Unix were designed together, but they are not that tightly boun... (by kbw)
Function returning a string literal
 
Ok, so its more EECS 168. I pretty much have most of this program written, the only problem i am hav...
[4 replies] Last: Wow, i cant believe i did that haha..... i guess thats what i get for ... (by LiverpoolFTW)
by Marsas
Multivariate gaussian random variables
 
Hello, I hope I'm posting in the correct forum. I have a problem which is mainly related to math. ...
[1 reply] : Can you follow these? Normal (univariate) Distribution: http://www.ai... (by kbw)
by espakm
function dispatch based on template arguments at run-time
 
Hi, I have a non-generic base class with a generic derived class and a generic function. clas...
[10 replies] Last: Yes, the solution was to create a non-template base class to which I c... (by espakm)
by thing2
reading data into a console from a file
 
Hello all I'm new to this forum, and I have been trying to get my coding to allow me to read the sav...
[1 reply] : Have you stepped thru your code in a debugger? I would think that: ... (by kbw)
Question on project for useing Swicth statements and Loops
 
Hi im trying to design a looping swicth statement for my project. Basicly it ask a person to enter e...
[6 replies] Last: 1.)You need a default case for when a suitable case is not entered by ... (by buffbill)
by chess
C++ compiler
 
Hi Could you introduce me some complilers such as Visual Studio 2010 that if you misspell something...
[5 replies] Last: Since you're on Windows, if you can somehow obtain a copy of Visual St... (by Kiana)
by tonnot
Streambuffers : filebuf and stringbuf, can be posible a memorybuf?
 
Is it possible? I want to create a memorybuffer to hold char data and with similar features as fst...
[1 reply] : Sure it's possible. What exactly are you trying to do? If all you w... (by Duthomhas)
by njapra
Calling Function from Functions
 
Hello everyone. My goal in this program is to create three functions, the first to output menu only....
[2 replies] Last: Answer I was looking for. Thanks for your time. (by njapra)
March 2011 Pages: 1... 293031
  Archived months: [feb2011] [apr2011]

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