General C++ Programming - October 2009 (Page 8)

c++ and 8 bit graphics
 
I have a few sprites and backgrounds I want to use in png and bmp format, how could I integrate them...
[6 replies] Last: DirectX is not a third party library.It's included in Windows The run... (by helios)
converting a file from mp3 to wav
 
I'm interested in learning how to do this can someone point me in the right direction :)
[1 reply] : 1.) Find formatted music in x format. 2.) Decode the music in x forma... (by closed account S6k9GNh0)
[Boost::Interprocess] access violation when function returns a pointer
 
hi, I want to synchronize multiple Processes with boost::Interprocess. For the start I imp...
[no replies]
by dkaip
"All occureces" program
 
Hello, i have a difficult problem. I am trying to make an algorithm that make all occurences of s...
[no replies]
by nikman
c++ using pointers
 
Hi there I have the following piece of code which is reading data from a text file. The problem i...
[15 replies] Last: yes the second way is a shorter and more efficient method. either way ... (by nikman)
Size of String Array Passed to Function
 
Thank you for reading this and attempting to help me. I'm having trouble trying to determine the ...
[14 replies] Last: Well, I still can't grasp your reasoning (or maybe I just don't feel l... (by helios)
switch dilemma
 
Just fishing for some architecture suggestions... I have a templated container that stores one of...
[6 replies] Last: There will never be a 5th type, but that sounds pretty handy. I'm just... (by turbozedd)
by a0000
the use virtual func and inherit
 
what is wrong with these codes and why? #include "iostream" using namespace std; class base ...
[5 replies] Last: delete pb is wrong as the object was declared on the stack with chi... (by kbw)
How to use "cal_ATS_function" twice in the main BUT with diff variables? tks
 
/* ------------------------------------cal_UCL------------------------------------------------*/ ...
[5 replies] Last: My question is.. why are you declaring your prototype for your cal_ATS... (by pjwarez)
Using string class in function
 
I'm trying to write a program that will output the lyrics for the song "99 Bottles of beer on the wa...
[2 replies] Last: An iterative method: #include <iostream> #include <string> usi... (by mcleano)
by gasto
stdbool.h not in C lib reference.
 
Hi there, I was wondering why in cplusplus.com in the library reference for the C library ( http:...
[3 replies] Last: Thanks. (by gasto)
Windows 7 64-bit Compatabillity
 
Do 64-bit OS's cause issues with entry level programming? Or am I better off staying with 32-bit? ...
[1 reply] : No. There are no possible problems if you compile for x86-64. Even if ... (by helios)
How to replace words in a text file with seekp
 
My actual problem is much larger but figuring out how to do this example will help me. I want to ove...
[9 replies] Last: The ios :: app means append . There is no need to do that. fs... (by Duthomhas)
by screw
using shared_ptr in boost
 
I would like to ask for some help about shared_ptr. My simple code is: #include <iostream> ...
[2 replies] Last: I forgot to write my compiler... mingw 4.4 It is possible that the boo... (by screw)
Como devo usar { e } neste código
 
Este código não funciona porque acredito que existe um erro no uso das chaves { e } em algum lugar...
[4 replies] Last: As far as I can see, there is nothing wrong with what you posted. C... (by Duthomhas)
error 2059: syntax error
 
Hello all, Im trying to compile a windows console project. But im getting this error c...
[1 reply] : Can you post your code? (by guestgulkan)
by kenr
compile error when constructing a derived class
 
I keep getting this error when I try to compile: error: expected primary-expression before "double" ...
[4 replies] Last: I'm trying to figure out how to cut and paste the source "as-is" from... (by Bazzy)
Nested STL containers
 
Hello! I have the question which could be considered as OS-dependent or compiler-dependent maybe, b...
[4 replies] Last: But I use vector nested in map . Doesn't it mean that vector is a... (by Strannix)
by mar11
struct
 
Hi all, If i have the following code: struct obj { bool var0; bool var1; bool var2; bool ...
[5 replies] Last: I mean that there is little difference between bool var and bool v... (by hamsterman)
About Binary Search Tree...
 
The Problem: Write a program that will allow randomized 0..100 numbers and the 15 generated numbe...
[1 reply] : . or if you give the code much better,,, How about doing your wor... (by kevinchkin)
October 2009 Pages: 1... 678910... 17
  Archived months: [sep2009] [nov2009]

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