I have made a coupon site using wordpress: CouponVila There I collect lots of coupon codes from many companies or sites. The beauty about coupon site is that you can get commision when someone click, copy a coupon code, and make a purchase on mechant sites if you can running affiliate offers. (However, I don’t have much success on my coupon site so far, due to low traffic)
Getting Started:
1. Install WordPress
2. Upload and activate plugin: More fields (use for custom fields)
3. Upload and activate plugin: WP-PostRatings (use for user ratings)
Setting Up:
We need to add 2 custom fields. We can achieve it using more-fields plugin easily.
On the more-fields plugin option page, add a key named “code”, add another key named “link”. (More details see the screenshot below)

Adding Coupons (posts):
Click on “Write”, Add the coupon title, write discription, add some tags if you like, pick an appropreate category.
Enter the coupon into the “code” text box. Enter the affiliate link into the “link” text box. (More details see the attachment below)

Save the post.
Showing the coupon:
Basically, you the following code to show…. tired…. to be continued.
I just has an interview yesterday. I had an interview from that company last year, but didn’t get though. This year, same result. Ai~
I should blame myself of being lazy. Since I didn’t prepare much for the interview yesterday. That was mainly because they did not ask my any definition type questions last year, so i assumed they would not ask those questions either.
But yesteday, they did ask:
What is polymorphism?
What is the advantage of using polymorphism?
What is singleton, interface?
I got totally bombed. I did not expect they would ask such basic definitions.
Yet, I did not know those basic things.
Things I learned: Prepare for everything before an interview.
I wanted to try a small MFC project, Igot the following error when i compile.
error C2664: ‘CFrameWnd::Create’ : cannot convert parameter 2 from ‘const char [39]‘ to ‘LPCTSTR’
After searching on the internet, found out the reason is: project is setup to use Unicode. If you use _T macro while using string literals it will work for both the UNICODE and the ANSI string literals. T macro simply redirects to UNICODE or ANSI type.
solution:
Use the TEXT macro:
Create( NULL, TEXT( “MFC Tutorial Part 1 CoderSource Window” ) );
or
Create( NULL, _T(”MFC Fundamentals”));
After 30 minutes of installation, now i have found out that. I should have read the doc carefully.
Hmm, need to get the Professional or Team version.