This is my program wondering why it shows a blank data at the end
any clues?
#include <iostream.h>
#include <fstream.h>
int main()
{
char BookTitle[20];
Type: Posts; User: dAzed
This is my program wondering why it shows a blank data at the end
any clues?
#include <iostream.h>
#include <fstream.h>
int main()
{
char BookTitle[20];
This program was working fine until i added the highest score function
something about local function definitions are illegal???
As always help is greatly appreciated thanks for any many times...
final code
#include <iostream>
#include <cmath>
using namespace std;
void getData(float &, float &, float &, float &);
double CalcDist(float, float, float, float);
double...
2) You have a never ending recursive function.
Whats that????
code update still get no values :(
#include <iostream>
Has something to do with the asmperand in this program it passes by referance values...
#include <iostream>
using namespace std;
float sum (float &int1, float &int2); //function...
I cannot get this program to return any values at all what am I doing wrong please help and thank you for visitng my post...
#include <iostream.h>
#include <cmath>
double...
was wondering if there is any easy way to have mutiple deposits
with only declaring one variable
while (month >= 1)////start loop
{
cout <<"Please enter total deposits per month $: ";...
This is my third program was just wondering if anybody had any better ideas???? seems to work for now...... was just wondering hmm
#include <iostream>
using namespace std;
int...
found it duh
oh cool this thing still runs into an end of file error ?????
any ideas
edit button?
any idea why i would get a syntax error on the last cout statement
thanks for any help .....
oops
#include <iostream>
using namespace std;
int main() /*function main*/
{
[code]
#include <iostream>
using namespace std;
int main() /*function main*/
{
its homework its my third program so I am kinda dumfounded
should i make functions in the program etc and call them etc???
I have a week yipee!!
im suppose to write a program that calculates...
im so lost i could use an example
beer me.... this is what i have still wont work bummer
while (months >= 1)
{ months--;
while (months > 0)
i guess im
im trying to keep looping the amount deposited more than one deposit during the month
i.e
323.54
1241.98
123.45
im writing a program that should loop for the number of months that the user inputs
this kinda works but was trying to keep looping for the number of months entered if a user inputs 4 months that...
bcc32 -g100 -j25 -O2 -k- -vi -tWC -c -IC:\CBuilderX\include -oC:\CBuilderX\samples\welcome\windows\Release_Build\File1.obj File1.cpp
Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland...
cool!!:cool: still confused about what
if (count == 1)
smallest = largest = num;
#include <iostream> /*for cin and cout*/
int main() /*function main*/
{
int num = 0;
float sum= 0;
float avg= 0;
int count = 0;
int largest = 0;
int smallest= 0;
thanks for all your help im down to one error but have to go to work
this is diffently been a learning expierence
#include <iostream> /*for cin and cout*/
int main() /*function main*/
{
int num;
int sum = 0;
float avg;
int count = 0;
int largest;
int smallest;
im guess i try to start over somewhat
im trying to use user data until the user inputs -1
if the user inputed say 4 5 -1
my output would look something like
a counter the number of integers...
im guess i try to start over somewhat
im trying to use user data until the user inputs -1
if the user inputed say 4 5 -1
my output would look something like
a counter the number of...