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

by komp20
2 dimesional arrays inside the class
 
Hi everybody, I want to declare a two dimensional array inside a class as a private member but I get...
[4 replies] Last: How interesting! I tried this out with: out_stream.open("c:\\my.txt... (by Stewbond)
by Bouya
Callbacks
 
Hi I discover for the first time the callbacks, from waht i read , i think that allow exchange be...
[2 replies] Last: Here's a common one: http://msdn.microsoft.com/en-us/library/windows... (by Stewbond)
appending one linked list after another.
 
Write an Append() function that takes two lists, 'a' and 'b', appends 'b' onto the end of 'a', and ...
[2 replies] Last: When playing with pointers (and linked lists), you should always get o... (by Duthomhas)
OpenGL Normal vector
 
Hi. I have a few questions about normals in OpenGL. 1. Should I put glNormal3f function before ver...
[3 replies] Last: Thank you both ;) (by majidkamali1370)
by jalda
Template specialization for template types
 
I'm programming a template class Vector in order to perform algebraic operations: #include <ccom...
[8 replies] Last: And I can't overload conjugation because is only a function defined f... (by jalda)
c++ QObject's Child Management
 
#include <QApplication> #include <QLabel> #include <QVBoxLayout> #include <QTextE...
[1 reply] : This is not the right place to ask about Qt. I think you wanna go try ... (by TheDestroyer)
by applee
Inheritance
 
Hi! I'm having trouble with multiple inheritance. I'm supposed to write a program for chatrooms,...
[5 replies] Last: Ok, but is there also a way to solve the problem using class instead o... (by applee)
by sisi
return object or address
 
Hi all, I have this kind of class: class A { public: typedef std::list<std::string> MyList; priva...
[2 replies] Last: Ohhhh yes, right!!!! I knew that a.getList() will return a copy of my... (by sisi)
Creation of a file system
 
There's something I've wanted to know for a while that seems pretty hard to find information on onli...
[1 reply] : This should get you started: http://thecoffeedesk.com/geocities/rkfs.h... (by JLBorges)
SFML - C++ displaying a sprite help
 
I've been learning sfml lately and im trying to create just really simple games and applications to ...
[8 replies] Last: Works now! Thank you so much for the help, love the people here. (by Need4Sleep)
I try to figure out the Median of my array
 
the only number i get is the second last number of my inputs. for(int outer = 0; outer < 14; out...
[2 replies] Last: Given an array named array of size n . Sort array. if (n is even... (by cire)
by Baelix
Recursive Polynomial Help
 
So, I'm writing a program in which we iterate through a for loop to display the different factors of...
[2 replies] Last: Hopefully I don't sound too dumb here, but would you break that down a... (by Baelix)
How do i get results from a query and print them as a string in c++??
 
I can connect to my mysql server alright by using "mysql::initialize", and i can send querys properl...
[no replies]
Unknown error!
 
I switch to mysql for my server recently, and it comes up with "Crystal online.exe has stopped worki...
[10 replies] Last: I tried it, it worked, BUT it doesnt allow you to remove stuff from th... (by killerloader)
by khal
Template Queue
 
#ifndef QUEUE_H #define QUEUE_H #include <cstddef> template<class T> class Queue { publ...
[7 replies] Last: As far as I know the using namespace std is not require in a .h file ... (by ne555)
by yotic
count function for queues
 
I need some help with setting up a count function for this code that i have. I'm not at all sure how...
[6 replies] Last: i think i got it, i looked up different types of solutions to this pro... (by yotic)
how to print the content of vector of variant of vector
 
Dear Pls look at my code, When I try to print the content of vector of structure of variant of v...
[6 replies] Last: Again, it's irrelevant that you are using boost::variant Define som... (by ne555)
by xKeb
Char Encryption
 
So, pretty much, I have to read in chars from a file. Then I have to encrypt them. Then encryption c...
[1 reply] : To use strings and getline, you'll need the string library. Getline wo... (by krakissi)
by baki
Error in trying to compile a program of a guessing game
 
Say you pick a number, you are given ten attempts to guess it right if you're right display CONGRATU...
[3 replies] Last: //THe character that they sayer higher or lower to: H, L, W will be ... (by shaggy)
by shaggy
text RPG help
 
Hello i decided to make a small text base rpg game, but i might add a GUI with SDL when im done. It ...
[1 reply] : Main Question: That would be something you would have to figure out, d... (by firedraco)
April 2012 Pages: 1... 2627282930... 49
  Archived months: [mar2012] [may2012]

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