Greeting again. I have a homework assigment that I worked on a long time ago and now I need to add something. I need to add in a cycle counter... More or less a counter that counts the number of...
Type: Posts; User: Halo
Greeting again. I have a homework assigment that I worked on a long time ago and now I need to add something. I need to add in a cycle counter... More or less a counter that counts the number of...
Amazing... Thanks
Okay wellI fixed the problem with the headers and a way they make you use the ceil function however I get a crazy error at the end
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2019: unresolved...
Hello I am having problems getting this code to work in VS after it worked fine in Borland... I think it has somethign to do with the header files.... Actually I am sure it is I keep getting errors...
What does this function ? The ., is messing me up! I have never seen this syntax before.
Hello Again,
Does anyone have a piece of code that can flip a string around or know how an easy way to do this? I am working on a special calculator that has will compute a variation of two's...
Does anyone have .h files for Algorithms, vectors, and numerical values... that will work in Turbo C++ 4.5
Thanks
Got it thanks for you help guys !
Win32 Debug
Win32 Release
Win32
Final
What are the diffrences for these. I am reviewing for a C++ final and can't find this in my book.
I know one of them is a build that does not contain...
Okay what I need to do is have a program the prints 100 random numbers to the txt file. Then after that the program sorts through the 100 random numbers and outputs those on the screen.
The Sqrt...
So we have an assigment in class to make a program that produces 100 random numbers prints the randoms to a txt then outputs the prime numbers. I am almost sure this code is working ut I am at my GF...
Tried int main() and I still get the same two warnings the weird thing is warning number one brings me to this line of code:
srand(time(0)); //this will produce a new number after each...
Warning 1 = Coversion may lose sinificant digits in function main()
Warning 2 = Function should return a value in function main()
Well second day of class and needless to say I am more than rusty after taking a year and a half off ne how I am getting two errors when I am compiling and I can't figure them out. This calc is...
I need to take either FORTRAN OR COBAL this semester which do you guys think is easier ?
I posted here just because this board gets the most hits and I know some of the people here :-)
ANyhow...
First things first I would like to thank everyone that has helped me throughout this semester, I got a A going into the final (I hope I got one going out :-) That out of the way here is the meat and...
We are just printing to a txt file (ie notepad)
Okay I left my C++ book at school and I don't remeber the setprecision code. I just need it for two decimail places. I think its setprecision(2); however I remeber I need to include some other stuff...
Hello again guys, I finished this program a week or two ago and it works like a million bucks now. Only problem is I need it to work w/ arrays. I don't really know much about arrays that is why I...
I need to be two decimals precise therefore I am using this code
outData << setw(10) << set iosflags(ios::fixed) << setprecision(2) << totalGP;
How come this isn't working ?
Okay I got the new it to work in borland and as it turns out my copy of borland was fuxxzored.... Anyhow can someone help me with the set precission command ? I do not know where to put this in the...
?
Okay what did I do wrong ?
No space in the [] maybe ?
Ahhh thanks man. I always wondered how to make the code tag :-)
[ code ]
Testing
[ /code ]
So nobody knows whats wrong ?
Hehe use wa wa ? We havn't learned about those yet.... but please help me I need this to run on Borland tommarow. Me being me I thought any compiler is as good as another.... Which I found to be...