CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: dullboy

Page 1 of 60 1 2 3 4

Search: Search took 0.49 seconds.

  1. Replies
    0
    Views
    3,453

    Help with passing value

    Here is my code,



    #mycode.py
    import click
    import json

    def read_config(ctx, param, value):
    d = json.load(value)
  2. Re: Please help me understand this Python statement

    So randrange(2,5) acts like a selection condition in the example, right? How do you know loops = (randrange(2,5) for x in range(randrange(3,7))) is a generator? In general, how'd I know if a...
  3. Please help me understand this Python statement

    from random import randrange
    loops = (randrange(2,5) for x in range(randrange(3,7)))

    Basically I don't quite understand the returned values in loops well. What is the meaning of randrange(2,5)...
  4. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    Thanks for your recommendation and I will definitely take a look at it.
  5. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    I already purchased this book. I really recommend this book. It covers lots of deeper topics in Python, for instance, multiple threaded programming, database development, etc. I like this book most...
  6. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    I reviewed this book and think this is the book I am looking for. Thank you very much!
  7. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    I voted for the book "Core Python Applications Programming " recommended by Bestellen. But still thank so much for your recommendations!
  8. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    I have roughly one year experience in Python. I understand and use basic features in Python without any troubles. At this point, I am about to improve my understanding on some advanced features in...
  9. Replies
    14
    Views
    9,748

    Re: Please recommend a Python book

    Thank you very much for your recommendations! It would be really nice if any one comments on these books. I believe they are all good( I just briefly reviewed all of them) but obviously I can't buy...
  10. Replies
    14
    Views
    9,748

    Please recommend a Python book

    I need a Python book which mostly explains advanced topics in depth in Python. Any Python guru here please recommend an excellent Python book for me. Tons of thanks.
  11. Re: What could be the reasons that a C++ program runs slowly?

    I think memory and poorly written algorithm can cause slowness. But I just want to learn more issues that could cause slowness. Thanks for your inputs.
  12. Re: What could be the reasons that a C++ program runs slowly?

    Thanks so much for everyone's posts. I think memory could cause slowness of the program. If a program has a memory leak issue, then the memory becomes less and less. When it exceeds the physical...
  13. Re: What could be the reasons that a C++ program runs slowly?

    Memory is not an issue for slowness? If a program takes huge memory to run in a PC, it will cause the PC to run very slow, right? Also would you give an example that it spends a lot of time waiting...
  14. Re: What could be the reasons that a C++ program runs slowly?

    It means it takes longer than normal. I just want to find out in general what might cause slowness of a program. It could happen in several situations. For example, the same program runs much slower...
  15. What could be the reasons that a C++ program runs slowly?

    The reasons I can think of that include running out of memory, time-consuming algorithm. What are other reasons? I assume this is not just for windows environment but also any unix-like environments....
  16. Re: What is single-user mode/multiple-user mode of an application?

    Thanks for your reply! So I guess in order to write data, only one user can be allowed to do that. Then we can always rely on database, for example, sql server to achieve that. I can apply an...
  17. Re: What is single-user mode/multiple-user mode of an application?

    Here is what I am thinking. First of all, if we want to make an app a multi-user app, we should allow multiple users to "write" the same data simultaneously. Let's imagine two users are writing the...
  18. Re: What is single-user mode/multiple-user mode of an application?

    I got it. So the key is the same data can be accessed correctly by multiple users simultaneously. Here is an additional related question. How to "write" the same data by multiple users...
  19. Re: What is single-user mode/multiple-user mode of an application?

    Thanks for your inputs! I still don't quite understand it. If a multi-user app is defined as allows multiple simultaneous users, then a single-user app, for example, word also allows multiple...
  20. What is single-user mode/multiple-user mode of an application?

    If we talk about something like an application is single-user app or multi-user app. What does that really mean? Is there any guru here who can share some useful knowledge? Thanks for your inputs.
  21. A question regarding forward slash and back slash

    As we know in unix/linux, forward slash is always used for directory and in windows back slash is used for directory instead. On the other hand, I noticed that forward slash can be also used for...
  22. Replies
    5
    Views
    7,052

    Re: Help with a project under linux

    Thanks so much for your reply. Actually I tried to run configure under linux but I got some error messages. I copy the results after I run ./configure in my project folder in the following,

    ...
  23. Replies
    5
    Views
    7,052

    Re: Help with a project under linux

    I am using g++ under linux. Do you know how to compile the whole project I attached into an executable? Thanks for your inputs.
  24. Replies
    5
    Views
    7,052

    Help with a project under linux

    I am pretty new to linux. I don't know how to compile a project. I attach the project zip file. Does any guru here give me some hints how to compile it under linux? Thank you very much!
  25. Replies
    8
    Views
    1,696

    Re: A strange problem related to def file.

    Actually I did rebuild the dll but it failed. My class is defined in a MFC extension dll and is exported by using AFX_EXT_CLASS. Thanks.
Results 1 to 25 of 1480
Page 1 of 60 1 2 3 4





Click Here to Expand Forum to Full Width

Featured