General C++ Programming - August 2009 (Page 9)

Multiple definitions error
 
I'm trying to build a project taht uses strsafe.h. This file is included once in that main file, and...
[5 replies] Last: People actually still write makefiles? x_x (by Disch)
by JCED
Mathy problems <cmath>
 
I'm having a problem where one of my functions are resulting in nan and inf values. Here is the offe...
[1 reply] : Given a polar vector of angle alpha and speed v, its equivalent rectan... (by helios)
by parihu
template function
 
I am getting weird error when I call a template func with const argument from within a member functi...
[1 reply] : Try template< typename T, std::size_t N > inline std::size_t N ... (by jsmith)
by parihu
global consts vs static const data members
 
hi, can anyone with his experience suggest which one is better : global constants or static const...
[8 replies] Last: Thanks kempofighter, that does make sense and I have now moved constan... (by parihu)
Linker Error
 
Hi. I am using a class and an application using it.When I have my class implementation and interfac...
[8 replies] Last: Thanks so much.It worked in VC++. ;) I had the files in the same dir... (by meisammhq)
Passing variables by pointer
 
Is passing a variable or array to a function by pointer more convenient than passing it by value.On...
[2 replies] Last: Thanks so much .That was a stunning idea. ;) (by meisammhq)
by arash
type specifier for displaying binary numbers?
 
Hi everybody, I wonder if there is any type specifier for binary numbers display input/output in sc...
[2 replies] Last: No built-in way using cstdio or iostream. You'll have to write your o... (by Disch)
map< int, double* > ???
 
I inherited some code in which every class member of every class is public. I am attempting to hide ...
[7 replies] Last: What is the container supposed to represent? what functionality do yo... (by kempofighter)
couting Ascii
 
Hello I just want to know if it is possible to draw a character from the OEM Ascii set to the consol...
[2 replies] Last: If you want a character not present on your keyboard you can use an es... (by Bazzy)
hash table
 
Hii I have a question...will be glad if anyone can help :) Theoretically can hash table be a r...
[no replies]
by Null
Need exercises
 
Hello, i want to test my skills in classes, so maybe you can give me some exercises? I read tutorial...
[11 replies] Last: class Cobject{ //car, pc, printer... void GetData(); // function to ... (by kevinchkin)
Socket programming
 
Hey, does/can anyone recommend a good socket programming library. The platform doesn't really matter...
[5 replies] Last: I strongly recommend the creatively named 'C++ Sockets Library'. It pu... (by showcontrolbruce)
a c++ program
 
how to write this program To enter a three digited number &frame a new number by reversing it to ch...
[2 replies] Last: 1. Open your favorite source editor. 2. Type your program. 3. Save. ... (by helios)
Im Confused
 
I am making a turn - based rpg game in which you fight monsters. i have a question though, Is there ...
[7 replies] Last: ...? Until C++0x there's no PRNG in the std namespace. (by helios)
by Dieter
Simulated Annealing
 
Hi, Does anyone know where I can find the source code for a simulated annealing algorithm? The ...
[1 reply] : The pseudocode here: http://en.wikipedia.org/wiki/Simulated_annealing ... (by turbozedd)
Need the actual logic of beelow problem
 
Hi everyone I couldn't find the actual logic behind below two problems: (1) how to capture number ...
[3 replies] Last: My friend Buzzy, the first problem also been solved.so I mark it as so... (by sdmahapatra)
SHADOW files
 
Dears, good afternoon, Do I have a code for reading of files SHADOW of the windows, however w...
[7 replies] Last: Dears, I corrected the code. But do you possess an idea of how to read... (by constancio)
Excellent Rounding Guide - small bug?
 
Thanks for the tutorial, it was very helpful in implementing some double to long rounding, but there...
[no replies]
by Yuan
Memory Location Issues.
 
Hello, everyone. :) I have a question about a program I am making; a short and long version are p...
[2 replies] Last: Hello Disch, Thank you very much for all of your help. It fixed my ... (by Yuan)
Function Pointer Problems
 
Hello, I'm having problems understanding/using function pointers. I'm trying to use a member func...
[10 replies] Last: Thanks Disch, problem sorted now :o) (by CodeBugs)
August 2009 Pages: 1... 789101112
  Archived months: [jul2009] [sep2009]

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