Search:

Type: Posts; User: foxman

Page 1 of 17 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    8,829

    Every files are "binary files". Text files are...

    Every files are "binary files". Text files are just a special case of binary files, where all the content are characters in some character encoding.

    Also, if you are looking for a "simple" way to...
  2. Replies
    7
    Views
    3,608

    Here's two way to save your primary partition...

    Here's two way to save your primary partition table :

    with dd - save the whole MBR (simpler than just saving the partitions descriptors) with a command like "dd if=/dev/sda of=mbr.bin bs=512...
  3. Thread: C network newb

    by foxman
    Replies
    5
    Views
    2,763

    I might have talked too soon. Actually, it looks...

    I might have talked too soon. Actually, it looks like compilers doesn't support the kind of padding I was talking.

    Anyway. In your case, you would be better with an union instead of a struct....
  4. Replies
    4
    Views
    1,633

    No. if (R == 255 && G == 255 && B == 255) {...

    No.


    if (R == 255 && G == 255 && B == 255)
    {
    }
  5. Thread: C network newb

    by foxman
    Replies
    5
    Views
    2,763

    It's fine, the sendto function doesn't care about...

    It's fine, the sendto function doesn't care about what you are sending, if it has been unitialized or not, as long as it can be read (i.e. the memory belongs to your process).

    But I wouldn't...
  6. Replies
    1
    Views
    3,193

    Well, you create a socket for each interface...

    Well, you create a socket for each interface (i.e. you bind each socket to a different interface).

    I don't know if there's other way to do it in Winsock.
  7. Replies
    8
    Views
    14,968

    Well, this guy...

    Well, this guy has 4 air-cooled GTX295 in his system and he says heat is under control. :D Must say, he's not running his system in a case. He have that much GPU power because he's building an...
  8. Replies
    8
    Views
    14,968

    That's a nice setup you have there, but isn't the...

    That's a nice setup you have there, but isn't the PSU too overkill for the (current) application ?

    As for the motherboard not supporting the CPU by default, I find it quite "normal" on...
  9. Replies
    2
    Views
    2,017

    Well, I don't know me neither. :) Guess you...

    Well, I don't know me neither. :)

    Guess you should try with a debugger. And personally, I find it a bit weird to develop on Windows 7, but that's just a personal opinion, have nothing against it.
  10. Replies
    13
    Views
    9,448

    I'll add, for more info on Visual Studio, go look...

    I'll add, for more info on Visual Studio, go look on MSDN: http://msdn.microsoft.com/en-ca/library/52f3sw5c.aspx.

    You'll find all the answer to your questions there.
  11. Replies
    5
    Views
    2,256

    Well, if data is an array, to access the ith...

    Well, if data is an array, to access the ith element of it, you just need to use "data[i - 1]". But then, that's pretty basic.

    I don't know what you are trying to do, but you look a bit lost. You...
  12. Replies
    2
    Views
    10,270

    Also, as far as I can see, your loop condition is...

    Also, as far as I can see, your loop condition is constant, so you'll either have an infinite loop (if you don't have any return statement in it like you currently do) or you'll never enter your...
  13. Replies
    11
    Views
    2,068

    I would also add that there might (read,...

    I would also add that there might (read, certainly) be more important things to consider if your goal is to use the minimum of CPU ressource. Also, don't try to create problems where there's not. Do...
  14. If the connection is refused it might be because...

    If the connection is refused it might be because the host doesn't allow connection on port 80.
    Did you tried to connect normally to the site ?

    Do some search on the web and you'll find answers to...
  15. Replies
    11
    Views
    9,559

    One way to make your source code portable is to...

    One way to make your source code portable is to use only portable construct. Especially when the non-portable functions you are using aren't adding value to your application, i.e. when you can afford...
  16. I believe that most users would find the plethora...

    I believe that most users would find the plethora of options in dd-wrt rather intimidating. But yeah, I could have tried to sell it that way, if I knew I was going to brick it...

    As for how to...
  17. While trying to restore the original firmware of...

    While trying to restore the original firmware of my WRT54G (v5), it actually got bricked. I was doing this so I could sell it... guess it won't happen any time soon. :)

    I did follow the procedure...
  18. Thread: system()

    by foxman
    Replies
    14
    Views
    3,118

    I don't know which environnement (C runtime) you...

    I don't know which environnement (C runtime) you are using, but look for the documentation on the system function call. Then, check the return value of the system call. Because I don't see why your...
  19. Replies
    5
    Views
    1,211

    You can't. At least, not with a console...

    You can't. At least, not with a console application.

    You could ask your user if the information he entered is correct before processing.
  20. Replies
    4
    Views
    1,396

    This should go in the Windows section. Here's...

    This should go in the Windows section.

    Here's what you are looking for if you want to do it with the Win32 API: http://msdn.microsoft.com/en-us/library/bb762159(VS.85).aspx

    If you don't have a...
  21. Thread: Small laptop

    by foxman
    Replies
    120
    Views
    9,975

    I heard some good things about the Samsung NC10....

    I heard some good things about the Samsung NC10.
    http://www.bit-tech.net/hardware/2008/11/26/samsung-nc10/1
  22. Replies
    76
    Views
    31,851

    :) Right.

    :)

    Right.
  23. Replies
    76
    Views
    31,851

    Here's my entry. It follows the contest rules....

    Here's my entry. It follows the contest rules. I'm targeting the best user-time possible.

    Oh man, what a waste of time.
  24. Replies
    6
    Views
    3,534

    By "primary" he means primary partition vs...

    By "primary" he means primary partition vs extended partition. If your hard disk have a IBM-compatible MBR, you can only have 4 primary partitions. If you want more than 4 primary partitions, you...
  25. Replies
    76
    Views
    31,851

    Depending on exactly which CPU he has, SSE3 might...

    Depending on exactly which CPU he has, SSE3 might not even be available (SSE4 was introduced in Penryn, so we can forget about it, but I don't think it would have been useful anyway).

    abachler,...
Results 1 to 25 of 408
Page 1 of 17 1 2 3 4