- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Kill boredom
16 Posted Topics
Re: my version of your factorial is this: int s, factorial = 1; std::cout << "Enter a positive integer: "; while ( std::cin >> s && s < 0 ) std::cout << "Enter positive integers only: "; for ( int i = 2; i <= s; ++i ) factorial *= i; … | |
Re: Nice article! (y) Things like static and ( specially ) dynamic linking weren't very clear until now! And I couldn't help to notice the reference to V at the end! :D | |
Re: I'll write a paper to the committee one day!! > I LOVE your C++ for Dummies book I can't believe I read this!! Please, don't say something like this again! | |
Re: I'm waiting for someone write the matrix multiplication algotithm using C++11 std::future's! But Good Snippet, though! :D (y) | |
Re: I hope you are not waiting for us to do your job, and that you actually have something done about the problem! | |
Re: a piece of advice: try to work the digits separately.. and listen to the hint above! | |
Re: The Boost guys made a tutorial teaching how to install it... http://www.boost.org/doc/libs/release/more/getting_started/index.html check it out! | |
Re: Since usually the main constraint in C++ is performance, your code is wasting a lot of resources! Try to improve it! Get rid of unused variables and unecessary constants; declare only what you need and where you need. Try to avoid global declarations; Optimize you control structures: consider using 'switch' … | |
Re: for gcc on windows, this one is better than MinGW, because is constantly updated with the latest release: [Win32](ftp://ftp.equation.com/gcc/gcc-4.7.2-32.exe) [Win64](ftp://ftp.equation.com/gcc/gcc-4.7.2-64.exe) On linux, I used a tutorial a few days ago for ubuntu: http://solarianprogrammer.com/2012/04/13/building-gcc-4-7-on-ubuntu-12-04/ | |
Re: hmm.. improve your grammar on next question! ;) It's more easy to do it in Java than C++, since Java has a API with graphics and sockets.. But if you are really excited ( I really hope you are!!! ), I suggest you look to use [Asio Boost Library](http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio.html), and … | |
Re: You're asking in the wrong area!! You might wanna google for "Microsoft Visual C++ Redistributable"! | |
Re: Plz.. use some space and identation style.. code like this is not fear with people that may help you!! | |
Re: > I want to develop some soft that will give to the system and apps like Skype data in format they waiting it and take data from camera with its dll-functions so you want to develop the driver itself, right? | |
Re: the srand() must be putted into your main() function, so it can seed correctly.. there is no need to change nothing else.. just put it on main() and test it! | |
Re: I suggest you to study the Windows API to learn more about this... look for some tutorials about the windows.h library! | |
Re: I suggest you study more, because this code is far more than messy! 1- You should follow a indentation style, and use spaces and tabs correctly; 2- Why use the ctime library if the seed number will be inserted by the user? 3- And why use the cmath library? 4- … |
The End.