General C++ Programming (Page 8)

Understanding Massif Memory Usage Measurements
 
I've recently been attempting the problems on CodeEval.com, where solutions are rated on execution t...
[no replies]
assign values to struct string[2]
 
I have googled and have not found anything relating to this, or am just looking for the wrong thing....
[2 replies] Last: sorry. the problem is that when t changes from 0 to 1 and I do a watch... (by jwalpole)
Kalman filter, measurements and estimation
 
Hello, I am using a Kalman filter with a PI controller. The goal is to control a mirror to stabi...
[no replies]
Physics engine
 
Im thinking about trying to write some basic physics engine. Do games have a single physics engine i...
[2 replies] Last: OK ty. So i just have to dispatch worker threads if i need multi threa... (by vastrolorde)
Type of C++ Programming
 
I heard that alot of website/games use C++, but what 'type' of C++ do they use? At all my C++ progra...
[2 replies] Last: It might be a little bit surprising that the website/games use the exa... (by liuyang)
by Omni
Error when compiling
 
Well, I'm doing a code that works like a register machine. You can register a product, inserting the...
[2 replies] Last: Im pretty sure you accessed memory not belong to you. Issue 1: A very... (by liuyang)
by dailei
Question about stl code
 
I read some codes implementing iterate in STL and I'm puzzled by it's definition :(partly) templa...
[2 replies] Last: The implementation is sgi-stl ( g++. 2.91.57) I read the code later an... (by dailei)
Sequence Points - Order functions are being called
 
I'm a little confused, I was reading this article here http://stackoverflow.com/questions/3457967/w...
[9 replies] Last: @ JLBorges Thanks for your always interesting replies :+) Perhaps w... (by TheIdeasMan)
help
 
hey guys can someone explain to me how can I solve this ,,,,, Write two functions to compute the va...
[2 replies] Last: thank you that was helpful really appreciate it .... (by rakan511)
using || in do-while loop
 
I have this program here, it isn't complete, just starting it off. It's a switch sequence within a d...
[3 replies] Last: Here, given the way you are using the switch statement, you could do t... (by andywestken)
this program isn't working and i don't know why?
 
#include <cstdio> int main(){ int s=12; int c=0; int l=1; freopen("hallin.txt","r",stdin); ...
[2 replies] Last: Line 10, s-l; , is not doing anything. (by Grey Wolf)
how can i read a gif file byte a byte?
 
heres what i know about the gif files: 1 - the 0x2C(',') is the Image Separator; 2 - the 0X3B(';')...
[1 reply] : Make sure you opened the file in binary mode. (by Peter87)
I need some assist here , my C++ code is not working
 
My code is as below , I cannot display anything out , I spent a whole day on checking the mistakes ,...
[4 replies] Last: I found out what's the problem already , thanks guys (by badbuddy1)
hello, I have a question about ctime library
 
I want to get the time difference between certain moments of objects life but it seems that variable...
[4 replies] Last: thank you very much!!! (by davidgoder)
Best Graphical Library To Develop a Weather Simulation Map?
 
I want to recreate a weather map that you see on most weather channels. I don't need real time Doppl...
[no replies]
Why pass by ref when you can pass by memory location?
 
Hi All, I have been playing around a little with the C++ references, and I wonder - why would you u...
[4 replies] Last: Thanks Ganado, So you would use this in the case of objects (rather ... (by nzsteve)
enums nested in a class
 
// forward declaration, doesn't work // enum Cage::Bird; class Cage { Cage::Bird f_bird; ...
[2 replies] Last: Thank you, Thomas! (by diddeldidum)
by well
less<TYPE>
 
template <typename T,typename F=less<T>> int compare(const T &v1,const T &v2,F f=F()) { } I ...
[1 reply] : F() - an anonymous temporary object of type F (which is value ini... (by JLBorges)
Rotate the Matrix
 
I'm trying to rotate a matrix inplace (clockwise direction). Below is my code, everything seems righ...
[2 replies] Last: @AbstractionAnon I get it thanks. Silly mistake (by atinesh229)
Unreal Engine Compiling Errors
 
I'm having trouble finding the problem compiling this in Unreal Engine 4 4.12. Can you tell me the p...
[no replies]
Pages: 1... 678910... 23
  Archived months: [jun2016]

Cannot post in this page. To post a new message, go to the first page.