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

Search:

Type: Posts; User: wutang001

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,566

    Re: Regarding Loops

    Thanks, but I ment that I don't know how to actually get benchmarks. Do I use Visual Studio? Also, what would be the most effecient way of making 1000 copies of an object without using a loop ? (So I...
  2. Replies
    4
    Views
    1,566

    Re: Regarding Loops

    I am not sure how I should test this lol.
  3. Replies
    4
    Views
    1,566

    Regarding Loops

    Hi everyone

    I am writing a MMORPG server (just the server) and I am starting to focus on the "lightweight-ness" and effeciency of it.

    I am going to give an extremely short version of my...
  4. Replies
    1
    Views
    1,440

    Re: TcpClient disposing

    Bump!
  5. Replies
    1
    Views
    1,440

    TcpClient disposing

    Hi.
    I'm making a server/client project where a client can connect to my server and be able to chat and stuff.

    I seem to be having trouble with something that confuses me. If I connect my client...
  6. Replies
    7
    Views
    1,101

    Re: [Help] With

    Thanks! Do I still declare Users as a new list in the Group function?
  7. Replies
    7
    Views
    1,101

    Re: [Help] With

    Ok, I will clear everything up now.

    I have a TCP server that allows clients to connect and chat. I want a user (Specified in the User.cs Class) to create a group, then be able to invite other...
  8. Replies
    7
    Views
    1,101

    Re: [Help] With

    Thanks for your help. The party.mUsers.Count(); was a type, it's supposed to be group.Users.Count();. I do take the other parts into consideration, like you said, checking to see if the user is...
  9. Replies
    7
    Views
    1,101

    Re: [Help] With

    Sorry to be a spoonfeeder but how do I prevent that from happening?
  10. Replies
    7
    Views
    1,101

    [Help] With

    Hi
    to briefly explain what I'm trying to do, is the following:
    1 user creates a group, and the 2nd joins the specified group.

    My problem is that the Count is off, I'm doing something wrong...
  11. Replies
    2
    Views
    2,578

    Re: Comparing Time in C# and MySQL

    Thank you! I ended up comparing DateTime.Now and the date from the database (+24 hours)
  12. Replies
    2
    Views
    2,578

    Comparing Time in C# and MySQL

    Hello everyone
    I'm writing something for fun using both C# and MySQL.

    To make things short I want to check if a certain user registered more than 24 hours ago.

    I have made a collumn in my...
  13. Replies
    2
    Views
    534

    Re: Finding certain tables in MySQL

    Thank you!!
  14. Replies
    2
    Views
    534

    Finding certain tables in MySQL

    hello everyone.

    I am trying to create a function by finding a "Characters" ID using a string.

    So here is the basic concept, the user enters the name of the Character (a string), and the...
  15. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    Thanks! that worked just fine!
  16. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    29622

    Here you go, I really appreciate the help.
  17. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    This is the sample

    http://www.sendspace.com/file/h38g1i
  18. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    This is what I got right now.
  19. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    I'm sorry I dont understand what you mean.

    What do I have to do here?
  20. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    Excuse me while I am very new to C#.

    This is what I've done;


    Timer t = new Timer(ComputeBoundOp, 5, 0, 2000);
    //Console.WriteLine("Main thread: Doing other work...
  21. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    I appreciate the help but this still uses Thread.Sleep. I've already googled many times without any result. The timers I was talking about are the ones you import from System.Timers;
  22. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    Thank you for the help so far but wouldn't threading a single thread be really uneffecient instead of using a timer function? That's what I need help with, I don't understand how to use timers. for...
  23. Replies
    18
    Views
    4,460

    Re: Different option for Thread.Sleep?

    Sorry, BackGroundWorker is for forms, correct me if I'm wrong. I'm using Console, is there a way to do it that way?
  24. Replies
    18
    Views
    4,460

    Different option for Thread.Sleep?

    Well here is my situation. One of my functions has to wait 3 seconds before switching to the next piece of code;


    foreach (int restart in md.Restart) {
    Data.Restart(true);
    ...
  25. Replies
    6
    Views
    1,116

    Re: Changing GUI to Console

    Thank you! will try tommorow!
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured