Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~16.4K People Reached
Favorite Tags
Member Avatar for MrEARTHSHAcKER

Hello everyone, I want to start implementing some of my mathematics knowledge into programming through AI. Back 3 months ago I had no idea what is AI, but then I took Machine Learning course on Coursera and finally realized how much maths is included in AI. However I wasn't able …

Member Avatar for jwenting
0
213
Member Avatar for MrEARTHSHAcKER

Hi guys, I haven't been on daniweb for a while, I've started learning scripting in UDK. But still I wish to make smaller games using native languages. So here goes my question: what is the best IDE for programming small games with nice UI? So far, for programming win apps …

Member Avatar for Doogledude123
1
181
Member Avatar for HLA91

Hi all I am a noob to C++ and I was getting some source code off the web and this is the second time it has happened, when I compile (Blood Shed Dev) I get a message in the compiler "permission denied" "Id returned 1 exit status" Can anybody help …

Member Avatar for graceville
0
3K
Member Avatar for MrEARTHSHAcKER

Hi people, I am making a little experiment to see something. I wished to inherit "string" class and add a function to child class. Function should take a char as parameter and return bool depending on is there such a character in our string or not. I have started off …

Member Avatar for deceptikon
0
116
Member Avatar for MrEARTHSHAcKER

Hi, Do you have any useful explanation of how to create a draggable window? What I wish to say is when you select your window will have no border ( considering that, it cannot be dragged around screen), how to make it draggable, for example by making a certain area …

Member Avatar for 7c00h
0
154
Member Avatar for MrEARTHSHAcKER

Hi, I need little help with using MediaPlayer from System tab in Borland Builder 6 for C++. Does anyone know what member function of MediaPlayer returns bool variable which tells us is music currently being played or not? I have seen solution for this problem where we use Timer which …

0
118
Member Avatar for MrEARTHSHAcKER

Hi, Is anyone familiar with this problem in BorlandBuilderC++: void Print(AnsiString Path){ Label1->Caption=Path.c_str(); } ... Print("C:\Directory1\Directory2\Music.mp3"); When I pass this string to Print(AnsiString) and try to display it in Label1, I lose all '' signs and text in Label1 looks like this : **"C:Directory1Directory2Music.mp3"** Why is this like that? Thank …

Member Avatar for MrEARTHSHAcKER
0
218
Member Avatar for MrEARTHSHAcKER

Hi, I have simple question: how do I make Windows Media Player in BorlandC++ ( an ActiveX component ) plays all songs from specified folder? Thanks.

0
128
Member Avatar for MrEARTHSHAcKER

Hi, There is short explanation of queue at cplusplus.com site which tells that queue should contain front() and back() functions. As I have tested in VC++, if I use queue from <queue> and call any of these functions for an empty queue, program crashes. Could this problem be solved by …

Member Avatar for MrEARTHSHAcKER
0
2K
Member Avatar for MrEARTHSHAcKER

Hi, Can you tell me how can I make my application recognizes when the user presses a button on keyboard? *For example*: presses 'S', application prints "Hello.". I need this information for BorlandC++, but it would be useful even though you provide the same for VC++ :) *(I am not …

Member Avatar for triumphost
0
328
Member Avatar for MrEARTHSHAcKER

Hi, I am learning queues and I have found 2 examples. Both examples represent queues with limited size, for example 30. But <queue> allows us to create queue that is not limited by ***pre-set** queue size. Can anyone explain me how have they created something like that? Thanks! ***By *pre-set* …

Member Avatar for MrEARTHSHAcKER
0
228
Member Avatar for MrEARTHSHAcKER

Hi, I have read this on IBM: > > An exception specification may only appear at the end of a function declarator of a function, pointer to function, reference to function, pointer to member function declaration, or pointer to member function definition. An exception specification cannot appear in a typedef …

Member Avatar for mike_2000_17
0
141
Member Avatar for MrEARTHSHAcKER

Hi, I have read something on IBM's site about exception specification and pointers to functions: void (*f)(); void (*g)(); void (*h)() throw (int); void i() { f = h; // h = g; This is an error. } IBM says: > The compiler allows the assignment f = h because …

Member Avatar for MrEARTHSHAcKER
0
193
Member Avatar for MrEARTHSHAcKER

Hi, I have been playing around with pointers and made a little mistake of this type: class D{ public: int a; }; int main() { D *x; //As you can see I didn't allocate memory at all... x->a=3; // ... but initialized a member variable cout<<x->a<<endl; return EXIT_SUCCESS; } I …

Member Avatar for JasonHippy
0
218
Member Avatar for MrEARTHSHAcKER

Hi, I've been searching around about DLLs and I can't get what they actually are. Why do we need .cpp, .h and .dll file and how do we link it using CodeBlocks? I used tutorials to create DLL files, and it was successful, they contained 2 functions, but linking is …

Member Avatar for thines01
0
110
Member Avatar for f4fjks

hey all! i created a keylogger of my own in visual c++ 2010, and included iostream, windows.h winUser.h the problem m facing is that it runs only when visual c++ is open. as soon as i try to close it, it pops a message to stop debugging and if i …

Member Avatar for f4fjks
0
943
Member Avatar for MrEARTHSHAcKER

Hi, I have recently finished first game in C++ which has huge code which will be fixed in future who knows how many times. It is really not practical to publish entire .exe launcher as fix, but I heard that it isn't case with DLL files. I could simply create …

Member Avatar for Ancient Dragon
0
165
Member Avatar for MrEARTHSHAcKER

Hi, I found the examples of explicit specialization, but I have a vagueness about code: using namespace std; template<class T = float, int i = 5> class A { public: A(); int value; }; template<> class A<> { public: A(); }; template<> class A<double, 10> { public: A(); }; template<class …

Member Avatar for MrEARTHSHAcKER
0
191
Member Avatar for MrEARTHSHAcKER

Hi, I have made some sorting function based on finding largest element and swapping its place with last element of array and then searching largest element of rest of array and putting it on one place before last one and so on. I am curious about is there a name …

Member Avatar for MrEARTHSHAcKER
0
324
Member Avatar for logicmonster

I am having a problem displaying random numbers, I'm trying to make a dice game where you play against the computer and the first one to 100 wins. However, my random number is never random, it always comes out as the same number. From what I understand to simply display …

Member Avatar for MrEARTHSHAcKER
0
858
Member Avatar for MrEARTHSHAcKER

Hi, When writing a little code for showing ASCII characters in C++ and C, the only difference is when I do it in C++ I print until char ( or integer ) reaches value of 127, and in C I print until it reaches 255. Why it's like that? Thanks!

Member Avatar for MrEARTHSHAcKER
0
173
Member Avatar for MrEARTHSHAcKER

Hi, I am learning templates so I have one question for this code: [CODE]template<typename T, int Number> class Data{ T Array[Number]; public: T& operator[](int); }; template <typename T,int Number> T& Data<T,Number>::operator[](int element){ return Array[element]; }[/CODE] I wish to create specialization for that class template, for any random data type, but …

Member Avatar for MrEARTHSHAcKER
0
913
Member Avatar for MrEARTHSHAcKER

Hi, I noticed many programmers accuse C++ as very hard language for GUI and very good language for the code. Is there any way to integrate 2 languages, C++ and any other language which is easy to make GUI with? Thanks.

Member Avatar for mike_2000_17
0
271
Member Avatar for MrEARTHSHAcKER

Hi, I need help about launching a web site in default browser using Borland ( button click = launch google.com, for example ). I found solution valid in DEV: [CODE]ShellExecute(NULL, "open", "http://google.net", NULL, NULL, SW_SHOWNORMAL);[/CODE] But it shows an error if used in Borland: [ICODE]Access violation at address 0A1826C8 in …

Member Avatar for MrEARTHSHAcKER
0
148
Member Avatar for MrEARTHSHAcKER

Hi, I have an app created in Borland Builder 6, on Win 7, but I tested it on Win XP, and font's size changed, some forms resized... This guy has explained the problem >> [url]http://www.tek-tips.com/viewthread.cfm?qid=1668509[/url] Anyone experienced with this?

0
45
Member Avatar for MrEARTHSHAcKER

Hi, Has anyone any clue why message boxes keep showing 2-3 times after clicking one of their button in Borland? Please answer, I need help. Thanks!

Member Avatar for MrEARTHSHAcKER
0
85
Member Avatar for MrEARTHSHAcKER

Hi, I need to create 39 images in Borland and set what will they do if you click on them. It'd be really long time to create all these using classic method ( adding images, and setting OnClick option ). But I figured out how to insert so many bitmaps: …

0
67
Member Avatar for MrEARTHSHAcKER

Hi, I am creating the game which has a lot of images which present buttons and their different "surfaces" which depend of cursor ( move over it, click, mouse up... ). It's really boring to add so many options, to make the button look like Vista-style, so is there any …

0
69
Member Avatar for MrEARTHSHAcKER

Hi, Is there any way to add specific location for images in Borland C++ Builder? For example, I have background image, but I want it to be in root folder, together with exe file (reason: I want to make it accessible for users, who has no access to the source …

0
59
Member Avatar for MrEARTHSHAcKER

Hi, I made code of several classes for game, not 3D nor 2D, it's like those on FaceBook where buttons are main. I'm curious, could code for that type of game be called Game Engine? Hmm... Thanks! :)

Member Avatar for MrEARTHSHAcKER
0
187