General C++ Programming - December 2012 (Page 2)

object oriented
I have a textfile which includes some features of an object. Namely, its name, its size, its age and...
[1 reply] : (by Athar)
Havok Unresolved External Symbols
I am doing a project for an MSC games course for which we are using Havok and it is my job to integr...
[1 reply] : <nolyc> Undefined reference is a linker error. It's not a compile err... (by ne555)
Static Key, Value
Hi I need to one static small Key,Value table that I can search based on Key,for example in functio...
[1 reply] : You can use std::map. Or you can use a sorted std::vector of pairs "ke... (by vlad from moscow)
Need help: Three-Room Vacuum World
Simulate the three uninformed search strategies (Breadth-First Search, Uniform-Cost Search, Iterativ...
[no replies]
Jumble Word Game
I created a jumble word game, well I guess I should say I copied it from a tutorial in a book and th...
[3 replies] Last: Oh okay! This makes sense. This way the program does not lose any valu... (by Hambone)
by AntiVi
Need help with really basic stuff painting on mouse hover
Hello World! (see what i did there?) I have been trying to make a model for a game main screen. ...
[no replies]
Abusing dynamic memory
Don't people understand that all the really need are references to instantiate and create objects if...
[19 replies] Last: Still, you are not using a pointer. (by ne555)
srand(time(null)); error cannot convert time to int
[5 replies] Last: time_t works with no cast will this have any effect on the seed No... (by pogrady)
by Alx101
OpenGL GLSL compilation problem
Hello! I am currently experiencing errors while trying to compile a GLSL shader, the problem is that...
[5 replies] Last: I fixed it. The problem was that i FORGOT to add this line before link... (by Alx101)
hashing table
how we can implement hash table and resolve the collision by address chaining. display what is compl...
[1 reply] : > display what is complexity to add an object into table, search an o... (by ne555)
Wrong value returns when the "coder-defined" anti_char() is used.
Hi, I have coded a small code which only allows numbers (if i just wanted digits, i would use i...
[2 replies] Last: I have tried almost everything to solve this problem but not looking a... (by murdertrk)
by Ali93
Help Please-I don't know what's wrong
Hi guys I'm trying to solve a problem from website"UVa Online Judge" I sent my answer 4 times an...
[8 replies] Last: Well, if I edit my code to remove the endl both before and after the s... (by ajh32)
Basic help in programming with matrix
Hi Need some help about symetric matrix calculation. Need some generic formula to calculate ...
[8 replies] Last: Yes, I did, sorry I forgot to mention in the post edit: sorry I gave ... (by aktarjahan2003)
Recommend some books?? (1,2)
Hey, I'm new here and fairly new to programming :/ I want to invest in one or two C++ books, can an...
[20 replies] Last: I have learned (and still learning) with the C How to Program - Deitel... (by murdertrk)
Gram-Schmidt matrix factorization
Hello ! I'm very beginner in numerical methods... I have the pseudo-code (look at image), but I ...
[5 replies] Last: It's an exercise for my college. I must parallelize the sequential Gra... (by Giewont)
2 Console windows sharing vairables
I would like to somehow have 2 console windows, with the same global varabiles. I would like it to b...
[4 replies] Last: If you feel up to it, you could use a network socket. That way you cou... (by strongdrink)
Function to repeat command every few secs.
Hi All, I need your support, my project in details that i made 2 Pcs talk to each others i made i...
[1 reply] : You may include windows.h and use the function Sleep(unsigned milis... (by Imadatobanisa)
Proper variable declaration using ADTs??
I would like to know the proper way of declaring variables that are relative to a class (file) using...
[4 replies] Last: > a good read for the do's and dont's when working with ADTs AND class... (by JLBorges)
Classes Error How do i get this program to start
#include <iostream> #include <string> #include <math.h> #include <fstream> using namespa...
[4 replies] Last: It is not a pointer. It is reference to a class object. Changing it in... (by vlad from moscow)
Pointer Alignment
Most operating systems theses days return aligned pointers to dynamically allocated blocks of memory...
[7 replies] Last: Thanks, Cubbi & JLBorges :) Appreciated. Wazzak ... (by closed account zb0S216C)
December 2012 Pages: 1234... 43
  Archived months: [nov2012] [jan2013]

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