ok thanks for the reply,
I knew it would probably be a simple answer, but I''m very new to c++ and I'm not very good at it at the moment,
Thanks again Karla x
Type: Posts; User: karlawarla
ok thanks for the reply,
I knew it would probably be a simple answer, but I''m very new to c++ and I'm not very good at it at the moment,
Thanks again Karla x
ok, thanks, ive changed them now
I've been trying to google my problem for like 3 days now, and this forum was my last resort cause I wanted to try and figure it out, but im at the end of my teather at the moment
I havent tried yet, I'm just playing around with what I might need to do to try and get the program to read all the numbers in 500 add them all together and divide it by 20 and print the answer
well so far I have done this, it can read the file
#include <iostream.h>
#include <fstream.h>
#include <assert.h>
sorry i'm still confused on what you mean?
Hey,
I have a .dat file that i have to read from, and i need to be able to add a whole column in the .dat file together and then divide it by 20 and and print the answer.
does anyone know how...
oh okay, I'll have a go and see if I can get it to work now.
Thanks for replying :-)
Hello, I've attempted to create program that will create a bar chart of stars to look like this...
--------------------------------------
1: ***
2: *
and so on, it has to read the amount of 6...
kool, i'm doing the visualisation course, but taken programming methodology as my free choice, hence all the c++ questions lol
manutd, thank you for your post, i'll take note. :-)
Yup, are you??
to be honest I don't even know how I wrote this, i just wrote this program based on the information given to me in lecture notes, so I don't really understand it fully.
and I also don't know how...
yup.
sorry im still confused with what you mean?
In here?
int main (int argc, char* argv[])
i'm still very new to c++ so i'm a bit slow
yeah, Im quite confused on why it isnt working cause I orginally wrote this program at uni using emacs (without having to use the pause) and it worked fine but now on visual it doesn't.
still compiles okay, but hasn't come up in command prompt
Hello, I've created this program and it all compiles correctly with no errors but once it has compiled it doesn't run, it won't come up in command prompt (I have used Visual C++ to create this).
...
Thank You :-)
Karla.
Well I've just got visual c++ to compile a program but it will pop up in command prompt for a split second and then disappears again, and I have no idea why it is doing that.
Hello, this may sound like a very simple question but I cannot get my head around it and I've been searching for ages to try and find a solution.
I'm fairly new to programming in C++, at uni I use...
okay thanks, i will ask my lecturer about the headers, and hopefully i'll understand the code more.
nope still not working, it was working before you said about the limits and ios.
it just comes back with 'no such file or directory' :-s