General C++ Programming - January 2012 (Page 30)

Building an FFI for a Virtual Machine: Problems with the ffcall library
 
Hello, forum. As the title says, I'm building a virtual machine. I've read the EOPL, Lisp in Small Pieces in Game Scripting Mastery (The latter goes through ...
[no replies]
Optimal Strategy for a Game Problem HELP!!!
 
Here is the pronunciation of the problem: Consider a row of n coins of values v(1) ... v(n), where n is even. We play a game against an opponent by alternating...
[6 replies] Last: Ok, so that's memoization. In dynamic programming, we get rid of the r... (by kev82)
by rafmed
bug....help!
 
#include <iostream> #include <cstdlib> using namespace std; template <class burner> class device { private: int n; ...
[2 replies] Last: cin>>P ; The compiler has no idea what >> means in the context of... (by Moschops)
Function Variables
 
When I do this: void function(std::string thestring) { //random code } Is thestring cleared from the memory when the function is completed? Thanks in...
[4 replies] Last: Okay, thanks. (by BrokenSilenceDev)
by Ren78
problem whith c++ program matrix
 
My difficulty is that each matrix should have an identifier and match the same name where the file will be saved, so when i go to search for a file and write da...
[no replies]
error
 
The program ' RR Donnelley.exe: Native' has exited with code 0 (0x0). please help me if you can. anytime i run the program it disappear with the above msg. Ig...
[3 replies] Last: I've seen this code handed out with uncaught exceptions, but generally... (by Moschops)
HAVING A PROBLEM OPENING THE INPUT FILE
 
I'm still learning C++ and i'm currently reading about file I/O. According to the book i'm using, you need to open your input file as follows: ifstream in_s...
[7 replies] Last: ............................................ .doc files are encoded in... (by closed account S6k9GNh0)
ColeDateTime
 
I have been working n ColeDateTime and able to finish working on with following Code but I am running into trouble with WIN XP but it dose work in win 2000...
[no replies]
by dalawh
What's next?
 
I was wondering what I should do to practice C++. I mean I read and understand the basics of C++ like pointers, structs, class, etc., but what do I do now?
[4 replies] Last: Does anyone have any recommendations on tutorials on WinAPI, preferabl... (by dalawh)
insert symbol in an array>??
 
may i know is it possible for me to insert this "□" symbol in an array?? actually i was doing an airlines seat reservation system, and normally people will d...
[3 replies] Last: Just like that wchar_t seat ; for( int r=0; r<R; ++r ) for( int... (by Cubbi)
OpenAL - How to play a .wav file?
 
Hi! I downloaded & installed OpenAL SDK some time ago, thought it could be very useful, cross-platform audio API to be used in my game engine, which it i...
[no replies]
Goto Command is bad? (1,2,3)
 
I have seen several statements that this command is basically a bad thing to use, but nobody ever really states why. I saw looked it up on google, but the answe...
[43 replies] Last: Well, I'll try to use a more neutral English. However, I am 100% awar... (by webJose)
memory management
 
I have two matrices. Because they are two big, there is the problem of stack. What can i do? Do I have to make them in two main file? Thanks a lot! #de...
[3 replies] Last: If you want to read from the file do you want the whole file to br rea... (by bluecoder)
PLEASE HELP Inheritance in Juce
 
Sorry if this is a beginner topic and ive posted it in the wrong place, I am a complete begginer. I'm using Juce and want to make a load button class but having...
[no replies]
unresolved token?
 
what is unresolved token (0A000024)??
[no replies]
from console application to windows form
 
hello, i finished my project in console application and i am working on converting it into windows forms project, but i am having problems with including hea...
[no replies]
Multimap equal_range and count with 2 classe
 
hi i m usimng a multimap as multimap<CustName,PhoneNo,Comp> but its equal_range() and count() functions are not working. CustName and PhoneNo are 2 classes. ...
[2 replies] Last: yeah it has actually i found the error i dint returned the boolean fla... (by aashish)
by Smoke
undefined reference to `boost::program_options
 
Hi Using boost for the first time, installed it from source and using a makefile to link. I believe the undefined reference to boost::program_options is a li...
[3 replies] Last: Uninstalled the entire boost library, and the compile source. I have r... (by Smoke)
by Telion
ios::in Required for fstream to Not Wipe File
 
I ran into a horrible bug today while I was writing an experimental serialization system. When I use fstream to open a file for writing (ios::out) but not for ...
[1 reply] : > I really want to know why this is happening For output file streams... (by JLBorges)
I need for help
 
Can anybody to help with the Doppler effect programming in C++ code? till now I can offer to you only this party: w1 = w0*( 1 - v/c0 ) is the formulae. w0 = w...
[1 reply] : you cannot do this way y = ? x = ? c = ? you have to have some valu... (by bluecoder)
January 2012 Pages: 1... 2829303132... 36
  Archived months: [dec2011] [feb2012]

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