This is a simple source code written in C, Dev-C software, platform- Windows 7. It generates a Random Simple symmetric graph at first & then generates an arbitrary subgraph from that particular graph. The sub-graph may contain only one vertex of the graph as well as may contain a vertex set & edge set of that graph. Open Source C/C IDE for Windows. Dev-C is a full-featured C and C Integrated Development Environment (IDE) for Windows platforms. Millions of developers, students and researchers use Dev-C since the first version was released in 1998. It has been featured in dozens of C and scientific books and remains one of the favorite learning. In the IDE go to FILE, then NEW, then Project, select Windows Application, give it a name (eg. Menu1) click OK A filesave dialog box comes up, create a new folder and save Menu1.dev there. The DevCpp IDE comes up with a template, select and delete that and cut and paste this code into the empty editor page. Now compile and run. 1) Open the Dev c and Create new Console application and save it in new folder. 2) Now,time to the Write a Code. Ok, When you Create new Project than main.cpp file create by default, in this file Write following codes. – Write #includeh #includeh.
If you are a geek just like me and you want to impress somebody with a love letter and you don’t have an idea how to do it then you have come to the correct place. Trust me there is no better way than to express your love for somebody better than with words. You can say something nice to her, you can take her to a romantic date, you can kiss her but that won’t last. A love letter is for eternity. It will be cherished forever and will always bring a smile to her face. I came up with an idea and the code is very simple which I will be sharing with you in a few moments. This worked amazingly for me and this post is dedicated to her. First of all you should know
What should be there in a love letter?
1. It should express your love and feelings for him/her.
2. It should be funny and remind him/her of the lovely times you had together.
3. Most importantly it should be innovative.
I will not write anything about the first two points. You will find hundreds of posts about how to write a love letter but this post is all about the third point. The love letter I wrote was made in C which made it innovative and the best part is the code is very simple to understand. You can just edit a line and make your own personalized letter or you can even modify my idea and come up with a new idea all together. But then do not forget to write your idea in the comments section.
Show the C code already:
This was the original message I wrote for her. Change it to the message you have for the girl/guy you want to impress.
Explain the love letter to me:
The letter is very simple. What it does is it has a string (arr) which contains the message you want to say. The integer (i) is used to print the ‘i’th character of the string (arr) till the value of ‘i’ is less than the length of the string. getch() takes in a character and doesn’t display anything and plays an important role in the program. Compile the program and send her the .exe file and wait for wonders to happen.
Hopefully you enjoyed reading this tutorial. If you have any other idea of writing technical love letters share it with me. Also if you have tried this particular technique I would love to hear the reaction you received. Use the comments section below. Thank you and visit www.intechgrity.com for more interesting tutorials and posts.