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

Question about multi-threading
 
Hello c++ fellows, I have experience in C++, but I never had to work with multi-threading before,...
[4 replies] Last: Thanks again, you are very helpful! You're thinking of creating a ne... (by Mantrid)
text file output - or it would be if comp wasnt being stubborn
 
can you tell me why I am not getting any output to a text file? I cant see why its not doing it. ...
[2 replies] Last: thanks :) (by equitime77)
what is the problem when object is created in below fashion
 
#include <stdio.h> class xyz { int mx; public: xyz::xyz(int inputx) {printf("construc...
[6 replies] Last: What compiler do you use. I would not expect it to compile with xyz:: ... (by Peter87)
Generating all possible combinations
 
Hi guys. I'm sure this is pretty simple, but I'm stumped for a way to do this. Essentially if I have...
[6 replies] Last: this assignement is due in few hours I don't know why you guys always... (by coder777)
Something about Class inheritance
 
I'm thinking about some details in Class inheritance. I know that the derived class can only inherit...
[6 replies] Last: Thanks ~ :) (by Janeson89)
by PRBNL
Help Converting char to string
 
I am fairly new to C++ and need help appending a charcter from a string. char Buffer ; contains:...
[7 replies] Last: Thank you all for your remarks. To: cantide5ga " Let me know if I am ... (by PRBNL)
if and while statement help please
 
I am trying to get a menu screen before my code runs, this is a snippet of what I have, can anyone t...
[3 replies] Last: if(startMenu == false) //GAME CODE else while(startMenu ==... (by htirwin)
How to make input parameter into string ?
 
What command or piece of coding I can convert parameter into a string so I can run it through error ...
[1 reply] : If you want some variable shown, cout << will take case of of printing... (by hamsterman)
OpenGL and SDL question
 
Hello everybody, I am working on a video game for my programming class right now using SDL and op...
[3 replies] Last: @BHXSpecter Look at how it is declared and assigned, 52 c-strings with... (by naraku9333)
Driving me nuts.
 
I guess it is a long shot; it's a complex problem and I don't know if it is possible for anyone to h...
[2 replies] Last: Here's a prime number for you. 1222253171 But I have no idea what yo... (by closed account zvRX92yv)
Odd Valgrind errors
 
Although my program seems to be working fine (I disabled a lot of functionality to test some stuff),...
[no replies]
Sound in C++
 
Hi, I have spent lots of time trying to get sound to play for a battleship program I'm working on...
[2 replies] Last: I would recommend either OpenAL, or SDL mixer. I use openAL, and it's... (by htirwin)
by yotic
problem with compiling linkedqueue
 
The error is invisible to me. Im not sure why it wont compile? and the error code makes no sense. ...
[2 replies] Last: Okay, that definitely helped get the program running but thats as far ... (by yotic)
by Torin
Code::Blocks and Mingw32 - linking to static libraries not working. Help!
 
Hello, Recently I decided to try Code::Blocks in conjunction with Mingw32 for a new project (This...
[5 replies] Last: @Caligulaminus: GCC only requires -ldl, as -l is the option for adding... (by Torin)
by Bobu
Lifetime of dynamically allocated boost:vector<> ?
 
Hi, Currently I am working on a little project, where I'm facing a problem concerning the lifetime ...
[2 replies] Last: Thx very, very much!!! I've tried every possibility to make this littl... (by Bobu)
Multi-dimension vectors
 
Ok I'm trying to create matrix of data that I can add values to based on a reading that I will get f...
[no replies]
creating this template function
 
So I have a template class containing: // someProgram.h template <class T> class myClass { public...
[7 replies] Last: thanks (by hopesfall)
Help
 
Hi, can I get a tutor perhaps? I'm having difficulty understanding concepts and programming in C++. ...
[3 replies] Last: yes, thank you. (by jparcha)
try catch question
 
hi every body . why this code is wrong ? and how to fix it ? try { throw; // i want to throw...
[1 reply] : You have to throw something that can be catched. Ever tried catching s... (by hanst99)
wishes to create a .def file
 
Hello everybody, I am using the Microsoft Visual C++ 2010 Express version and I would like to ad...
[2 replies] Last: Thanks now it works! (by andrinirina)
April 2012 Pages: 1... 1213141516... 49
  Archived months: [mar2012] [may2012]

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