General C++ Programming - November 2008 (Page 3)

Anyone know of any 2D Tile Engine Tutorials?
 
Ok, so I know there are a lot around on the net but I'm wondering if anyone knows where i can find o...
[2 replies] Last: Thanks for that, signed up with the SDL mailing list - and searched th... (by Mythios)
pascal triangel
 
please help me out... i've make a pascal triangle, and its successfully run but i want it to be a ...
[18 replies] Last: Thanks a lot, the codes are really worked.. (by devaeron)
by am1767
Finding prime numbers without cmath
 
In this assignment the user gives a positive integer, and from that integer the program should deter...
[5 replies] Last: LOL. You know, I actually had someone once offer me money to do his ho... (by Duthomhas)
by sunyu
exception error
 
#include <iostream> using namespace std; int main(){ char _str = "one world,one dream"; co...
[3 replies] Last: thank you friends,I know,i will hava a think. (by sunyu)
Finding if a number is prime
 
Sorry wanted to delete my info but if you need help figuring out a program on prime numbers let me k...
[1 reply] : #include <iostream> bool prime(int n){ //... } int main(){ ... (by helios)
Using math functions like asin, sqrt, pow, ... without getting range errors
 
I am writing a DLL and I am using some math functions like asin, sqrt, pow, ... The problem is th...
[9 replies] Last: Your best bet is to check what parameters are being passed into your f... (by Zaita)
by jrok
Filling arrays for Tictactoe game.
 
hey guys, i am writing a program for tictactoe n I have this is the board i have got to work on. I h...
[1 reply] : http://www.catb.org/~esr/faqs/smart-questions.html#explicit (by Zaita)
System time function??
 
Hi guys For a bank account program, i need to log every transaction such as withdrawals and depos...
[2 replies] Last: Or not XP, helios has it covered. (by firedraco)
Include another library in a constructed namespace
 
Hello! I want to include two external libraries that defines functions with the same signature, c...
[9 replies] Last: Ok, then i think I try that, and report any results thanks again! ... (by johanhake)
How do I obtain a member pointer to a member of a contained class?
 
Consider: struct T { int x; int y; }; struct S { int a; int b; T my_t...
[5 replies] Last: @helios: Pointers to data members have very limited use in C++, I agre... (by jsmith)
looping through a vector and pausing after a number of loops
 
Hi all. I want to be able to loop through a vector which displays customer details. The problem ...
[6 replies] Last: You can find (many) other methods here: http://www.cplusplus.com/forum... (by helios)
by zentec
Text Input of Variable and Unknown Size
 
What is the best way to handle dealing with incoming data (via socket or stdin, whatever) when the...
[5 replies] Last: I used stdlib (malloc, realloc, free) for this. Start with a block of ... (by matrebatre)
by Trey
I'm trying to get SDL to work.
 
We've been using SDL in my computer class for a while now, and I figured that I should try to start ...
[5 replies] Last: I got the same problem, or at least i got a problem with SDL image to.... (by Scipio)
Problem with an array of structures in a function; weird weird characters
 
So I have been trying to get this working for a while now and it works right for as much as I have d...
[3 replies] Last: Well...the way you are currently doing it, you will could get an infin... (by firedraco)
I have no idea about this error message
 
I am a new learner of pointers and arrays, when I start writting this small programme, I find ACCESS...
[7 replies] Last: @Mal - it's actually calling the constructor and passing the construct... (by jsmith)
error C2106: '=' : left operand must be l-value
 
I am making a bank account program for a project. It contains a class for an account which stores th...
[2 replies] Last: yes of course, i realised after about the silly mistake of trying to i... (by computerscienceguy)
How do I link this DLL Library? (I'm using DEVC++)
 
Hello, I have a dll library that has a .def file included, but no .lib or .a files. So how can ...
[1 reply] : read this on '.def' files ( http://msdn.microsoft.com/en-us/library/28... (by Mal Reynolds)
searching and deleting
 
hi guys, basically i am making a bank account program for an assignment, and now i have encounter...
[5 replies] Last: ok guys. thank you all for your speedy replies :D (by computerscienceguy)
by Sera88
Variable doesn't change - and changes (separate source files)
 
I'm having a very weird problem here. I think the resolution is simple, but I just can't figure it o...
[2 replies] Last: helios, you saved my day, truly. Thank you very much! Now the conversi... (by Sera88)
Derived Class ?? (1,2)
 
I am working on a problem which will work with two classes which I have created "product" and "order...
[25 replies] Last: Will I be able to create a vector with a list of product codes and pri... (by jpmcfly)
November 2008 Pages: 12345... 11
  Archived months: [oct2008] [dec2008]

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