Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~15.2K People Reached
About Me

Currently applying for jobs

Interests
Non-computing: Beer, Psychology, getting out-and-about. Computing: C++, Image Processing, Computer Vision,…
Favorite Forums
Favorite Tags
c++ x 23
Member Avatar for tomtetlaw

Ancient Dragon: I think he's talking about a 3d game of the first person shooter game type. tomtetlaw: If you have the gun rendering already, simply align the model with the direction of the camera, slightly offset the position of it and you should be away. Best of luck! Adam

Member Avatar for _adam_
0
173
Member Avatar for Soleng

From the Design Patterns book (Gamma, Helm, Johnson, Vlissides):[quote][b]SINGLETON[/b] ------------------- [b]Intent[/b] Ensure a class has only one instance, and provide a global point of access to it.[/quote] As a singleton is globally unique, I assume that what you require would simply be an instance of your object inside the thread …

Member Avatar for _adam_
0
506
Member Avatar for serkan sendur

You should change the array definition to this: [b]int a[3];[/b] ...and the allocation to this: [b]a[0] = 1[/b] [b]a[1] = 2[/b] [b]a[2] = 3[/b] If you require dynamically sized arrays you should read into dynamic memory allocation with C++. Regards, Adam [i]Edit: or use a std::vector[/i]

Member Avatar for serkan sendur
0
12K
Member Avatar for daviddoria

In probability.cpp try changing the following [icode]double f(const double x) [/icode] to [icode]double Mass1::f(const double x) [/icode]. Adam

Member Avatar for _adam_
0
1K
Member Avatar for Ronen444

[QUOTE=Ronen444;788366]I've downloadws today the IronPython. One thing i've noticed that if you type, for example, 5+6 it calculates it..! So, i tried to do that with my App too, without success...[/QUOTE] You should be able to get this going with std::cin. Here's a quick example: [code]#include <iostream> int main() { …

Member Avatar for _adam_
0
80
Member Avatar for mattwaab

Hey, What it looks like is probably happening is that you are overwriting previously set mines. For example, You set a mine (to true) on the first iteration of your outer while loop at (2, 2). However, at the end of this first iteration you have not placed enough mines. …

Member Avatar for mattwaab
2
252
Member Avatar for monere

As I'm guessing you've not got the headers for the video driver dll's or some kind of SDK for your video device.... If you have the device running with a driver already you should be looking at the following: 1. DirectShow SDK -- Old but still useful for accessing video …

Member Avatar for _adam_
0
85
Member Avatar for arun_lisieux

The problem occurrs first on about line 31. (Then a few more times later) What's happening here is you are erasing the iterator [b]it[/b]. This makes [b]it[/b] invalid! Following this your for loop attempts to call the incremental operator '++', however, now the iterator is invalid, the operation will fail, …

Member Avatar for arun_lisieux
0
283