The following C example is the simplest prototype. The function displays "Hello World" on screen without receiving any parameters or returning any values to the calling instruction. "Void" means "nothing."
Prototype
void printHelloWorld(void);
Function
void printHelloWorld(void)
{
printf ("Hello Worldn");
}
Prototypes can be much more complicated as in this C example where five parameters are passed to a graphics function.
void DrawTransparentBitmap(HDC hdc,
HBITMAP hBitmap,
int xStart,
int yStart,
COLORREF cTransparentColor);
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Courier: Microsoft's new take on the Tablet PC?
- RE: Courier: Microsoft's new take on the Tablet PC?First off, this is a really cool looking prototype. Second, I would hearken to what others raise; namely, when will the real product ship and what's the OS and tools side of the equation, as Apple has pretty much shown this to...
- Discussion threads 2009-09-22
- Auto Debug Professional 5.3 (Windows)
- An api monitor tool which can automatic tracing all apis input and output parameters. This application will auto trace the target program and monitor the input and output of function call. The software can help us to analysis program errors, process inside the target program. Unlike others apispy or api...
- Software downloads 2009-09-08
- Could Apple really dictate iPhone terms to Verizon Wireless?
- Could Apple really dictate iPhone terms to Verizon Wireless?RE: Could Apple really dictate iPhone terms to Verizon Wireless?ATT needs to dump cash to up the network ante.....and fast.american math"AT&T?s retail churn rate has improved to 1.2 percent, still behind Verizon?s 1.14 percent. " I don't know about american mathematics but...
- Discussion threads 2009-07-19
- MockupScreens 4.04 (Windows)
- MockupScreens helps you to sketch screen mockups of your application and organize them in scenarios. With MockupScreens you can experiment interactively with your clients, and quickly create wireframe of your application, while the coding hasn't even started yet. Improve project communication by bridging the gap between clients and developers, using...
- Software downloads 2009-07-10
- Pico projector phones by the end of this year?
- Pico projector phones by the end of this year?Good for casual readingI picture myself lying in bed and projecting the pages of an ebook on the ceiling.Display technology is there, but not the powerThe prototype I saw had to be plugged in to project, otherwise it would drain the battery...
- Discussion threads 2009-07-07
- CrunchPad photos leaked: Arrington builds dream tablet
- Remember in July when TechCrunch's Michael Arrington proposed to build a $200 Web tablet? Well, he did it -- kind of. The Internet sure does have a way of spreading rumors, and soon after photos of the latest CrunchPad prototype were leaked late Thursday night, the...
- Blog posts 2009-04-10
- Artificial blood, cartilage, and...brain?
- Researchers report a dose of new additions this week to the list of lab-produced versions of biological matter; And, taken together, the trio of announcements below span the gamut of organic complexity that they're trying to replicate. First, a team of biochemists from the University of Pennsylvania...
- Blog posts 2009-03-27
- Windows 7 and the netbook
- Windows 7 and the netbookYes, you were missed.I hope the interruption was not too painful.What you said about change. Change will happen. It will catch everyone unawares. Both proprietary and Open Source will find new opportunities and pitfalls. The spoils will go to the most agile.Design...
- Discussion threads 2009-01-22
- Microsoft vs. Apple: the multi-touch war
- Because the Evil Queen of Numbers has kept the Windows branch so quiet about Windows 7, we've been relying entirely on speculation, the blogosphere, leaks and occasionally "that dreaded New Yorker" as Sinofsky would probably say. Multi-touch is the latest craze it seems. Once the technology was...
- Blog posts 2008-09-23
- SUMMON 1.8.6 (Windows)
- SUMMON provides rapid prototyping of 2D visualizations. By heavily relying on the python scripting language, SUMMON allows the user to rapidly prototype a custom visualization for their data, without the overhead of designing a graphical user interface or recompiling native code. By simplifying the task of designing a visualization, users...
- Software downloads 2008-09-02
- GWT fireside chat
- I'm still wading through all the notes I took at the Google I/O 2008 conference last week. If you want to see pictures, check out my flickr photoset (183 photos). While I was there, I went to two sessions called "fireside chats". Although there was no fire...
- Blog posts 2008-06-05
- A web blanket for weak hearts
- Researchers at the University of Leeds in the UK have developed a new device which could put the beat back into weak hearts and free patients from a lifetime of anti-rejection drugs. Current implanted heart assistive devices 'function by sucking blood from the ventricles and then expelling it into downstream...
- Blog posts 2008-02-15
- MWC08: Hands-on with the Readius eInk mobile device
- I spent most of the last two days in meetings and finally had a chance to randomly stroll the show floor. While I have a couple of targets in mind to visit, like the Modu device and S60 touch UI, I also was keeping my eye out for other cool...
- Blog posts 2008-02-13
- WiBrain B1E UMPC
- Priced at $699 and offering a variety of useful input options, the Wibrain B1E avoids the two pitfalls that commonly beset UMPCs--high price and low usability. Its price makes it the cheapest UMPC we've reviewed; it's $300 less than the Fujitsu LifeBook U810 and a fraction of the cost of...
- Product reviews 2008-01-17
- A programming proposition
- A programming propositionThe problems with prototyping(1) Validation and verification, especially of non-trivial functionality (beyond CRUD + basic aggregation), can be as or more costly than implementation activities. All changes to a production system require regression testing first.(2) Validation and verification are short-changed, leading to applications that yield incorrect and...
- Discussion threads 2007-11-05
- Adobe claims Flash's non-PC footprint alone will be 1 billion by 2010
- Last week, in the course of asking if Adobe could or should follow in salesforce.com’s platform as a service PaaS shoes, I wondered aloud what 300 million devices Adobe CEO Bruce Chizen was referring to when he cited that number as being the current global non-PC footprint of Flash. I...
- Blog posts 2007-10-26
- SAP's Peter Zencke: Inside Business ByDesign
- Peter Zencke, a member of SAP’s Executive Board and head of R&D, spent the last fours years developing Business ByDesign, a new foundation for SAP's ERP software. I caught up with him during SAP TechEd ‘07 and asked about the origins of the product and what will differentiate it...
- Blog posts 2007-10-02
- Auto Debug for Windows 4.3 (Windows)
- Auto Debug for Windows is an auto-tracing tool of software. User can set breakpoints, this application will auto trace the target program and record the input and output of function call. Therefore, the software can help programmer analyse errors, process inside the target program, especially help the programmer analyse the...
- Software downloads 2007-09-20
- Captain Cyborg and the Problem of Evil
- Captain Cyborg and the Problem of EvilA CounterexampleThis is a very interesting post. It sounds like science-fiction, almost delusional, but you're saying these different scenarios represent real viewpoints held by real people.Some more people I would add to your list who believe in the human extension scenario are Douglas Engelbart,...
- Discussion threads 2007-07-05
- iPhone redux: Is it time for the battery life equivalent of a 'nutrition label' (see example)
- iPhone redux: Is it time for the battery life equivalent of a 'nutrition label' see exampleAbout your holster....You're supposed to put it in facing the other way. The holster for the Q is designed so that the screen faces the holster and the battery hangs out the back in...
- Discussion threads 2007-07-02





