
Pshyotic
Members-
Content Count
235 -
Last visited
Content Type
Profiles
Forums
Calendar
Gallery
Blogs
Store
Articles
Downloads
Classifieds
Everything posted by Pshyotic
-
You probably did not give a good description... But both of us want same, so yeah... Good luck to us hahaha... and yeah wanted to say thanks to other that support my idea :)
-
Thanks. Now we just should be patient and wait for administrators decision. And yeah nice from you :10:
-
Hello everyone, It's a lot of section and there is also section for programming but I wanted to know can we start a new thread for tutorials in programming, that will be good for this forum and I mean why not ? I think a lot of programmers are in search for good forum where they can ask for solution or explanation for something... I would first post a new thread about C++ programming languange and basics about that and one of god stuff's is that, that everyone could "add" his comment and mybe his suggestion and explanation of something...
-
Thanks a lot man <3 nice share
-
Need explanation about some things in C++
Pshyotic replied to Pshyotic's topic in Programming discussions
Okay, I think I'll wait for example code, but what I get is this that inline function and recursion is good for dynamic programming... And hell so I think that the rest of my life will be reduced to dynamic programming, since it comes down to what is known as "divide and rule", yet there are many functions, classes and objects ... -
Hello everbody, I first want to say that I couldn't find the corresponding section of the forum to post and ask things about programming, so I hope here will be okay and I think that this forum should have section for this purpose. So, I really don't get mean of inline function in C++ , .. Here is one of the codes for this: 1: // Listing 5.9 - demonstrates inline functions 2: 3: #include 4: 5: inline int Double(int); 6: 7: int main() 8: { 9: int target; 10: 11: cout << "Enter a number to work with: "; 12: cin >> target; 13: cout << "\n"; 14: 15: target = Double(target); 16: cout << "Target: " << target << endl; 17: 18: target = Double(target); 19: cout << "Target: " << target << endl; 20: 21: 22: target = Double(target); 23: cout << "Target: " << target << endl; 24: return 0; 25: } 26: 27: int Double(int target) 28: { 29: return 2*target; 30: } I do not understand the purpose of using the inline function, even if some function is not declared inline function, the compiler will perform the same as the code where the inline function is, respectively, both will do the same. And after this question, I have question about recursion, I get it how storage works and purpose of recursion, but if anyone have some code and explanation of that code is not too complicated I would like to write to me here or in messages. Thanks :)
-
Let's see :D
-
Let's try it, btw. Thanks a lot fr sharing <3 I really appriciate it