General C++ Programming (Page 42)

Linker issues with my own class.
 
Okay so I have my main function (WinMain) which declares a pointer to a class that I have included t...
[16 replies] Last: Creating a new project, copied over all the files and included them in... (by thefatshizms)
[SOLVED] Collision Detection Doesn't Work
 
EDIT: I've downloaded the box2d libary and i'll start using it , i'll follow the tutorials for it on...
[no replies]
How do I know if the classes in my program are being used?
 
In this program the intention is to create a menu driven program for a pizza restaurant. I have to u...
[8 replies] Last: Cool thanks man, I'll definitely look into get functions. (by rosales5)
Which is the best idea?
 
Hi, In my game I am making their are these things call item windows. At the moment you call the gam...
[no replies]
Casting problem?
 
Hi, The compiler is returning a warning 192|warning: cast to pointer from integer of differe...
[2 replies] Last: My online game required a stream so I wrote a stream class. Their is a... (by danielmccarthy)
Undefined references OpenGL on Ubuntu 14.04
 
I am trying to compile an OpenGL program in Ubuntu. This program opens a blank window. Code: ...
[6 replies] Last: -lpthread, however order of libraries added is important. (by modoran)
Square Sums
 
Hi, I'm learning to program on C++. I want to declare a function to program this division of sums wh...
[2 replies] Last: Your code refers to col2 and col1 , which it does not know about. ... (by keskiverto)
Good modern OpenGL tutorial for 2D games
 
Can you recommend me a good OpenGL tutorial for 2D games? I want to use OpenGL 2.1 (no glBegin() , ...
[4 replies] Last: some are GLSL related and looks like glew doesn't check those, only t... (by memberfunction)
by judo11
How to display a pascal triangle using a 2D array in C++?
 
Guys how can i display a pascal triangle in forloop? Here's my code. #include<iostream> us...
[1 reply] : [quote=OP] 123 56 9 Are you sure that's Pascal's triangle ? L... (by a k n)
How does this linked list work?
 
I am currently learning linked lists and I cannot figure something out. Why don't i need to print th...
[2 replies] Last: Why don't i need to print the last element Because the last element ... (by dhayden)
VGA maximum resolution possible without memory restrictions?
 
What is the maximum resolution possible with the VGA's CRTC registers, provided that enough VRAM is ...
[no replies]
Reverting a Bitset
 
Hey there, You can create a bitset like so: bitset<16>((int)10); // or... bitset<16>((char)'H')...
[3 replies] Last: Thanks for your help (by SixTsevN)
by Grpc96
scanf problem
 
Hello! When I am trying to compile, it says that it is done but when I try to run the program it sa...
[4 replies] Last: Yes I'm sure. I'll try to use code blocks if it will work. Edit: Ok i... (by Grpc96)
Anti-Patterns. Worth studying?
 
Just when I thought I had all the design patterns in my grasp, I come across this: http://sourcemaki...
[3 replies] Last: My goal is to write my programs using the best choice of design patte... (by dhayden)
How to design this data structure?
 
Very often, I believe you will get into this problem. You design a class like this: class cell_c{...
[7 replies] Last: if Flux() uses other cells in the collection then it should be a membe... (by dhayden)
string to int to BYTE?
 
Hey there! Right now im creating a program that use xbox inputs and then send out keyboard function...
[3 replies] Last: You might consider strtol also. http://www.cplusplus.com/reference/cst... (by dhayden)
problem with bool operator in class
 
Hi, I'm having trouble understanding this error I'm getting in my copy constructor and my bool opera...
[1 reply] : /*void Grid::applyMove(int startPosRow, int startPosColumn, int endPo... (by JLBorges)
Changing class type of a vector element
 
Hello, I am programming a 2-D platformer video game. The stages are composed of an array (really ...
[7 replies] Last: The struct method just seems a bit inefficient, because only a very s... (by Disch)
How to use Qt with Visual Studio?
 
I heard that you can't use it with express, but that doesn't seem right... Can you use it with Codeb...
[10 replies] Last: Well, I am just gonna suck it up and use the Qt Creator. Thanks for al... (by AceDawg45)
Joining in a C++ open-source project
 
Hello all, I'm not an expert in C++ but also not only a novice. My knowledge in C++ is at the mid...
[3 replies] Last: Dear Avilius, That project is very hard for me. I even don't understa... (by khoshtip)
Pages: 1... 4041424344... 54
  Archived months: [jul2014]

Cannot post in this page. To post a new message, go to the first page.