Search:

Type: Posts; User: rachael033

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,198

    Ok I used void instead and it works, finally!...

    Ok I used void instead and it works, finally!
    Thankyou so much for your help.
    Sorry i seemed so clueless..
  2. Replies
    10
    Views
    2,198

    Ok thanks it seems to be kind of working but I am...

    Ok thanks it seems to be kind of working but I am getting the right numbers printed out but then a big random number at the end.
    I input 1 2 3 4 5 6 in both arrays so that should be the output but...
  3. Replies
    10
    Views
    2,198

    So would it be something like this? int...

    So would it be something like this?



    int numbers (int draw[], int entry[])
    {
    for(int i=0; i<MAXSIZE; i++)
    {
    for(int j=0; j<MAXSIZE; j++)
    {
  4. Replies
    10
    Views
    2,198

    Do i use the print inside or outside my function?...

    Do i use the print inside or outside my function?

    And I have done my own homework this is just a bit of it I couldn't figure out which is the whole point of discussion boards.....
  5. Replies
    10
    Views
    2,198

    Thanks but I'm not really sure how to use print.

    Thanks but I'm not really sure how to use print.
  6. Replies
    10
    Views
    2,198

    Outputting numbers in arrays

    Hi,
    I need to write a program that has 2 arrays both with 6 numbers each and compares the two arrays to see if they have any matching numbers.
    I have figured out how to output the amount of...
  7. Replies
    6
    Views
    1,382

    Just wondering what the * after char does? Why...

    Just wondering what the * after char does? Why won't it compile without it?
    Thanks
  8. Replies
    6
    Views
    1,382

    Thanks so much, it works. Yay!!

    Thanks so much, it works. Yay!!
  9. Replies
    6
    Views
    1,382

    yeah i'm trying to convert a char to an int but...

    yeah i'm trying to convert a char to an int but the int is a result from a function and for some reason i can't convert it.

    if the number is over 25 i have to number%26 to get a lower number so...
  10. Replies
    6
    Views
    1,382

    Char to int using functions

    Hello all,

    I have a program that imputs some numbers and had 8 different functions that calculate the numbers in some sort of way so in the end I have 8 different numbers. I have managed to get...
  11. Replies
    8
    Views
    1,444

    Well thankyou for the assessment on my...

    Well thankyou for the assessment on my punctuation!!!!!!!!!!!!!!!
    But, suprise suprise, that's not really what I was looking for.
  12. Replies
    8
    Views
    1,444

    As I Said It's Not Homework It Is Study!!!! This...

    As I Said It's Not Homework It Is Study!!!! This Isn't A Program That I Have To Do And Hand In.
    Once Again An Unhelpful And Pointless Response...
  13. Replies
    8
    Views
    1,444

    It wasn't an assignment I'm trying to study and...

    It wasn't an assignment I'm trying to study and going through things I'm not sur about. I was asking for help as that is what this whole web site is about. Don't assume anything about me or why I'm...
  14. Replies
    8
    Views
    1,444

    Average in arrays

    How do you find an average of each row in a 2-dimensional array and make the last column hold the average?
    Thanks
  15. Replies
    3
    Views
    1,473

    reversing integers

    Hey,
    I was just wondering how you would write a program to input a number (e.g. 1234) and then output the number reversed (e.g. 4321)
    Thanks
  16. Replies
    7
    Views
    1,070

    Thankyou soooooo much. Working now. Your help is...

    Thankyou soooooo much. Working now. Your help is much apprecaited!
  17. Replies
    7
    Views
    1,070

    int bankcheque [27][3] = {{" "," "," "," ",_,"...

    int bankcheque [27][3] = {{" "," "," "," ",_," "," ",_," "," "," "," "," ",_," "," ",_," "," ",_," "," ",_," "," ",_," "," ",_," "},
    {" "," ",|," ",_,|,"...
  18. Replies
    7
    Views
    1,070

    I just did that but the compiler is saying parse...

    I just did that but the compiler is saying parse error. I also tried with " " but that doesn't work either.
    Any idea why?
  19. Replies
    7
    Views
    1,070

    oh ok thanks, I wasn't putting the dashes in...

    oh ok thanks, I wasn't putting the dashes in because I thought that was only for outputting.
    Thanks heaps!!
  20. Replies
    7
    Views
    1,070

    2-dimensional arrays

    I was wondering how you put blank spaces in 2-dimensional arrays.
    Thanks
  21. Replies
    1
    Views
    2,611

    counting number of integers in sequence

    If I have an algebraic expression that makes a sequance of numbers how do I count the number of integers in the sequence and output this?

    The integers are coming from a do-while loop and I don't...
  22. Thread: file I/O??

    by rachael033
    Replies
    13
    Views
    1,315

    using namespace std; int...

    using namespace std;

    int length_of_syracuse(int n);

    bool isPrime(int a);

    int largest_prime_factor(int a);

    int main()
    {
  23. Thread: file I/O??

    by rachael033
    Replies
    13
    Views
    1,315

    Ok I don't understand it Thanks anyway

    Ok I don't understand it
    Thanks anyway
  24. Thread: file I/O??

    by rachael033
    Replies
    13
    Views
    1,315

    So if "hello" was in a file called file1.txt...

    So if "hello" was in a file called file1.txt which is the part where the information in the file is used?
  25. Thread: file I/O??

    by rachael033
    Replies
    13
    Views
    1,315

    Ok so say I had a file that had "hello" written...

    Ok so say I had a file that had "hello" written in it and I needed to turn "hello" into ASCII values and then show these in the output (only the numbers not the original file material) how would I do...
Results 1 to 25 of 30
Page 1 of 2 1 2