General C++ Programming - September 2008 (Page 7)

array bound is not an integer constant
 
hi, i have to input and then display a matrix using functions. the problem is that i have to enter t...
[3 replies] Last: See http://www.cplusplus.com/reference/stl/ for docs on the various st... (by Faldrax)
SystemC signals
 
Hi, please let's look at the code below. After that, please consider the problem of modelling the ...
[2 replies] Last: include "systemc.h" #include <iostream> class write_if: public sc... (by saggiatorius)
by drac
simple question
 
all right, i'm still working with this project that simulates an agenda..the problem now is that i'm...
[1 reply] : Rather than getting the index from the user it may be easier for the p... (by buffbill)
by Pierre
Deleting from a multimap with an iterator
 
I'm building a graph (of the graph theory kind). I add points to a complicated data structure, keepi...
[2 replies] Last: I thought that's what was happening. convexhull normally has about sqr... (by Pierre)
Problem With This Program
 
// Chairs.cpp : Defines the entry point for the console application. // #include "stdafx.h" #in...
[1 reply] : It's i<NO, not i<=NO. The difference is crucial. (by helios)
by yakiza
creating a vector of abstract objects
 
Hello, I am writing a ray tracer and thought the best way to handle the scene's "objects" would be t...
[7 replies] Last: Ah! Thankyou so much :) (by yakiza)
unknown funtion problem
 
I wrote 2 different source files.When I compile the code compiler gave an error message "conflicting...
[1 reply] : It's because you have to put the prototypes before the definitions of ... (by firedraco)
Looking for direction (in the form of books, tutorials, etc)
 
Having read a couple of introductory books and a few on data structures and algorithms, I am now loo...
[5 replies] Last: What do you guys think of this one? http://www.amazon.com/Inside-Ob... (by bern19ardo87)
cannot instantiate abstract class
 
I have the following error which I can not resolve. f:\projects\080915 state stack v3\source cod...
[4 replies] Last: Actually what do you want to achieve here? Singleton and returning ... (by satm2008)
by gAaRa
Running another .exe file in my program
 
Hello people I have a small question regarding running a .exe file from my program is possible ?...
[3 replies] Last: cstslib for one and windows.h for the other. http://www.cplusplus.c... (by helios)
Inheritance
 
I know friends aren't inherited, but is there anything in particular I can do to instead of saying m...
[1 reply] : I don't think so. Why so much friendship anyway? Often times excessi... (by jsmith)
by marc
SDL event.type error
 
The following is a snippet from my code: while(SDL_PollEvent(&event)) { ...
[6 replies] Last: That worked perfectly; thanks Zaita. =D (by marc)
by samnet
ado in c++
 
what is the xxx.h in the include folder? have any sample for dev c++?
[no replies]
vector usage
 
I am doing a calculator, and I need a storage for my built-in function. Currently, I have a vector ...
[2 replies] Last: Is it better in term of memory? Well, I also found out about pair<a, ... (by chu121su12)
Socket connection
 
I want a simple socket code that looks like this. SendData(hostname,port,data,size_t data) GetData...
[8 replies] Last: This is mostly from the microsofts example above with some modificatio... (by Mitsakos)
Scanning for certain words and logging advice
 
Im developing a anticheat for a game that check the players keybind info and so far ive got it to d...
[3 replies] Last: I'm still not sure what you're having troubles with. Which is the half... (by xabnu)
by drac
what does this mean??
 
fatal error C1075 end of file found before the left brace '{'.. this error comes out on the .cpp ...
[2 replies] Last: found it.. thanx! (by drac)
Odd IO situation
 
Have an IO class defined in the header file below: class file_byte_stream : public byte_stre...
[no replies]
by Gregor
Implementing templated class constructors
 
My nice message was acidently deleted when pressing the backspace by acident, so here is the brief.....
[3 replies] Last: Yeah. You see... VC++ has this thing... http://www.cplusplus.com/foru... (by helios)
variable length dynamic vector
 
I have 24 vectors of maximum 100.000 elements. Now I'm using xArray = (double*)malloc((number_of_sa...
[1 reply] : Those are arrays, not vectors. Use std::vector, then. http://www.cpl... (by helios)
September 2008 Pages: 1... 56789... 11
  Archived months: [aug2008] [oct2008]

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