General C++ Programming - August 2012 (Page 20)

Save data
 
How can you make a C++ program save data from where it is and what variables are what?
[11 replies] Last: No, you have to enter them through the stream! Well, in theory you cou... (by viliml)
bugged calculator..
 
hi im trying to do Bjarne Stroustrup's exercise (calculator), it worked well but when im trying to a...
[7 replies] Last: erm sure, actually i just make new header files and copy all contents ... (by Sendy Hipo)
sdl camera?
 
i am currently writing a game engine for a 2d rpg game, and i want to create a "camera" that will fo...
[2 replies] Last: hmm, so my approach was correct then? damn, guess il just have to figu... (by even821)
Connecting mysql and c++
 
I would like to connect c++ and mysql any good libaries and tutorial?
[3 replies] Last: tnx Krofna thats what i need (by Anon777)
Using templates as class members
 
Hi all, was wondering: If I have a given template 'octree' in which instances of are defined like: ...
[2 replies] Last: Wow. That worked fantastic. Thats some funky C++, never seen that befo... (by Major Tom)
C++/SDL Clear Surface?
 
Hey everyone I was wondering how I would clear a surface from the screen with SDL. Here is my CGa...
[12 replies] Last: That's because you're drawing the background over them. Either draw th... (by helios)
by MrKieG
keypress issues with glut
 
If anyone knows much about openGL/ glut i'd appreciate the help. void handleKeypress(unsigned ...
[1 reply] : One thing I can say is that comparing it with VK_* doesn't make much s... (by KRAkatau)
Searching an Array
 
First off this is a homework question, please don't do my homework for me as nice as that would be.....
[3 replies] Last: so, whenever you give a function a return value, something has to hold... (by Aramil of Elixia)
Help with Exception Handling
 
Hello fellow member! I am an Intermediate C++ Programmer, and while studying Exception Handling, I e...
[9 replies] Last: Thanks for the tips! (by Neil010)
Problem with writing to file
 
I'm trying to make a logger thing for a game engine that logs the important things that happen and e...
[7 replies] Last: Thanks JLBorges! Now its working perfectly with slight adjustments :) (by Affected1)
Nested If Statements
 
Ok, first of all, sorry if this is vague and/or poorly worded; I am not much of a programmer really!...
[6 replies] Last: thank you very much everyone! (by disparity)
Classes, inheritance, interface.. etc etc
 
I had a hard time naming this topic but i hope this is ok. So my problem is that im making a 2D tow...
[15 replies] Last: Zeph, That idea sounds simple and clear yes, thank you. By the way, i ... (by stoffe1100)
by viliml
Weird thread output
 
Look at this code and it's output: #include <iostream> #include <boost/thread.hpp> using name...
[12 replies] Last: Oh,i just forgot to make the second thread output the number 2. Instea... (by viliml)
by devync
My blackjack game, needs some clarification.
 
Hello, there is a card example in the book that I have, that I want to morph into a black jack game ...
[3 replies] Last: (I was told on how to find the remainder is you take divide the Divid... (by shacktar)
Complete c++ Thread Library??
 
hi c++ guys, my question is....What is the best and illustrative, way of learning thread in c + +, w...
[4 replies] Last: ok Volalatile Pulse, I gonna learn SDL threads... I believe in you (by Nitros8891)
Difficulty of networking?
 
I know very little about networking, but in the recent months i have been developing an OpenGL & win...
[6 replies] Last: Any network library will do it. I've only ever used gamespy's network ... (by closed account o1vk4iN6)
rpg battle: class references
 
Passed on from beginner forum under recommendation of another user for the past week or two I've ...
[2 replies] Last: You should mark it as solved now (by viliml)
by cdf
reading a binary file of class with struct as member
 
I would like to read a binary file that has a number of class P objects, and one of the members is a...
[4 replies] Last: Ok, let's say the file uses this structure: 1st 4 bytes contain an in... (by Stewbond)
by vijkrr
how to create and travel in tree
 
Hi all, Assume I've two type of data types, 1. Simple 2. Complex struct Args { bool ...
[3 replies] Last: You mean you want to store references to user defined structs in an ar... (by Major Tom)
by Kovs95
Cola Machine
 
Hey! I was practicing my programming skills with some simple exercises because I am a beginner. When...
[2 replies] Last: Thanks a lot Soranz! Your suggestions were very helpful and now my pro... (by Kovs95)
August 2012 Pages: 1... 1819202122... 31
  Archived months: [jul2012] [sep2012]

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