- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
5 Posted Topics
Are you sure it is not working??? I just copy your code and paste it to my visual studio project (win32 application), and it works. Does it show any error or not?
for(a = 1; a <= num; a++) { b = 0; for(c = 2; c <= a/2; c++) { if(a%c == 0) { b = b + 1; } } if(b == 0) { System.out.println("The prime number is" + a); } } Make changes like this and It should print …
There is no information about cellphone[] in your entire program. One more thing read [Click Here](http://www.cplusplus.com/reference/string/getline/) The description for Delim says: >The operation of extracting successive characters is stopped when this character is read. So if you do getline and pass '#' as delin, it will stop reading data after …
You need to put #include "stdafx.h" at first and then include all other header files. **Where to find precompiled headers:** if you will go to properties of your project -> Under "Configuration Properties" -> "C/C++" -> Precompiled Headers. You can see the stdafx.h specified over there.
Hi, I am using RC4 to encrypt the data. It works fine. But I found that some encrypted values contains NULL character or other escape characters in result. Due to which when I read the string back to decrypt, does not give the whole string back but truncate the string. …
The End.
mLearning