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.1K People Reached
PC Specs
MS win 7
Favorite Tags
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
82
Member Avatar for sergent
Member Avatar for mikey1234

i want to download windows 3.1 it must be in .IMG format to dd to a usb card in linux for my pc. i want to run old software.

Member Avatar for thines01
0
72
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 iamthwee
0
235
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
189
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
968
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
119
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
222
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
280
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
54
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
56
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
132
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
140
Member Avatar for jeevsmyd

I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand …

Member Avatar for Ancient Dragon
0
157
Member Avatar for Rez11

I'm getting weird letters and numbers when the array is being shown. What is the problem? I've initialized array1 with 10,20,...etc. So shouldn't it cout those numbers? [CODE] #include <iostream> using namespace std; void reverseArray(int[], int); int main() {//start main const int size = 5; //constant size of array is …

Member Avatar for Fbody
0
125
Member Avatar for kazkikay12

Why doesn't the if else statement work? Please help... [ATTACH]16773[/ATTACH]

Member Avatar for Topi Ojala
0
73
Member Avatar for umesh314

Please help me....... I want to buy a book for C++... i want your suggestion for this..... i am confused... HELP.....

Member Avatar for umesh314
0
154
Member Avatar for Gait

Which is the best C++ IDE for windows that is free and where can i get it?I have tried downloading Code Blocks and Dev C++ but none of them works.

Member Avatar for hystaspes
0
143