Click it and watch it!
In the beginning there was the computer:
http://www.pi.pwp.blueyonder.co.uk/creation.html
Programming Tutorials and Sources
Sharing programming tutorials and sources.
Monday, September 9, 2013
Sunday, September 8, 2013
Practice problems + Solutions
Hello fellow members,
I know there are million others who are out of ideas to code, like me. After a little bit of searching, I have found a link in which it contains some C++ exercises and solutions for those exercises. Remember that the exercises are arranged from difficulty; If you want the hard ones, scroll all the way to the bottom.
Ordered based on difficulty(really easy for beginner programmers): http://en.wikibooks.org/wiki/C++_Program...Iterations
A lot of exercises!: http://en.wikibooks.org/wiki/C%2B%2B_Pro.../Exercises
Not ordered in any way: http://www.fz-juelich.de/video/cpp/html/exercises.html
The most famous, ProjectEuler: http://projecteuler.net/index.php?section=problems
I hope you found this helpful. Please if you have any ideas or websites which contains some programming ideas, feel free to post them.
Thanks for reading,
I know there are million others who are out of ideas to code, like me. After a little bit of searching, I have found a link in which it contains some C++ exercises and solutions for those exercises. Remember that the exercises are arranged from difficulty; If you want the hard ones, scroll all the way to the bottom.
Ordered based on difficulty(really easy for beginner programmers): http://en.wikibooks.org/wiki/C++_Program...Iterations
A lot of exercises!: http://en.wikibooks.org/wiki/C%2B%2B_Pro.../Exercises
Not ordered in any way: http://www.fz-juelich.de/video/cpp/html/exercises.html
The most famous, ProjectEuler: http://projecteuler.net/index.php?section=problems
I hope you found this helpful. Please if you have any ideas or websites which contains some programming ideas, feel free to post them.
Thanks for reading,
Friday, September 6, 2013
C++ Send EMail + Win32 w/ Download
Hello fellow coders,
It is coded purely C/C++.
Also, the part that consumed most of my time in this project was base64 encryption. I was initially thinking of just ripping one online but couldn't. All the sources used external libraries and if you know me, I hate doing that. Not to mention, I had no patience to read over the external library and copy/paste it and adjust to the modifications of my project.
So I went ahead and implemented my own retarded base64 encryption, which works fine. I followed this: Base64 Wikipedia
It's pretty simple and VERY basic.
Basic outline of the program:
The commands above are the ones sent to GMail server. That's all that's needed to send an EMail along with base64 encoder.
oh also, this is a very messy code, with little to no error handling. So, it's not perfect. It finishes its job though: send email. I didn't think about efficiency that much; I just wanted to get it done.
Download Link: http://uploading.com/e422f2f9/Emailer-rar
Source:
main.cpp
resource.rc
resource.h
Thanks and regards,
It is coded purely C/C++.
Also, the part that consumed most of my time in this project was base64 encryption. I was initially thinking of just ripping one online but couldn't. All the sources used external libraries and if you know me, I hate doing that. Not to mention, I had no patience to read over the external library and copy/paste it and adjust to the modifications of my project.
So I went ahead and implemented my own retarded base64 encryption, which works fine. I followed this: Base64 Wikipedia
It's pretty simple and VERY basic.
Basic outline of the program:
Code:
connect to smtp.gmail.com on port 25
Client: EHLO mail.gmail.com\r\n
Client: AUTH LOGIN\r\n
Client: base64 encrypted email\r\n
Client: base64 encrypted password\r\n
Server: 250 Accepted. --This is important to check.
Client: MAIL FROM: <emailid>\r\n
Client: RCPT TO: <toemailid>\r\n
DATA\r\n
Client: From: uremailid\r\n
Client: To: toemailid\r\n
Client: Subject: somesubject\r\n
Client: \r\n
Client: somemessageyouwanttosend\r\n
Client: .\r\n by sending period, it represents end of message.
The commands above are the ones sent to GMail server. That's all that's needed to send an EMail along with base64 encoder.
oh also, this is a very messy code, with little to no error handling. So, it's not perfect. It finishes its job though: send email. I didn't think about efficiency that much; I just wanted to get it done.
Download Link: http://uploading.com/e422f2f9/Emailer-rar
Source:
main.cpp
resource.rc
resource.h
Thanks and regards,
Wednesday, September 4, 2013
Simple Port Scanner + Source
Brief Description
Checks whether the given port is either open or closed.
Instructions
There are no need for Instructions for this program. Even your Grandma can figure it out.
Source: Simple Port Scanner
Please feel free to comment and if you have any suggestions, please post those as well.
Thanks for reading,
Checks whether the given port is either open or closed.
Instructions
There are no need for Instructions for this program. Even your Grandma can figure it out.
Source: Simple Port Scanner
Please feel free to comment and if you have any suggestions, please post those as well.
Thanks for reading,
Tuesday, September 3, 2013
ProjectEuler Stairs + Source
Here is the assignment with better description: bottmy's idea
Try creating the program yourself; if you can't figure it out, check
out my solution. If you don't understand my source, feel free
to reply your question in the comments below. :D
The Source: bottomy's idea + Source
Please send feed-back if this was helpful so it gives me the motivation
to post more of these helpful code.
Try creating the program yourself; if you can't figure it out, check
out my solution. If you don't understand my source, feel free
to reply your question in the comments below. :D
The Source: bottomy's idea + Source
Please send feed-back if this was helpful so it gives me the motivation
to post more of these helpful code.
Subscribe to:
Posts (Atom)