Search:

Type: Posts; User: TheSki

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,037

    Disregard this post as well. The Ski

    Disregard this post as well.

    The Ski
  2. Replies
    4
    Views
    1,010

    Yes the output is supposed to be a little screwy...

    Yes the output is supposed to be a little screwy as well. But Oh well. Only 2 more weeks of this class. But speaking of classes, That is the topic we are working on now. Any suggestions for a...
  3. Replies
    4
    Views
    1,010

    Ok Please IGNORE this post. Corrected Problem......

    Ok Please IGNORE this post. Corrected Problem...

    Still need help on the other post though.
  4. Replies
    4
    Views
    1,010

    Stupid Question 3

    // This program is to use the bucket sort method to rearrange given numbers.

    #include <iostream.h>
    #include <fstream.h>

    using std::cout;
    using std::cin;
    using std::endl;

    #include...
  5. Replies
    1
    Views
    1,037

    To add on to my Stupid Question

    Ok here is what I am doing. I am comparing 6 numbers for which number has the most digits. For some reason my loop goes through and counts my smallest number.

    Here is my code:

    for (...
  6. Replies
    10
    Views
    1,284

    Already corrected the problem. Was going this...

    Already corrected the problem. Was going this way:

    int array2[a][b] = {0};

    supposedly I can not do that with my compiler.
  7. Replies
    10
    Views
    1,284

    Man I am just adding on to this stupid question...

    Man I am just adding on to this stupid question today. Here is one more question.

    Half way through my program, I am intializing a 2-D array. Now when I go to compile the program, it says ...
  8. Replies
    10
    Views
    1,284

    Cool!!!! Learning about pointers right now, and...

    Cool!!!! Learning about pointers right now, and I do not see how pointers are useful in Programming, but hay, those who created the language came up with it, so I shall learn it and use it.
  9. Replies
    10
    Views
    1,284

    Salem, Thanks! One quick question. What does...

    Salem, Thanks!

    One quick question. What does this '->' comand do in the program?
  10. Replies
    10
    Views
    1,284

    A.Sebasti, Thank you for code. Also...

    A.Sebasti,

    Thank you for code.

    Also anyone have any input on the bucket sort?
  11. Replies
    10
    Views
    1,284

    Here is a stupid question

    But I am looking to know if there is a code to use that tells me the length of an integer.

    For example, the number 1204 contains 4 digits. also if anybody ever did a bucket sort program, what is...
  12. Replies
    2
    Views
    1,449

    Well thanks for the feedback, but I was cutting...

    Well thanks for the feedback, but I was cutting close on time, just finished the program like 30 seconds ago and already turned it in. I was not required to use functions, but it makes things look...
  13. Replies
    2
    Views
    1,449

    Boolean and functions

    Ok here is a little code I am working on:

    #include<iostream.h>
    using std::cout;
    using std::cin;
    using std::endl;
    const int n = 4;
    bool checkrows (int thesquare[][n], int numrows, int...
  14. Replies
    5
    Views
    1,231

    Well I just finished the program and it will go...

    Well I just finished the program and it will go to 50,000 indexes. I am using a Linux system to program and compile. Like I said, my instructor is killing me. Thanks Gang for your input.
  15. Replies
    5
    Views
    1,231

    Forget it! I Found it write after the message...

    Forget it!

    I Found it write after the message posted.

    The Ski

    But hay try this program and see what you think.

    The Ski
  16. Replies
    5
    Views
    1,231

    My instructor is KILLING me

    Hay gang, Well my instructor has given me this assignment to write code for the Sieve of Eratosthenes algorithim. Never heard of that? That makes 167,000 of us as well. Anyways, You do not have to...
  17. Thread: Arrays

    by TheSki
    Replies
    6
    Views
    1,003

    ok so as far as code written, how do you correct...

    ok so as far as code written, how do you correct that and stop the program from running like a rapped ape when I execute it?
  18. Thread: Arrays

    by TheSki
    Replies
    6
    Views
    1,003

    Ok corrected the obvious "Ski is Blind errors" ...

    Ok corrected the obvious "Ski is Blind errors" But now my little problem is the assignment of int to double error. When multiplying integer to a double, promotion should take place or am I doing it...
  19. Thread: Arrays

    by TheSki
    Replies
    6
    Views
    1,003

    Thank You!!!!!!!!!!

    Thank You!!!!!!!!!!
  20. Thread: Arrays

    by TheSki
    Replies
    6
    Views
    1,003

    Arrays

    What up gang, Hay this is The Ski calling out to all you helpful and fine programmers out there in Wonderland, and my wonder of the night is what am I doing wrong with the arrays? I do pay attention...
  21. Thread: Perfect number

    by TheSki
    Replies
    2
    Views
    2,750

    Thanks, but that is not what I am looking for. I...

    Thanks, but that is not what I am looking for. I am looking for a mathmatical formula that will test a number to see if it is perfect. One of the classmates on my other board helped me out. Thank...
  22. Thread: Perfect number

    by TheSki
    Replies
    2
    Views
    2,750

    Perfect number

    Ladies and Gentlemen, does anyone have a clue as to writing a formula to test for Perfect number?

    Example:

    1+2+3=6 6 is a perfect number

    1+2+3+4=10 10 is not a perfect number. Supposedly...
  23. Replies
    2
    Views
    1,238

    Thank you! It helps if when I go through my...

    Thank you! It helps if when I go through my notes that I use the right notes that are for the program that I am working on rather then the previous one.
  24. Replies
    2
    Views
    1,238

    Void call by reference function

    Here is my code:

    #include <iostream.h>

    using std::cout;
    using std::cin;
    using std::endl;

    void triplecallbyreference( int & );
  25. Replies
    3
    Views
    1,015

    Thank you Thank You! And Thank you Again. 4...

    Thank you Thank You! And Thank you Again. 4 more eyes are deffinetly better then my 4.
Results 1 to 25 of 34
Page 1 of 2 1 2