background preloader

Teach Yourself C++ in 21 Days

New Programming Language Makes Coding Social Apps Easier While it takes just a few keystrokes and mouse clicks to post a tweet on Twitter or “friend” someone on Facebook, it may require thousands of lines of code to accomplish the task. Dog, a new programming language, could make it easier and more intuitive to write all sorts of social applications—anything from peer-to-peer question-and-answer sites to online dating. And because Dog incorporates natural language, this may make it easier for newbies to learn to code, too. MIT Media Lab professor Sep Kamvar, who developed Dog with the help of some graduate students, hopes to release the language in a private beta version in the next few months, and offer a public release of it in the spring. Dog emerged from Kamvar’s frustration with existing programming languages, such as Java, which he felt were needlessly difficult to use to write code governing social interactions. “I had to write code at a lower level of abstraction than I had to think about the interactions,” he says.

New programming slang - Programming A question recently posted on stackoverflow.com asked for people to submit programming terms that they or their team have coined and have come into regular use in their own circles. Below are the most popular answers Yoda Conditions The act of using if (constant == variable) instead of natural if (variable == constant),; for example, if (4 == foo). Pokémon Exception Handling When you catch all the exceptions and then you try somehow to analyze them. try{ //code }catch ( Exception ex){ if( ex instanceof SubException){ //code }else if(ex instanceof SubSubException){ //code }else{ //code } } Discuss an example here Egyptian brackets This is the style of brackets, when an opening bracket is placed at the end of this line: if (a == b) { printf("hello"); } Why do we call this style "Egyptian brackets?" (This style of brackets was used in the famous book of Kernighan and Ritchie "C Programming Language", so it is also known as the style of K&R). Different types of bug reports Other types of errors

Everything you need to know about pointers in C Style used in this document This is regular text. This is a , some code, and some sample output. This is a line of code. This is output you'd see on your screen. Definition of a pointer A pointer is a memory address. (Mmm, short paragraphs.) Starting off Say you declare a variable named . int foo; This variable occupies some memory. Now let's declare another variable. int *foo_ptr = &foo; is declared as a pointer to int. As I said, occupies some memory. Think of every variable as a box. is a box that is sizeof(int) bytes in size. This is true of all variables, regardless of type. The point of that is that the pointer is not the variable! The pointer has a type, too, by the way. multiple indirection . Interlude: Declaration syntax The obvious way to declare two pointer variables in a single declaration is: int* ptr_a, ptr_b; Given this, what is the type of ? *bzzt* Wrong! The type of is int. C's declaration syntax ignores the pointer asterisks when carrying a type over to multiple declarations. lvalue .

Network Security Toolkit (NST) Top 10 Portable Tools for Network Administrators by Wesley David - October 27, 2010 Working as a systems administrator oftentimes requires you to interact with many different computers in a single day. One minute you're dealing with cranky users complaining about slow performance on their PCs and the next minute your soothing badly behaving domain controllers. Having to interact with so many different PCs makes it all the more advantageous to keep a core set of tools with you at all times. Many useful tools can be run from a portable storage device and some have even been specifically designed to run on portable storage devices. 1. As of June 2009 there are 66 tools in the suite. As a bonus, each of the Sysinternals tools are available "live" at "live.sysinternals.com\tools" which is essentially just a file share open to the internet. 2. There's a bit of confusion about this topic. 3. Nary does a day go by that your average admin doesn't have to scan a network, IP range or port scan a node. 4. "What about IE!" 5. 6. 7. 8. 9. 10.

Sorting Algorithm Animations Algorithms in Java, Parts 1-4, 3rd edition by Robert Sedgewick. Addison Wesley, 2003. Quicksort is Optimal by Robert Sedgewick and Jon Bentley, Knuthfest, Stanford University, January, 2002. Dual Pivot Quicksort: Code by Discussion. Bubble-sort with Hungarian (“Csángó”) folk dance YouTube video, created at Sapientia University, Tirgu Mures (Marosvásárhely), Romania. Select-sort with Gypsy folk dance YouTube video, created at Sapientia University, Tirgu Mures (Marosvásárhely), Romania. Sorting Out Sorting, Ronald M. Why every single one of you should learn a little code As technology becomes more and more ingrained in our everyday lives, you have to make a choice: Are you a consumer of tech, or are you someone who understands it? Buying the latest iPhone and keeping up with the who-works-where, who’s-launching-what tech gossip is all fine and good, but if you can’t code, you ain’t no kind of techie. Startups like Codecademy are making it easy to learn coding online — easy enough for school children, in fact. All this supply exists on the market because there’s a huge demand for coding education. “While the entrepreneurial community has exploded within the past year or two, there’s a constant shortage of developers and a tremendous number of businesspeople trying to learn to code,” said Codecademy founder Zach Sims to VentureBeat in a recent chat. “Programming literacy is going to be an incredibly important skill in the next few years, and we hope we can bring that to new groups of people.” Still, not everyone buys into the “everyone must code” mentality.

How To Find Product Key Of Any Software » Product Key Finder Tips How to find the product key of any software that you want..?? A product key is a unique identification number or code, used in software like operating systems and games, to prevent counterfeiting and piracy. This is a specific software program. For the most part, a product key operating system is an insignificant number, but when you need to re-install your OS, suddenly the product key becomes the code harder to find. Find Product Key Of Windows 7 A product key Windows 7 is needed to activate the system, format the Windows 7, or in the event of a system crash, re-installing Windows 7 on your computer. How to find the product key of Windows 7 The product key number for Windows 7 is a alphanumeric pattern of 25 characters, divided into 5 groups of 5 characters each. * The product key used to activate the 32-bit or 64-bit editions of Windows 7 * Product keys are also unique to the version of Windows 7 (Ultimate, Premium, Basic, 32 or 64 bits). Ways to Find Windows 7 Product Key Number Software

Related: