- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
An abstract method (I assume this is what you mean by abstraction function) is a method that has no definition - there is a signature, but no provided implementation. For example, if I have a file 'example.h' [CODE] class Example { public: int foo(int x, int y); int bar(int x, …
At a guess, without seeing your code, it is probably because the random number generator is generating the same numbers for every time you start your program. This is normal. Try putting this at the top of your code (possibly in main, before you need to generate random numbers). [code] …
Mitrmkar's right. See that you are initialising k as an index to the character directly before the $, rather than to the character at the end of the string.
Hi, as is about to become entirely apparent, I'm a newbie programmer and I'm having some problems with what should be simple operations. I'm having some trouble writing to file and no matter what method I use I can't seem to get it to work as I hope it to. …
The End.