General C++ Programming - April 2012 (Page 11)

seethrough texture help
 
Does anyone know if it's possible to make parts of a bitmap texture seethrough? Like, if a specific ...
[4 replies] Last: The easiest way is to store the transparent color in the image itself.... (by Disch)
problem in read mp3 multible file and put them in a list
 
how to read mp3 ID3v1 tags from directory and put them in a list???
[8 replies] Last: thanks :) thats very helpfull :) i would never do it that alone :) (by stathis)
SUPER simple C++ multi-threaded server?
 
I'm working on a simple, text-based console RPG game by myself to play online with my little brother...
[2 replies] Last: Thanks, I'll take a look at this one. (by Pikmeir)
by dlh
Template Template Class Error, Policy Based Design
 
Hi, I am getting the following error when compiling my program: main.o: In function `main': ...
[7 replies] Last: The name AA isn't necessary (and is redundant as said earlier) Equally... (by guestgulkan)
Go back to part of code
 
I am making a text adventure, I am a beginner at c++ and I need the code to loop back to a previous ...
[1 reply] : Use a while loop. Or use a for loop. Use some kind of loop. If you ne... (by Vlykarye)
Pointer to struct member
 
What I'm trying to do is have a pointer assigned to a member of an array of structs so that I can lo...
[13 replies] Last: Btw. I get a compiler error with Framework's code. It has trouble fin... (by Vlykarye)
Need a help for an exam question
 
Hello friend, I found this question from a pass paper of our institute. can anyone please submit a ...
[no replies]
C++ Phonebook project, Need Help
 
I am given the code below and need to add a few things to it: after developing the code i have these...
[6 replies] Last: Here is an example of using a vector; it is much like an array but it ... (by LB)
hasing and collisions
 
How would hashing be used to implement a table abstract data type? How would the basic operations of...
[1 reply] : Search for "Hash Table" and "Bucket" and you'll get some information. ... (by LB)
Using Dynamic Arrays as objects in a class
 
I have a question, if I was creating a program to calculate students final grades how would I have t...
[2 replies] Last: 1) Ask user for input. 2) Use user input in a constructor of some obje... (by clanmjc)
queues containing objects
 
I want to use the STL container queue and store objects of my class in it. My question is when i re...
[1 reply] : Yes. (by clanmjc)
vector swap
 
hi, I have some code with the following line and am trying to understand what that does. std::...
[2 replies] Last: thanks, that answers my query (by itcplpl)
templated que class
 
I am trying to make a que class so that I can store any type of data in node such as string or int o...
[2 replies] Last: Great!!! and also on line 66 I have been "cout-ing" temp instead ... (by mahinkhan22)
by Hurl91
Assigning a value from a file to a 2d array
 
I have two text files to read from. The first has the size of the 2d array. The second has the val...
[1 reply] : You can use std::ifstream to read data from the file. 1. First read th... (by Peter87)
Organizing playing Cards into Stacks by the Cards Figure
 
I am reading the cards that are being generated in Deck.h. I am fairly new to this and I have to org...
[1 reply] : First things first: use code tags. #include"stdafx.h" #include"Deck.... (by yukyduky)
How to use reference pointers or pointers
 
Hi, I need help with this generic question on ref ptrs and ptrs, I don't understand what to do. ...
[3 replies] Last: Hi coder777, how would I call your function and shouldn't it return an... (by closed account 4ET0pfjN)
infix to postfix problem
 
else if (stringType == 2) { while (topValue != "("); { ...
[3 replies] Last: Sorry it isn't exactly short (by jgorospe)
HangMan game, beginers.
 
hello, i am in introduction into c++ at school, and i don't understand this project. My Teacher has ...
[no replies]
Need Some Help With a Function
 
I can't seem to figure out what is wrong with the snippet below. It works in Java with a simple clas...
[9 replies] Last: #include <iostream> using namespace std; int sizea (int array ){ /... (by lulipeng)
Optional parameters
 
As a matter of convenience, I would like to implement optional parameters into my functions to maint...
[19 replies] Last: Notice the order of the arguments as well as them even being existent,... (by clanmjc)
April 2012 Pages: 1... 910111213... 49
  Archived months: [mar2012] [may2012]

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