Search:

Type: Posts; User: Newbeee

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,337

    Try making x,y,z to be integers instead of...

    Try making x,y,z to be integers instead of double. I'm totaly guessing, because I'm really tired =(. However, it might work, because you're having implicit casting.
  2. Replies
    5
    Views
    3,053

    That's correct.

    That's correct.
  3. Replies
    5
    Views
    3,053

    The good thing about properties is that you can...

    The good thing about properties is that you can do additional processing of values that users store or retrieve. For example, say you have a property called Age. If you would make Age a public...
  4. Replies
    7
    Views
    1,138

    Yes!!!! Works perfectly. Thank you guys very...

    Yes!!!! Works perfectly. Thank you guys very much! So basically, compiler includes all the files my application uses into the executable? Thanks again.
  5. Replies
    7
    Views
    1,138

    How would I do that? And also, how can I compile...

    How would I do that? And also, how can I compile file as .c in VS 2005?
  6. Replies
    7
    Views
    1,138

    Ok, I've been trying to figure this thing out,...

    Ok, I've been trying to figure this thing out, but still don't have any clue. Maybe because I have .NET framework 2.0 installed on my computer and not on the others plays role? However, I'm only...
  7. Replies
    3
    Views
    885

    If you want to use Windows API, then Charles...

    If you want to use Windows API, then Charles Petzold's "Programming Windows" is the best way to go. Online tutorials do not give you enough information. If you want to reach your full potential, you...
  8. Replies
    1
    Views
    2,036

    What is ScrollWindow() ?

    There is this function called ScrollWindow(), which supposed to scroll the contents of the window. Well, atleast that's what documentation says. However, when I use it, it doesn't work how I would...
  9. Thread: I wonder why

    by Newbeee
    Replies
    6
    Views
    1,481

    Thank you for the link. But why the rest of the...

    Thank you for the link. But why the rest of the variables are not declared as static?
  10. Thread: I wonder why

    by Newbeee
    Replies
    6
    Views
    1,481

    I don't quite follow your explanation. Isn't...

    I don't quite follow your explanation. Isn't static has only one meaning, that is, making a variable exist after the function is terminated?
  11. Thread: I wonder why

    by Newbeee
    Replies
    6
    Views
    1,481

    I wonder why

    Can someone explain me one thing, why do you put static variables in the main function of the program. For example, in Petzold's "Programming Windows", he has

    WinMain(...) {
    static TCHAR...
  12. Replies
    30
    Views
    4,030

    Well, putting C in front of the class is just the...

    Well, putting C in front of the class is just the convention. Like dpro said, it helps to know if it is a class, a function, or just a variable. Also, putting m_ in front of the variable means that...
  13. Replies
    7
    Views
    1,138

    I'm using Visual Studio 2005 and have Windows XP...

    I'm using Visual Studio 2005 and have Windows XP on both computers.
  14. Replies
    7
    Views
    1,138

    A little problem

    Hi guys, I have a little problem! I want to run the program that I made, on the different PC. In my project directory I have an executable that works perfectly on my computer. But when I try to run...
  15. Replies
    30
    Views
    4,030

    Well, is it proven that .NET is lacking speed...

    Well, is it proven that .NET is lacking speed compared to the rest? I would like to see such article.
  16. Replies
    30
    Views
    4,030

    Well, isn't Vista's API would be the extended...

    Well, isn't Vista's API would be the extended version of Windows Forms? Officials say that it will be the only way to access full features of the new platform. Besides, because it is part of .NET...
  17. Replies
    30
    Views
    4,030

    Well, I've done a little research and got more...

    Well, I've done a little research and got more familiar with windows API. After a while, it does not seem so awful to me anymore. This is my opinion, I think that .NET is the future and Windows Forms...
  18. Replies
    30
    Views
    4,030

    Oh, man. I was hoping that there is only one...

    Oh, man. I was hoping that there is only one answer to my problem. The truth is, even though there are about 60 lines of code to create the Application in API, there are so many variables and Data...
  19. Replies
    30
    Views
    4,030

    Beginning Windows Programming

    I'm just beginning to program windows applications with Windows API, which is pretty hard, because there is a LOT of code. Anyways, my question is - is there a difference between using MFC and...
  20. Thread: Why learn C#?

    by Newbeee
    Replies
    37
    Views
    17,395

    Well, I wouldn't consider Garbage Collection to...

    Well, I wouldn't consider Garbage Collection to be a difference, because managed C++ (C++/CLI) has it. So from what I understand, C# is good if you want to create windows applications. But if you...
  21. Thread: Why learn C#?

    by Newbeee
    Replies
    37
    Views
    17,395

    Why learn C#?

    Can anybody please explain why is C# better than C++. What can C# offer that C++ can't. Is C# the future of windows programming? I've tried to search the web, but all I got was syntax differences and...
  22. You didnt really give enough info. What the...

    You didnt really give enough info. What the chapter is about? Is there any code? From what I know, "interface" of the class is the declarations of its members. Basically, interface tells what your...
  23. Replies
    15
    Views
    1,863

    I tried to do simple template function inside the...

    I tried to do simple template function inside the class and everything worked out. Hope this helps:

    #include <iostream>

    using namespace std;

    class myClass {
    public:
    template<typename T>...
  24. Replies
    9
    Views
    1,511

    Yeah, that's how i mistaken it, because it was...

    Yeah, that's how i mistaken it, because it was all in one line. But that's a great example to demonstrate polymorphism!
  25. Replies
    9
    Views
    1,511

    I understand you Magos, thanks for an example....

    I understand you Magos, thanks for an example. One qustion though, you declare BinaryTree with 3 arguments instead of two. Is it your mistake or I just didn't get it. OH, nevermind you did it right ...
Results 1 to 25 of 30
Page 1 of 2 1 2