- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
Re: [url]http://www.daniweb.com/forums/announcement8-2.html[/url] If you want us to complete the assignment for you, give me the name of your school and your professor so I can make sure I get the marks I deserve. That said, what have you done so far? Do you have any sort of pseudo-code? Any plans on … | |
Re: I realize that TR1 is not a standard yet, but if you don't want to use GMP and you don't want to use g++'s 'long long', perhaps this will do: [CODE=C++] #include <iostream> #include <tr1/cstdint> int main() { std::tr1::int64_t foo = 99999999999999999LL; long long int bar = 99999999999999999LL; std::cout << … | |
Re: std::cin.get() should work fine. Here is a small example: [code=c++] #include <iostream> #include <string> int main() { std::string foo; std::cout << "Enter something: "; std::getline( std::cin, foo ); std::cin.get(); // Should wait for something return 0; } [/code] [b]cin.get()[/b] The unformatted 'get' member function works like the >> operator with … |
The End.