Search:

Type: Posts; User: Brian

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    34
    Views
    4,527

    Only in US English.

    Only in US English.
  2. Replies
    31
    Views
    2,714

    also I hope Gordon calls an election and then...

    also I hope Gordon calls an election and then wins. I ........ing hate David Cameron
  3. Replies
    31
    Views
    2,714

    Also in England tosser is just about equivalent...

    Also in England tosser is just about equivalent to calling someone an a-hole
  4. Replies
    31
    Views
    2,714

    yeah it must be fun to vote a congress in to end...

    yeah it must be fun to vote a congress in to end the war and find they can't do anything.
  5. Thread: macro function

    by Brian
    Replies
    8
    Views
    1,942

    #define PATHLEN 256 char mypath[PATHLEN] = {...

    #define PATHLEN 256

    char mypath[PATHLEN] = { '\0' };
    char *homeDir = getenv("HOME");
    strncpy(mypath, homeDir, PATHLEN);
    strncat(mypath, "/hello.glade", PATHLEN - strlen(mypath));
    ...
  6. Replies
    8
    Views
    922

    when you need change something you will have to...

    when you need change something you will have to pass a pointer to it.
  7. Thread: clear buffer

    by Brian
    Replies
    5
    Views
    13,457

    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?a...

    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044873249&id=1043284392
  8. Replies
    5
    Views
    1,199

    Dell 2007WFP is the best damn monitor

    Dell 2007WFP is the best damn monitor
  9. Replies
    44
    Views
    3,778

    Poll: I'm thinking of doing my final year c++ project...

    I'm thinking of doing my final year c++ project in eclipse. I can't get used to Visual C++ Express.
  10. Thread: How old are you?

    by Brian
    Replies
    59
    Views
    4,174

    ya me too

    ya me too
  11. Thread: getch()

    by Brian
    Replies
    4
    Views
    1,267

    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?a...

    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044873249&id=1043284392
  12. Thread: getch()

    by Brian
    Replies
    4
    Views
    1,267

    Some keys send a message when they are released...

    Some keys send a message when they are released IIRC.

    edit:


    void KeyboardIsr()
    {
    byte new_scan_code = inportb(0x60);
    // do something with the scancode ...
    // remember you only...
  13. Replies
    3
    Views
    1,094

    printf(" %02x ", result[row][col]); should do the...

    printf(" %02x ", result[row][col]); should do the trick.
  14. Thread: im back!

    by Brian
    Replies
    21
    Views
    2,082

    oh I remember you

    oh I remember you
  15. Replies
    19
    Views
    3,647

    Well I don't see how anybody can understand that...

    Well I don't see how anybody can understand that line of code without spending a few years researching it.



    return (x & ((~0 << (p + 1)) | (~(~0 << (p + 1 - n))))) | ((y & ~(~0 << n)) << (p + 1...
  16. Winrar?

    Winrar?
  17. Replies
    4
    Views
    985

    They are all valid code.

    They are all valid code.
  18. Replies
    6
    Views
    1,029

    It's not technically a "c script". It is a C...

    It's not technically a "c script". It is a C source file.
  19. Replies
    30
    Views
    4,114

    That woman introducing him talks in the most...

    That woman introducing him talks in the most annoying way. In fact everyone in that film seems to lack even the most basic social skills. :)
  20. Replies
    30
    Views
    4,478

    C++ would not return the next increment of C. It...

    C++ would not return the next increment of C. It should be ++c surely?
  21. Replies
    2
    Views
    2,112

    Hey, I don't have unix installed so I can't...

    Hey, I don't have unix installed so I can't compile that to test it out. What do you mean the client runs out?
  22. Thread: Diamond asterisk

    by Brian
    Replies
    33
    Views
    13,751

    I believe this fulfills all the requirements: ...

    I believe this fulfills all the requirements:


    #include <stdio.h>

    int main(void)
    {
    int i, j;
    char *diamond[8] = { " *\n",
    " * * *\n",
  23. Replies
    10
    Views
    4,437

    Give an example of standards-compliant code that...

    Give an example of standards-compliant code that will not compile in VC++ 2005 Express.
  24. Replies
    10
    Views
    4,437

    Dev-C++ isn't a very good IDE. I would recommend...

    Dev-C++ isn't a very good IDE. I would recommend Visual C++ 2005 Express, it is free and a much better IDE with a larger community.
  25. Replies
    7
    Views
    850

    I don't have a clue but surely it would be easier...

    I don't have a clue but surely it would be easier just to give the variables different names?

    edit: you could do this if you really want to:



    int foo = 1;
    int *pf = &foo;

    {
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4