General C++ Programming - April 2014 (Page 29)

by MzDoll
BMR Calculations
 
I'm having problems with this BMR program. It isn't running as well as I thought it would. Can someo...
[12 replies] Last: Thank you so much you guys. I got it to work with your help //declare... (by MzDoll)
Code review for: Empty Base Optimization pair (similar to boost::compressed_pair)
 
I have tried to implement a much simplified version of boost::compressed_pair . What follows is a ...
[10 replies] Last: Something like this, perhaps: #include <utility> #include <tuple> #i... (by JLBorges)
by helnow
Sorting
 
I am doing heap sort i start from generating rand array, then heapify it, then sort it using heap me...
[5 replies] Last: Sort of. You need to revisit the logic of your sink function. The ar... (by Duthomhas)
C++ book recommendation
 
Hi, I am new to C++. I would like to purchase the best book for self-study. I have been able to code...
[1 reply] : http://stackoverflow.com/a/388282/1959975 (by LB)
Help - multicast with ENET library
 
Hello, I am on a research project where I want to compare a game on a server-client enviroment and...
[no replies]
Recursion Help
 
I do not understand how to complete this code can anyone help me? Thanks in advance. // STEP...
[2 replies] Last: Thank you that helped a lot, I didn't understand what a recursive func... (by torn3168)
C++ API STOCKS
 
What is the code to pull up a stock ticker and get information like last price and volume? IN C++ so...
[no replies]
Dev-C++ compiler question
 
Hi, I am a new tutor for a college CIS department & just came back to C++ after 10+ years. I am try...
[7 replies] Last: NT3-Sorry for the delay in responding. I honestly though I had, but I ... (by noobtutor)
by m33tz
Simple AI
 
I'm having some problems with implementing an AI. It should be just a simple AI that follows player....
[3 replies] Last: Try working it out with trigonometry. Unfortunately I don't have exper... (by LB)
Min/Max, Mean, Variance
 
Im completely stuck on this project. My professor is making us use his variables and it's really con...
[5 replies] Last: http://stackoverflow.com/q/5837639/1959975 http://stackoverflow.com/q/... (by LB)
how do I declare a whole program "int" from the begining
 
so I'm supposed to write a function for all of these but the last part will not compile. Any help wo...
[3 replies] Last: I also see that you have int main() twice. That's certainly an issu... (by Stewbond)
Is my zalloc (zero registered malloc) library bulletproof?
 
I've written my own allocation library, which I use within my emulator. It basically is a library ma...
[14 replies] Last: If you use modern C++ practices such as using the smart pointer wrappe... (by LB)
by chucho
help with PRINT TREE function in optimal binary search tree program
 
here is my code, without the print tree functions i can get the table and root table fine, I don't k...
[3 replies] Last: also, can you check the print tree function. When i comment out everyt... (by chucho)
by kabary
Brovuka's algorithm
 
i am trying to implement brovukas algorithm to find the minimum spanning tree of a graph but my prog...
[1 reply] : That kind of error is usually caused by stepping out of bounds of an a... (by Mats)
Function breaks program after it is successfully ran
 
Need any of you fine gentlemen to help me figure out why this is breaking. I'm working on a network...
[5 replies] Last: Never use memcpy or similar on non-POD types. (by LB)
WIN32 Api in C++ Questions.
 
Hello and Good afternoon everyone, Looking at WIN32Api i am most pleased to work on it especially...
[4 replies] Last: okay, i fixed that issue, all buttons are working fine. but i have an... (by m0mathur)
by Esk
C++ class variable resetting
 
I am creating a SpaceShip class, which has arrays for weapon names and damage, and variables for sh...
[3 replies] Last: On line 43, you pass target by value, which makes a copy. Pass by re... (by LB)
Template ,compile failure
 
I'm learning C++,but i meet a problem .When i use date array,my program compile failure,i don't kn...
[1 reply] : It looks like your line 17 got corrupted somehow, look to the mid-righ... (by LB)
Curious about coloring output text
 
I'm wondering if anyone can help me make my program a little more portable. It works on my computer ...
[5 replies] Last: Thanks guys. I'll look into that graphics api you talked about, Lachla... (by VioletteVanadium)
by erty
Best way to exchange array between derived class and base class
 
Base class has an array, whose size is controlled by the derived class. I can't use the STL and ...
[6 replies] Last: The entire code has to be present, but only the necessary bits are act... (by keskiverto)
April 2014 Pages: 1... 2728293031... 41
  Archived months: [mar2014] [may2014]

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