- 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
7 Posted Topics
This program generates lines of pascal's triangle, numbers after 23 generate weird output.
This program takes a parameter, which is how many prime numbers you need. However if you want to make a program which checks whether a number is prime or not you can delete everything in the main function and put this line instead: cout << isPrime (argv [1]) ? "It's …
Gives different combinations(Permutations) of string in input
This filters out the letters and numbers in the parameters you give it.
I don't think any university or college will teach you C++ before making sure you know C well. So normally the first course is a C programming course. One good book is K&R's "The C programming language", they'll probably give it to you as a required text. Another one is …
Mingw and VI for me. I have used borland before, you can get the old version for free, but alot of SDKs, like DirectX SDK, do not work well with the old borland compiler. if you just want to experiment with STL or study C\C++ then it should work fine.
The idea here is to make each character in the string exist in every position, for example: string is "JOY" so taking J:- 1st pass: "JOY" 2nd pass: "OJY" 3rd pass: "OYJ" taking O:- 1st pass: "OJY" 2nd pass: "JOY" 3rd pass: "JYO" taking Y:- 1st pass: "YOJ" 2nd pass: …
The End.
darkscript