Search:

Type: Posts; User: scuba22

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: magic sq probs

    by scuba22
    Replies
    2
    Views
    1,758

    thx

    THANK YOU...
    I am getting very close to my final verison of the program..
    i have a couple of ?? though.
    I just bought Visual C++.net (the book)
    and cannot understand the arguments at main :


    ...
  2. Thread: magic sq probs

    by scuba22
    Replies
    2
    Views
    1,758

    okay, i am starting from scratch again.......

    okay, i am starting from scratch again....
    here's my specifics for the square:
    Write a program which prints out a magic square as well as its "magic sum", for an odd integer s greater than 1 but...
  3. Thread: magic sq probs

    by scuba22
    Replies
    2
    Views
    1,758

    magic sq probs

    hi , can someone please look at the source of my frustration:?
    I am having probs with my magic sq program...
    it is taking 6 numbers from an external file and determining whether they fit the...
  4. Thread: magic array

    by scuba22
    Replies
    3
    Views
    3,110

    wow

    wow...thank you!!
  5. Thread: magic array

    by scuba22
    Replies
    3
    Views
    3,110

    algorythms

    really?
    i'll try...
    what would it be called?
    sorry, I am really green an feeling stupid
    Michele
  6. Thread: magic array

    by scuba22
    Replies
    3
    Views
    3,110

    magic array

    hi all...
    I am trying to write an array matrix that will pull in a number that defines the array size of rows and cols (like #3 means 3 rows 3 cols)
    and then wrap numbers around the matrix so that...
  7. Replies
    4
    Views
    1,200

    more ?

    i don't get what you loop tells me...
    I already know what that max rows and cols are they are const.
    I want to know what the largest integer stored in the array and it's location (as an prdered...
  8. Replies
    4
    Views
    1,200

    still

    am still needing help,
    i am so not getting this...
    could you explain what your nested loop is doing?
    and also if my code for just checking on row is okay why am I not getting anything close to an...
  9. Replies
    4
    Views
    1,200

    2d arrays: H e l p!

    hi all,
    i am having difficulty understanding how to use 2d arrays in any of my functions...
    I know how to find the max[] for any array, but when the arr[][] comes into the picture i'm getting...
  10. Replies
    4
    Views
    3,138

    hi, i didn't realize iostream was in there...

    hi, i didn't realize iostream was in there twice...i'm not sure what isn't necessary though?

    #include<iostream> is this the unecessary?
    #include<cstdlib> needed for rand fx...
  11. Replies
    4
    Views
    3,138

    ?

    so
    something like:


    int a = 0(1-56);
    int b = 0(57-100);
  12. Replies
    4
    Views
    3,138

    chance assignment of random

    Hi, I need to be pointed towards the correct way to express,
    a greater percent chance of something happending.
    For example:

    a and b are playing cards and a has a 60% chance of winning.
    and...
  13. Replies
    3
    Views
    950

    i neeed something a little more specific i...

    i neeed something
    a little more specific
    i thought i could do something like this:




    #include<iostream>
    #include<cstdlib>
    #include<ctime>
  14. Replies
    3
    Views
    950

    increasing prob with randoms

    Hi, I need to be pointed towards the correct way to express,
    a greater percent chance of something happending.
    For example:

    a and b are playing cards and a has a 60% chance of winning.
    and the...
  15. Replies
    2
    Views
    1,318

    unresolved external symbol

    hi guys,
    what does this error mean?



    Linking...
    hw1017_6.obj : error LNK2001: unresolved external symbol "int __cdecl flipacoin(int,int)" (?flipacoin@@YAHHH@Z)
    Debug/hw 1017_6.exe : fatal...
  16. Thread: ImTotallyLOST!

    by scuba22
    Replies
    20
    Views
    3,558

    BRACKET, PARENTHASES ETC...

    int main()
    {

    return 0;
    }
  17. Thread: ImTotallyLOST!

    by scuba22
    Replies
    20
    Views
    3,558

    Buy Deitel & Deitel 'C++ How to program ' Fourth...

    Buy Deitel & Deitel 'C++ How to program ' Fourth Ed.(about 100$).
    (less than a good pair of Nikes)...
    It COMES with the Visual C++ 6.0 compiler-
    It also comes with instructions on how to USE the...
  18. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    1 or 0

    hey all never mind..i've figured it out thanks...
    working on one function calling another.
    thanks for your help bonkey, prelude, and 'coned stoder'
    scuba22
  19. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    1 or 0

    i'm getting 1 or zero for my bool answer of true or false...
    also, I am trying to get the area to call the semiperimeter fuction for calculation, but am not getting asnything back..am I doing it...
  20. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    more?

    okay..thanks...duh.

    one last question...

    here's the new prototype & fuction,
    why am I not getting a yes or no when i call the bool function?

    actually what the hey..here's the entire...
  21. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    more probs with this...

    actually my boolquestion is : isatriangle

    so the sum of 2 sides must be greater than the third to be true


    here's my fuction prototype:

    bool isatriangle (double, double, double);

    i...
  22. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    thank you

    thanks * thanks * thanks * for the quick reply
    scuba22
  23. Thread: bool functions

    by scuba22
    Replies
    8
    Views
    1,821

    bool functions

    if i am using a bool function such as


    bool isaMonkey(*)


    int main ()
    {

    cout << isaMonkey(*) << endl;
  24. Thread: bool problems

    by scuba22
    Replies
    10
    Views
    1,100

    hey bonkey... that works.... i have a ?? tho......

    hey bonkey...
    that works....
    i have a ?? tho...
    can it be done without the founddata flag and just with the one bool?

    set bool f to true
    if the bool f is true
    //print header &
    change f to...
  25. Thread: bool problems

    by scuba22
    Replies
    10
    Views
    1,100

    the program is supposed to read a file of...

    the program is supposed to read a file of students and grades
    and calculate the student average and the course average..
    we are reading from 3 diff files, the first has 10 students, the second is...
Results 1 to 25 of 35
Page 1 of 2 1 2