General C++ Programming - January 2012 (Page 26)

Bitmap tile extracting?
 
Hey all, i'm new to this site so bare with me. My goal is to create a function or class were, it ta...
[2 replies] Last: Okay cool, I'll try that thank you (by mill0698)
Programming Error C2597 - What's going on?
 
The problem in my code is that its telling me that some private attributes of my class are being ill...
[10 replies] Last: Maybe I was using the wrong terminology, which I probably was. I had t... (by jmdrew8)
C++ & SDLfirst game, Hit detection problem
 
Hello, I recently started to learn C++ and SDL and I am working on a game called "Gun Fight" at the ...
[6 replies] Last: I have decided that the Hit Detection box was exactly the size of the ... (by Schadek)
sending an array to a pointer
 
What I am trying to do is point to a multidimensional array. I found that I can use a pointer to poi...
[2 replies] Last: thanks, that works! (by DeadEli)
Linking BLAS/Lapack or ACML with Armadillo in Ubuntu
 
Hi! Initially I installed BLAS, Lapack, and ATLAS but the matrix multiplication didn't work, it ga...
[1 reply] : Remove Ubuntu's Armadillo package and manually install the official p... (by mtall)
Help
 
what do i write in the program when i just hit enter, the program ends?
[3 replies] Last: if (input == "") exit(0); (by Moschops)
by fog76
My C++ code
 
Hi guys, in these days i'm putting online my C++ source code of oldschool demo effects. If you are ...
[no replies]
Streaming problems!
 
Hi people, i have this code.. #include<cstdio> #include<cstdlib> #include<iostream> #includ...
[4 replies] Last: Problem solved in this way!!! #include<cstdio> #include<cstdlib> #... (by marcofjs)
No std::owstream_iterator?
 
Hi all, we all know that to print something to std::cout we can use : std::vector<std::strin...
[2 replies] Last: Thanks for reply. I thought that std::wstring was taking care of wchar... (by Silvermaul)
by LB
I've heard multiple inheritance gives compilers grief?
 
I've heard that the reason that Java and many other OOP languages don't support C++ style Multiple I...
[6 replies] Last: The solution these days is to multply inherit interface and manually... (by rapidcoder)
Semantic network data structure
 
Hi, I need an opinion on how to implement a semantic network type data structure for the following e...
[1 reply] : class Mammal: public Animal { Vertebra v; public: //... }; ... (by LB)
Sockets: client cannot connect to other computer/server
 
hi, I have a problem, and so far I don't know how to get through it. I have created standard serve...
[6 replies] Last: I'd suggest that you print the error (with WSAGetLastError()) to know ... (by coder777)
Search sub-string in vector and write whole string to file
 
Hello, I'm having a problem with finding and printing an element in a vector. I want to search my ...
[3 replies] Last: I've got it figured out, needed an iterator. Code as follows: for(... (by ahoysailor)
Help
 
how do i make a program that gives a 3 when i input 2+1 and when i input a 2*2, the prog will give m...
[1 reply] : http://www2.research.att.com/~bs/dc_command_line.c (by Moschops)
by LB
Polymorphism and operator=
 
I'm very troubled by the behavior of calling operator= with polymorphism. Very unfortunately, it fol...
[15 replies] Last: I am with you now .. thanks Sloppy for the artical thanks all of you ... (by bluecoder)
OpenGL setup/linking - Dev-C++ 4.9.9.2
 
I'm starting to learn OpenGL, but I keep getting errors when I try to compile the example code that ...
[14 replies] Last: This is for Dev-C++ You need libgdi32.a libglu32.a libglut32.a libopen... (by LOL LOL)
by Zanje
Help
 
can anyone post a code for black jack console?
[5 replies] Last: I'm a beginner programmer, and I did this assignment recently. I'd be ... (by oiramih)
function prototypes and arguments in classes
 
Hi, I'm writing a code, which looks like this (simplified...) ---------------- routes.h ----...
[4 replies] Last: @bluecoder: Thanks forward declaration helped (by tarun88)
Variable Problem
 
Hi everone :D I am making a drag and drop piece of code in Processing and it uses code similar to...
[4 replies] Last: "Similar" means two or more things have some properties in common. (by Muhasaresa)
Operator overloading
 
CSprite CSprite::operator * (double scale) { // code to scale the size of the sprite and make...
[2 replies] Last: The general approach is to use const & when you can so that you forbid... (by eypros)
January 2012 Pages: 1... 2425262728... 36
  Archived months: [dec2011] [feb2012]

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