Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~34.7K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

19 Posted Topics

Member Avatar for hystaspes

Hi there, My question is about 2^(2n) = O(2^n) ; is it true or false? and we know that: [B]f(n) = O(g(n))[/B] if positive integers [B]c[/B] and [B]n0[/B] exist such that for every [B]n >= n0[/B] : [B]f(n) <= c*g(n)[/B] Based on the definition, I'm thinking the above statement is …

Member Avatar for Rashakil Fol
0
31K
Member Avatar for hystaspes

I'm studying Sipser's book [B]Introduction to the Theory of Computation[/B]. In [B]Time Complexity[/B] chapter the following NTM is given as a solution to HAMPATH problem (Hamiltonian Path [URL="http://en.wikipedia.org/wiki/Hamiltonian_path"]http://en.wikipedia.org/wiki/Hamiltonian_path[/URL]): -------- N = On input <G,s,t> where G is a directed graph with nodes [B]s[/B] (starting node) and [B]t[/B] (destination node): 1. …

0
89
Member Avatar for sergent

OS: Windows 7 IDE: Visual Studio 2010 Ultimate (free MSDNAA license) using it for C++ and C#

Member Avatar for hystaspes
0
342
Member Avatar for mikey1234

I think it is still illegal to download Windows 3.1 for free and I doubt anyone still sells something that old. so, in my opinion, best thing to do is to contact Microsoft. May be somehow you can buy it directly from Microsoft, it shouldn't be expensive!

Member Avatar for thines01
0
77
Member Avatar for hystaspes

Hey there Geeks! Sorry if I'm posting this in the wrong place, it is about a .cpp file but it isn't about C++, it's about the text file. I was doing my graphics programming assignment with directx and it was somewhere around 80% done and suddenly I made a wrong …

Member Avatar for Member #46692
0
243
Member Avatar for hystaspes

Sorry if I'm posting this in the wrong place, it is about a .cpp file but it isn't about C++, it's about the text file. I was doing my graphics programming assignment with directx and it was somewhere around 80% done and suddenly I made a wrong turn with a …

Member Avatar for ravenous
0
198
Member Avatar for hystaspes

[CODE] #ifndef HYS_MAIN_HEADER_H #define HYS_MAIN_HEADER_H #include <windows.h> #include <windowsx.h> #ifndef HYS_GLOBAL_VARIABLES #define HYS_GLOBAL_VARIABLES namespace hys { const short Null = 0; const bool True = 1; const bool False = 0; }; #endif // HYS_GLOBAL_VARIABLES #endif // HYS_MAIN_HEADER_H [/CODE] I want to avoid using macros as much as possible (C++ …

Member Avatar for hystaspes
0
992
Member Avatar for hystaspes

Is there any drawbacks for using "this" pointer? For example: [CODE] Window_Properties::Window_Properties(wchar_t* wnd_title, wchar_t* wnd_class_name): window_width(1280), window_height(720), window_X(0), window_Y(0) { this->window_title = new wchar_t[ wcslen( wnd_title ) ]; if( this->window_title ) { wcscpy( this->window_title, wnd_title ); } this->window_class_name = new wchar_t[ wcslen( wnd_class_name ) ]; if( this->window_class_name ) { wcscpy( …

Member Avatar for hystaspes
0
131
Member Avatar for hystaspes

This code is from MSDN ([url]http://msdn.microsoft.com/en-us/library/6t4fe76c(v=VS.80).aspx[/url]). [CODE] #include <string.h> class String { public: String( char *ch ); // Declare constructor ~String(); // and destructor. private: char *_text; size_t sizeOfText; }; // Define the constructor. String::String( char *ch ) { sizeOfText = strlen( ch ) + 1; // Dynamically allocate the …

Member Avatar for hystaspes
0
233
Member Avatar for hystaspes

What is the use of declarators in struct's definition? and what is a "tag declarator"? example from MSDN: [CODE] [template-spec] struct [ms-decl-spec] [tag [: base-list ]] { member-list } [declarators]; [struct] tag declarators; [/CODE]

Member Avatar for hystaspes
0
288
Member Avatar for hystaspes

Is an interface also a software? for example, DirectX and OpenGL, are they categorized as software?

Member Avatar for Momerath
0
57
Member Avatar for hystaspes

hey guys, when i create and place object "A" for example at (0.0, 0.0, 0.0) and "B" at (0.0, 0.0, -10.0) the second object (B) "appears" to be in front of the first object (A) when the camera is at (0.0,0.0,+50.0) looking at -Z which is wrong because A is …

Member Avatar for hystaspes
0
59
Member Avatar for hystaspes

Has anyone tried (or heard about) this website's tutorials? I want a good tutorial on openGL for my computer graphics subject's project. Does it really worth 70$?! there is a demo available here: [url]http://www.gametutorials.com/gtstore/Download/Demos/GT_Demo.zip[/url]

Member Avatar for hystaspes
0
140
Member Avatar for hystaspes

Hi guys:) I just wanted to say that I'm really happy that I found daniweb! Truly a "friendly" online IT community just like "happygeek" said! I am tried of self-titled "experts" (trolls!) in programming forums act like they own the forum and [I]]no one with less experience[/I] should ask his …

Member Avatar for ﻼim
0
144
Member Avatar for jeevsmyd

This link will help you: [url]http://www2.research.att.com/~bs/bs_faq2.html[/url] Read the answer to " Can I write "void main()"? " question. In short words: 1. "[void main()] is not and never has been C++, nor has it even been C." 2. returning "0" means "successful execution" 3. "Even if your compiler accepts "void …

Member Avatar for Ancient Dragon
0
173
Member Avatar for Rez11

This is one way to do it. Just compare it to your code you will find the parts that I have changed. [code] #include <iostream> using namespace std; void reverseArray(int[], int); void displayArray(int[], int); void pause(); int main() { // const int size = 10; // int array1[size] = {10,20,30,40,50,60,70,80,90,100}; …

Member Avatar for Fbody
0
141
Member Avatar for kazkikay12
Member Avatar for umesh314

I add "Problem Solving with C++" by Walter Savitch to the books that "vijayan121" mentioned. It is the first book on C++ that I used (when I didnt know ANYTHING about the language). Stroustrup's book is better if you have enough time to read it from the beginning to the …

Member Avatar for umesh314
0
163
Member Avatar for Gait

Bjarne Stroustrup recommends and uses Microsoft VC++ Express in his book "Programming: Principles and Practice Using C++" There must be a very good reason that the creator of the language himself didn't choose mingw as the compiler for this book. You can download MS-VC++ for free from here: [url]http://www.microsoft.com/express/Downloads/#2010-Visual-CPP[/url] or …

Member Avatar for hystaspes
0
154

The End.