Search:

Type: Posts; User: Will

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,749

    the virus scan didn't turn up anything. I tried...

    the virus scan didn't turn up anything. I tried running scandisk just now, but, hilariously, it couldn't complete because "windows or another program is writing to the disk." great.

    today when I...
  2. Replies
    11
    Views
    2,749

    hard drive is mysteriously filling up.

    every day, the available space on my HD is shrinking with seemingly no explanation. available space went from 1.3 gigs yesterday to 800 mb today. this has been happening slowly for a week or two.
    ...
  3. Replies
    8
    Views
    2,975

    thanks for the code, Nick. I modified it to fit...

    thanks for the code, Nick. I modified it to fit my program, and it works really well (execution time went from around 2 minutes to around 6 seconds).

    looking at it though, I think I was confused...
  4. Replies
    8
    Views
    2,975

    generate_key just generates a key. I forgot to...

    generate_key just generates a key. I forgot to explicitly check that it's within [0,n-1], but it is.

    find and insert are taken care of by STL.
  5. Replies
    8
    Views
    2,975

    now I have another version that is integrated...

    now I have another version that is integrated with the dictionary file. the only problem is that it takes about 2 minutes to solve a five character word.

    to speed this up, I decided to try to use...
  6. Replies
    13
    Views
    1,222

    if it's a character array, then the last space is...

    if it's a character array, then the last space is taken up by a null terminator (I think that's the correct name). it's represented as \0.

    so if I wanted to store "dog" in char array[3], the...
  7. Thread: array definitions

    by Will
    Replies
    8
    Views
    1,264

    Re: array definitions

    yeah, that's an infinite loop. it should be something like



    #include <iostream>
    using namespace std;

    int main()
    {
    int array[100];
  8. Replies
    8
    Views
    2,975

    Help with beginning hash tables, please.

    recently my mom has become obsessed with "word jumbles" in our local paper, which are scrambled letters that you have to unscramble to form a word. for example, the correct answer to "btior" is...
  9. Thread: Computer Problem

    by Will
    Replies
    11
    Views
    2,399

    Are the words "Safe Mode" anywhere on your...

    Are the words "Safe Mode" anywhere on your screen? :p
  10. Replies
    5
    Views
    1,217

    Thank you kindly. EDIT: Thanks for the help,...

    Thank you kindly.

    EDIT: Thanks for the help, it's running a lot better than before. I do have an additional problem now though, and it's probably a beginner's error, but I can't see it. When the...
  11. Replies
    5
    Views
    1,217

    I thought of that, but I'm unsure as to how to...

    I thought of that, but I'm unsure as to how to check if something is a digit. Ascii values?
  12. Replies
    5
    Views
    1,217

    Help with input handling.

    For my final, I have to do an organizational chart using linked lists. Users have to be able to add people to the list, delete people, change information, blah blah blah. The problem is the way the...
  13. Thread: calc finals

    by Will
    Replies
    12
    Views
    3,983

    Jesus ****ing Christ on a goddamn bagel. I just...

    Jesus ****ing Christ on a goddamn bagel. I just got done with the AB test...that was the hardest thing ever.

    Multiple choice was fine. I answered 37/45, and I'm pretty sure I got those all right....
  14. Thread: calc finals

    by Will
    Replies
    12
    Views
    3,983

    AP Calculus test tomorrow. I want to cry. I know...

    AP Calculus test tomorrow. I want to cry. I know the subject, but it's effectively risking 9 months of work on one test. If I get a 1, someone, somewhere is dying. I don't know who, but they'd better...
  15. Replies
    2
    Views
    1,122

    Here you go. I just did this assignment (or...

    Here you go. I just did this assignment (or something similar, my class is using Deitel's book), so it's not going to be exactly like yours, but you should be able to figure it out.

    Euclid.h
    ...
  16. Replies
    0
    Views
    711

    Help on getting started (linked lists).

    For my computer programming final, I have to write a program to simulate an organizational chart using linked lists. In the end, the output should look something like this:



    1. President...
  17. Thread: Strange error.

    by Will
    Replies
    9
    Views
    1,804

    That was it. It is times like this that I hate...

    That was it. It is times like this that I hate programming. Thanks a bunch for your help though, I would've never caught that.
  18. Thread: Strange error.

    by Will
    Replies
    9
    Views
    1,804

    That doesn't seem to be it either. I took out...

    That doesn't seem to be it either. I took out some of re-includes without additional problems, but it didn't solve the original one either.
  19. Thread: Strange error.

    by Will
    Replies
    9
    Views
    1,804

    I tried your suggestions. No luck, sadly. Do you...

    I tried your suggestions. No luck, sadly. Do you think it could be a problem with one of the included header files (iostream, list, ...)?
  20. Thread: Prime Numbers

    by Will
    Replies
    13
    Views
    2,821

    Ok. I don't know if you just want the code, or if...

    Ok. I don't know if you just want the code, or if you want to do it yourself. If you want the code, look down, if you want to figure it out yourself, look up the Sieve of Eratosthenes.


    ...
  21. Thread: Strange error.

    by Will
    Replies
    9
    Views
    1,804

    Strange error.

    I'm writing a program to do an organizational chart using linked lists. It has a class called "orgchart" which is the main chart. It consists of a bunch of functions plus a linked list of another...
  22. Replies
    9
    Views
    4,753

    Mine is a bit different from yours, sorry, but I...

    Mine is a bit different from yours, sorry, but I already had it done. You should be able to figure it out from this code though.


    #include <iostream.h>

    void draw_square(int length, char...
  23. Replies
    2
    Views
    1,011

    Haha, that was dumb. Thanks for the help, sorry...

    Haha, that was dumb. Thanks for the help, sorry for wasting your time though.
  24. Replies
    2
    Views
    1,011

    Stupid operator overloading question.

    For some reason I can't figure out the + operator. I can do += just fine, but when I try to do +, I keep getting the address of the object instead of the value. The program is dealing with fractions...
  25. Replies
    12
    Views
    3,589

    Just use the sieve of eratosthenes. I made a...

    Just use the sieve of eratosthenes. I made a program like this a little bit ago, I'll post the source. Just replace arraysize with whatever you read from the file, and you'll be set.

    #include...
Results 1 to 25 of 28
Page 1 of 2 1 2