Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~24.9K People Reached
Favorite Tags
Member Avatar for pato wlmc

Well, right now i'm following a tutorial on game making for c++, but is this really the best programming language for video games? Also i'd like to know if can recommend me a book ( i've seen some book on amazon but i don't really know wich one to choose …

Member Avatar for Reverend Jim
0
10K
Member Avatar for Covinus

greetings just started with C/C++. Im not quite comfortable porting from java to c/c++. Pointers are quite hard at start. So pls help me with this problem I want to copy the exact data of a certain pointer to an array of struct. Not just point a pointer from another. …

Member Avatar for Tuyen
0
5K
Member Avatar for GameGuy

Hello everyone, I'm new and I have next to no experience with c++ and I wish to learn. So, these questions may seem ridiculous, and they probably are but, please answer. What is a game engine and how to make one (in a nutshell)? How long, if I have no …

Member Avatar for 0x69
0
208
Member Avatar for LevyDee

I got the whole static binding and dynamic binding on runtime if a function is declared virtual in the base class, but if you do something like this... [code] class base { public: void print() { cout << "base" << endl; } }; class derived : public base { public: …

Member Avatar for AkashL
0
107
Member Avatar for BLKelsey

Hi fellas, This week in class (2nd week), we are learning about classes. Our professor has asked us just to complete one simple class with separate files. My problem is when I go to compile, I get errors stating my variables aren't "declared in this scope." As far as I …

Member Avatar for Agni
0
4K
Member Avatar for Kesarion

How would I draw something on the screen ? not the console window but the entire screen, preferably with the console minimised. Also, would it show up on a printscreen ? It better not :P What I want to do is create something like a layer on top of the …

Member Avatar for Kesarion
0
111
Member Avatar for Fernidad13

Hey everybody i need help for a project im doin.I need to find out how people use math in the making of video games.What kind of math do they use and how??? Can u guys PLEASE HELP ME?!?!?!

Member Avatar for digital29
0
581
Member Avatar for abhi74k

[CODE=c++] class A { int num; public: A() {} A(int _num) : num(_num) {} A operator + (const A & ob) { return (num+ ob.num); } }; int main() { A ob1(1); A ob2(2); A ob3(3); A ob4=ob1+ob2+ob3; } My doubt is in ob1+ob2+ob3 . First ob1+ob2 is evaluated and …

Member Avatar for Aranarth
0
143
Member Avatar for new2programming

I am making a jump and run game- i want my sprites to collect items that are worth points. I want these items to be randomly generated on my tile map. Does anyone know how i can do this? I am using Visual C++ with SDL

Member Avatar for Aranarth
0
91
Member Avatar for iamcreasy

I am new new in OOP stuff.I have read the Herbert Schildt's C++ reference.But it just gave me the idea, about how it work.Not how to make it work. I am read few chapters from "Object-Oriented Programming in C++ by Robert Lafore"(old edition featuring UML 1, i guess).But it was …

Member Avatar for avarionist
0
155
Member Avatar for leesho

[CODE]#include<iostream.h> #include<iomanip.h> using namespace std; float number1, number2, number3; void readThreeNumbers(number1, number2, number3); void sortThreeNumbers(number1, number2, number3); void displayNumbers(number1, number2, number3); int main () { readThreeNumbers(number1, number2, number3); sortThreeNumbers(number1, number2, number3); displayNumbers(number1, number2, number3); } void readThreeNumbers(number1, number2, number3) { cout << "Please enter three floating-point numbers, space between them: …

Member Avatar for leesho
0
179
Member Avatar for dimios

Hello there, I am trying to figure out the advantages of C++ STL containers over C. Correct me if I am wrong. a)in C++ containers classes are standardized. C doesn't have any standardized libraries for data structures beyond the native array type. b)each of these containers in C++ has member …

Member Avatar for NathanOliver
0
208
Member Avatar for waleed-707

Hi all, I declared a vector of pointers in a header file named "bug.h" [CODE]#ifndef BUG_H #define BUG_H #include <vector> #include "board.h" #include "prey.h" class Bug: public Prey{ public: Bug(Board& boa); Bug(int x,int y,Board& boa); void breed(Board& boa); int getx(); int gety(); }; typedef Bug* Bugpt; std::vector <Bugpt> Bugarr(6); void …

Member Avatar for waleed-707
0
4K
Member Avatar for Ariste

Hey there, DaniWeb! I'm Matt, a student at the University of Michigan (Go Blue) majoring in business and computer science. My friends would tell you I'm obsessed with programming. They're lying... but not really. I post pretty regularly over at GameDev, under the same username, and I've recently started up …

Member Avatar for maceman
0
53
Member Avatar for leesho

[CODE]#include<iostream.h> //is used so it will display output to the user and that input can be read from the keyboard #include<iomanip.h> //is used so that the user can format input using namespace std; int main() { int qty1; cout << "Please enter the quantity of Televisions: "<<endl; cin >> qty1; …

Member Avatar for leesho
0
137
Member Avatar for gcardonav

Hi guys: I wrote this simple code to read a series of numbers from a list and then do some simple aremathic with it. I am not certain where the error could be, I read the code upside down and still can understand where the error lies. Any help would …

Member Avatar for gcardonav
0
134
Member Avatar for red999

This is a silly question. I have been working with pointers for almost two quarters and this question never occurred to me until today when I wrote up some code and my IDE screamed at me about it. Oddly enough, 99% of the time I get it right so this …

Member Avatar for Ariste
0
98