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 :
...
Type: Posts; User: scuba22
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 :
...
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...
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...
wow...thank you!!
really?
i'll try...
what would it be called?
sorry, I am really green an feeling stupid
Michele
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...
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...
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...
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...
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...
so
something like:
int a = 0(1-56);
int b = 0(57-100);
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...
i neeed something
a little more specific
i thought i could do something like this:
#include<iostream>
#include<cstdlib>
#include<ctime>
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...
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...
int main()
{
return 0;
}
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...
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
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...
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...
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...
thanks * thanks * thanks * for the quick reply
scuba22
if i am using a bool function such as
bool isaMonkey(*)
int main ()
{
cout << isaMonkey(*) << endl;
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...
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...