Search:

Type: Posts; User: Driver

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    3,298

    You're using the functions correctly per se, but...

    You're using the functions correctly per se, but the mistake you're making is that you need to loop through the entered password and keep a count of how many digits you have and whether each...
  2. Replies
    25
    Views
    2,618

    I hope posting 4 weeks after the last post...

    I hope posting 4 weeks after the last post doesn't constitute resurrecting an old thread here, but a quick search using a well-known search engine took me here:...
  3. Replies
    2
    Views
    1,679

    Thanks for the speedy response _Mike, that...

    Thanks for the speedy response _Mike, that answers it perfectly.
  4. Replies
    2
    Views
    1,679

    Query on WM_SIZE in MDI Application

    I'm trying my hand at writing an MDI application, and have an issue of conflicting information. In the code below:


    LRESULT CALLBACK MdiChildWndProc(HWND hwnd,UINT msg,WPARAM wparam,LPARAM...
  5. Replies
    23
    Views
    4,355

    A bit like if you go to Google and do a search...

    A bit like if you go to Google and do a search for Recursion.
  6. Replies
    7
    Views
    1,546

    A pogram should never crash because of invalid...

    A pogram should never crash because of invalid input; it should be handled with a message saying that the input is duff, and prompt for another one.

    I'm not a c++ or c# programmer, but as I see it...
  7. Replies
    3
    Views
    1,656

    The negative case is handled easily enough by...

    The negative case is handled easily enough by priming max to the first value in the array rather than assuming zero:


    int compare(int a, int b, int c) {
    int tmp[3] = {a, b, c};
    int max =...
  8. Replies
    6
    Views
    15,397

    CoolWebSearch is considered to be quite an old...

    CoolWebSearch is considered to be quite an old malware now - you don't really hear of it much in the anti-malware community nowadays. It never used a file extension of .cws, so it's unlikely to be...
  9. Replies
    96
    Views
    21,084

    Poll: Just as horrible is this, a bit like the GNU one...

    Just as horrible is this, a bit like the GNU one but worse, which I've seen from time to time:


    void foo(int i)
    {
    code;
    if (a == b)
    {
    code;
    }
  10. Replies
    45
    Views
    207,267

    OK, I haven't had (or got) time to read every...

    OK, I haven't had (or got) time to read every post in this thread, but I've got the general gist of the topic and would like to make a comment or two.

    I don't post often here but I do look around...
  11. Replies
    10
    Views
    1,831

    Joining is an essential concept to any RDBMS...

    Joining is an essential concept to any RDBMS programming.
    Laserlight has summed it up quite nicely.
    Search for "3rd Normal Form" or "3NF" as this is how you get the data stored in the database to...
  12. Thread: Career Advise

    by Driver
    Replies
    4
    Views
    3,165

    I can say from experience that this is the case -...

    I can say from experience that this is the case - that first job is the hardest to get. I got caught by the "to get a job you need 2 years' experience" problem. A catch-22 situation that's...
  13. Replies
    5
    Views
    2,105

    You could initialise max to the same as the first...

    You could initialise max to the same as the first number entered, and then at the end test to see if max is <= 0. If so, output a message saying that no numbers were input instead of the highest...
  14. Replies
    8
    Views
    6,013

    I added it to a noddy program as such: ...

    I added it to a noddy program as such:


    +5 typedef struct {
    +6 /* Array of hex values that will be sent to a USB device */
    +7 const UBYTE ovation [] =
    +8 {
    ...
  15. Replies
    5
    Views
    1,371

    Avast!...

    Avast! (already mentioned) is a good free solution, and so is AntiVir Personal Edition.

    Both are light on resources, come with timely updates, and get good reviews in the antispyware community.
    ...
  16. Replies
    43
    Views
    9,711

    Twomers, I did get that from your link :) but of...

    Twomers, I did get that from your link :) but of course I'm also wondering who can translate the Irish in my sig without using Google and cite where it comes from ;)

    I know I saw someone post,...
  17. Replies
    43
    Views
    9,711

    And for those who want lessons, here is a...

    And for those who want lessons, here is a tutorial on how to be sarcastic.

    Actually, I wasn't being sarcastic in putting that. Maybe using the sarcasm tags was the sarcasm?!?!?!???!!(!)
  18. Replies
    13
    Views
    12,421

    In addition, you really ought to declare the...

    In addition, you really ought to declare the main() function as returning an int.
    See here for further info.
  19. Replies
    43
    Views
    9,711

    Hmmmmm .... maybe I should have used ..... tags...

    Hmmmmm .... maybe I should have used ..... tags after all :)
  20. Thread: C Ranges

    by Driver
    Replies
    20
    Views
    4,582

    As an added bonus, you may also want to make it...

    As an added bonus, you may also want to make it work for the year 1752 (check the month of September for the number of days that month had) :)


    server:/home$ cal 09 1752
    September 1752 ...
  21. Replies
    43
    Views
    9,711

    And for the record, I'm really Really, REALLY...

    And for the record, I'm really Really, REALLY scared of Quzah .... I had to go and have therapy the last time I read one of his flames because, well, it messed with my mind and I needed to get help...
  22. Thread: C Ranges

    by Driver
    Replies
    20
    Views
    4,582

    Completely untested, but even that complete code...

    Completely untested, but even that complete code has redundancy in it. Take a look at this:


    /* ***************************
    *C Program Code::Blocks v1.0 *
    *Written by: EvoTone ...
  23. Replies
    10
    Views
    22,816

    Flipping all the bits and adding one gives the...

    Flipping all the bits and adding one gives the two's complement value.
    With one's complement, you don't add the extra one in after flipping all the bits.

    The advantage of two's complement over...
  24. Replies
    13
    Views
    3,938

    The Music, Foreign Language, and Games tabs don't...

    The Music, Foreign Language, and Games tabs don't work but as this is very much WIP maybe that's the reason ... thought I'd flag it just in case it does turn out to be an error.

    I can see...
  25. Replies
    29
    Views
    5,982

    Except in Florida, where oranges are green :)...

    Except in Florida, where oranges are green :)
    Well, they were when I was there earlier this year. I know ... I ate one.
Results 1 to 25 of 126
Page 1 of 6 1 2 3 4