You're new here, aren't you?
Click Connect with Facebook to join NetworkedBlogs. NetworkedBlogs is a community of bloggers and blog lovers. Join the fun, add your blog, and connect with others who read and write about subjects you like.
| Blog Name: |
Talk Binary |
| Url: |
http://talkbinary.com |
| Language: |
English |
| Topics: |
programming, computers, gaming |
| Description: |
Introducing the world of programming in a language anyone can understand. Starting from acquiring a programming environment, setting it up, and tutorials on C++ and more. |
| Popularity: |
35 Followers |
Google Chrome OS revealed
Google Chrome OS was finally revealed this morning. So what is it? Google Chrome OS is focused on making your OS revolve around an internet browser since we spend 90% of our time on the internet anyway. With that, all your files, music, applications, and whatnot will be accessed using the internet, thus eliminating the need to store anything on your PC. So where is everything going to be? In the cloud.
Impressions on Google Chrome OS
I don’t know about this, but I certainly don’t have access to a reliable internet connection 24/7 with my mobile laptop. Does that mean I wouldn’t have any access to any of my files when I’m on the road? Then, this wo
Google Wave Invitation Winners
Remember the Google Wave Invitations post? Well, people asked, and 7 lucky winners will get an invitation! (I randomly picked 7 people using a random number generator).
Congratulations!!!
Sammy Sedsky
J
Mark
Jeff
Ryan
Hong
Kevin
You should receive an invitation shortly…
Want more?
Missed out on this opportunity? Stay
C++ Recursion – Summation
Creating a sum function
Below is an example of how to calculate the total of a sequence of numbers. In this case we will be calculating the sum of 10 + 9 + … + 2 + 1
Example:
sum(10);
Result:
55
Iterative version of a function that calculates the summation
To understand how to calculate the sum using recursion, let’s write a simple algorithm that will do it for us using iteration.
//Our initial total is zero
int total = 0;
//We want the sum from 1 + 2 + … + 9 + 10
int n = 10;
Google Wave Invitations
I recently got invited to the invite-only Google Wave and fortunately for you, I also got invitations to give out to you. But…wait a minute? What is Google Wave?
What is Google Wave?
According to their About Google Wave, Google Wave is an online tool for real-time communication and collaboration. It can be used to discuss and collaborate texts, photos, videos, maps, and so much more.
C++ Recursion – Printing a Sequence of Numbers in Reverse
Printing a sequence of numbers in reverse
Below is an example of how to reverse a sequence of numbers printed using a recursive function in C++.
10 9 8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8 9 10
Printing numbers using recursion
To understand how to print a sequence of numbers in reverse, we first demonstrate a recursive function that displays a sequence of numbers in decreasing order.
void print(int n) {
if ( n <= 0 ) return; //Terminati
- Techotica
Deals, Computers, Electronics
- GeekSpazz
Technology, Gaming, Humor
- Cool Tricks N Tips
Blogging, Computers, Internet
- Instant Answers
computers, tips, training
- Eat, Play, Frag
Video Games, Gaming
Questions? contact: networkedblogs@ninua.com
Copyright (C) 2008, Ninua, Inc.