User Profile

Collapse

Profile Sidebar

Collapse
buchtak
buchtak
Last Activity: Dec 1 '10, 04:24 PM
Joined: Mar 4 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ping works and tracert as well, so my ISP is not blocking anything (probably). Maybe it could somehow block the ip and port combination, but I don't know how to verify it. The tracert output at home and at college are the same except for the few routers at the beginning....
    See more | Go to post

    Leave a comment:


  • connect to internet via another PC hiding the real IP

    Hi,

    I have following problem: I play online games (Q3A), but I cannot connect to one particular server from my home PC. Disabling firewalls, antiviruses, etc. did not work, and the problem is present even on other two PCs at home which all share the same public IP (all are behind ADSL modem/router which has static public IP). Checking the game log doesn't help at all, IP is not banned, the server for some reason just doesn't respond....
    See more | Go to post

  • buchtak
    replied to Templates conditional type
    in C
    No, it is not, because in my case, compiler deduces the type T from another object, which is determined only by single type T. For instance, I have std::vector<sho rt int> input_array and I want to create struct input_character istics, which will contain input_array sum of squares, average value etc., all of which should have types based on T (but are different). Passing two template arguments would allow me/user to define meaningless definitions...
    See more | Go to post

    Leave a comment:


  • buchtak
    started a topic Templates conditional type
    in C

    Templates conditional type

    Hi,

    can I define type of a variable based on some other type using templates? For example I have

    template <typename T> struct A { T t; U x; };

    and I want to define U, such that if T is char, then U will be int, if T is float, then U will be double etc. Is this possible via templates, or do I have to declare something like

    struct A_char { char t; int x; };
    struct A_float...
    See more | Go to post
No activity results to display
Show More
Working...