sample-code

Socket programmimg in C, need sample codes and tutorials

I want to do socket programming in C. Where client and server are exchanging messages. I have the sample codes with me, but i wanted some elaborate links and tutorials for socket programming C, so that i can write effective and error free code. I will be working with WinSock library and not on Linux. Any help? ...

What should accompany the code in a job application?

Along with my resume, i am posting a program which is a solution to a coding challenge on the company's website. What should accompany the code so that it really impresses the reviewer? Comments Solution explanation Assumptions Test module Anything else i should add, or is it already overkill? Thanks. ...

Google Safe Browsing API Code for PHP?

I've looked around but have been unable to find any classes or sample code (in php) for the google safe browsing api. Would you happen to know where I might find it? G-Man ...

WinForms controls sample projects

Hello, I need some sample projects from which students can learn how to use WinForms controls. I can`t find nothing on web. Thanks ...

UISearchBar Sample Code

Implementing a searchbar can be tricky business and I'm struggling to make it work for my situation. Here's a collection of some of the sample code I've found for implementing a UISearchBar. Please share any others below you've come across below. Apple's TableSearch code implements a contacts-like search of a simple tableview. Beginnin...

listing of all methods of a control - like required - iPhone

yesterday I just asked following question. http://stackoverflow.com/questions/1349571/how-to-customize-tableview-section-view-iphone I found some new method. Even in apple documentation I didn't found this method. Is it some thing like hidden methods? Does anybody provides all methods listing? Including sample code. Say for example....

Where can I find sample iPhone code?

Sample code is one of the most useful tools for learning about programming. There seem to be many sources on the web for iPhone sample code, but some are harder to find than others. Here's a collection of links I've found so far. Does anyone know of some other sources for iPhone sample code? Apple Sample Code: http://developer.apple.co...

Bezier Clipping java implementation source code?

Hi everyone. My question is, is there any Bezier Clipping java source code available on the Internet? I have seen some java applet used that method, but unfortunately they didn't provide code, and I really in short of time to implement it my own....Thank you so much. ...

Memory leak in Apples 'Scrolling' sample code

Hi All, I'm using code based on Apple's "Scrolling" sample code - here's where I have a problem: // load all the images from our bundle and add them to the scroll view NSUInteger i; for (i = 1; i <= jNumImages; i++) { NSString *imageName = [NSString stringWithFormat:@"page%d.png", i]; UIImage *image = [UIImage imageNamed:image...

ContactManager Sample Code displays odd account

I created a project from the ContactManager sample code and installed it on my DX. When I click the account spinner, in addition to the 2 accounts I have on the device, it displays 33 seemingly random characters followed by "@random.svcmot.com". Does anyone know what this account is? ...

How can i get WWDC10 sample code? (104. Designing Apps with Scroll Views)

i saw WWDC10 session "104, Designing Apps with Scroll Views". and i want get sample code using demo. but i can't find it. i found "ScrollViewSuite" but it's not same demo. it's not provided? ...