General C++ Programming - May 2012 (Page 7)

How to make a game engine
 
I want to make a game engine by myself. And yes I know how long it could take but I want to get more...
[1 reply] : There is no clear definition of what a game engine consists of, but it... (by Athar)
unresolved external symbol
 
I have written a code and there is an error witch I could not fix. The code: triangle.h ...
[4 replies] Last: Yes @ Framework. I was just trying to keep my response simple =P (by Disch)
random dice roll
 
Hi, can someone look at this code and tell me if it matches the requirements. I need to write this p...
[2 replies] Last: Looks ok to me. You may want to add const to the getValue() funct... (by JLBorges)
Delete from binary tree
 
Hi, I was trying to hands on binary tree. I was able to successfully create and print the binary.But...
[3 replies] Last: You need to be able to link them, so don't stop where you find the dat... (by ne555)
Your vectror::push_back() crashes....
 
have you ever experienced program crashes with push_back() function? how you solved it? do you kno...
[14 replies] Last: Yeah, the problem is not with std::vector but in how you use it. (by Peter87)
C++ Index Values
 
I'm trying to figure out where I messed up in the valid index values. When it compiles, it accepts ...
[5 replies] Last: Use code tags and indent the source code, thanks. (by closed account 3TXyhbRD)
Is it a concept or just my VC compiler?
 
Hi, During developing a few classes for a product, I came across a weird error compiler showed. ...
[7 replies] Last: > Why this concept itself? Or what may be reasons behind this concept?... (by JLBorges)
by rian
C++ Design pattern
 
Hi Guys, I am working on a task to write a data extractor from a database to a flat delimited fil...
[6 replies] Last: Either the strategy pattern http://sourcemaking.com/design_patterns/st... (by JLBorges)
time function
 
how can i make a date entered the date that time uses instead of jan 1 1970? please i need this for ...
[1 reply] : http://en.cppreference.com/w/cpp/chrono/c/mktime (by JLBorges)
Count Vowel C++
 
// =============== bool isVowel( char ); // ============ int main( ) { ...
[13 replies] Last: For your flowchart: #include "stdafx.h" #include <iostream> using na... (by crystalgem)
Switching from C::B to NetBeans and STL is gone
 
I was recently wooed by NetBeans' text editor so I tried transitioning my project. Using the same co...
[no replies]
Buffers or Protocol Buffers
 
I am confused. As I self-study c++ I come across "streams" , "streamstreams" , "buffers" , "protocol...
[2 replies] Last: Thanks, that helped. (by therry1)
Vector Association
 
I am curious as to how I can assign a pre-determined vector (of size 3) to another variable. This...
[2 replies] Last: The first one will do just fine, and it worked! And I'm sure that that... (by Justin Sharp)
Must read C++ book list
 
This link shows some C++ books we must read. http://pixelstech.net/article/index.php?id=1337796210. ...
[1 reply] : Decent list. Here's another one, peer-reviewed by Stackoverflow users:... (by Cubbi)
Placement in unordered trees??
 
Hi, as the title says, i want to write a recursive function that implements a full or quite full tre...
[no replies]
Reading files - varying offset from seekg
 
Hello everyone, I'm trying to do some very simple logic to read numbers from a file. The numbers ...
[11 replies] Last: This is why I wish you had provided more of your code. The most you g... (by doug4)
by Qqite
Can not compile Boost libraries with /MT :(
 
So I've compiled boost with this command: bjam toolset=msvc-10.0 variant=debug,release threading=mu...
[7 replies] Last: @Yarlini Download the latest version of boost libraries. Navigate to ... (by Qqite)
Trouble with structures
 
Lately Ive been modifying a Wavefront Obj model loader to use textures and Im modifying the "Face" s...
[6 replies] Last: *EDIT* still not working (by TheRocketRocketMan)
double linked list
 
I found 'double linked list' with using 'class' but... can i successfully compile program without u...
[3 replies] Last: Define a node with a structure then create the list that retains a poi... (by closed account 3TXyhbRD)
"Fif" game in C++ involving alpha-beta-pruining
 
Fif Game: 9 squares labeled 1-9. I'm taking turns against the computer to place an X or O on each of...
[1 reply] : You're never checking BEST_MOVES , since arrays start at zero. // th... (by whitenite1)
May 2012 Pages: 1... 56789... 41
  Archived months: [apr2012] [jun2012]

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