
welcome - library.nu C++Interview Questions and Answers What is C++? Released in 1985, C++ is an object-oriented programming language created by Bjarne Stroustrup. C++ maintains almost all aspects of the C language, while simplifying memory management and adding several features - including a new datatype known as a class (you will learn more about these later) - to allow object-oriented programming. C++ used for: C++ is a powerful general-purpose programming language. What is the difference between realloc() and free()? The free subroutine frees a block of memory previously allocated by the malloc subroutine. What is the difference between declaration and definition? The declaration tells the compiler that at some later point we plan to present the definition of this declaration. How do you write a function that can reverse a linked-list? for(; curnext! curnext->next = cur; } } Write a program that ask for user input from 5 to 9 then calculate the average
11 Great YouTube Channels for Teachers September 11, 2014 YouTube is undoubtedly one of the most popular video hosting platforms in history. The stats released by its administration a few months ago are just mind blowing. With more than 1 billion monthly visitors and over 6 billion hours of video being watched each month (which equals almost an hour for every person on Earth) and an average of 100 hours of video uploaded every minute, YouTube sets a record of being the first audio visual media with the largest reach ever. As such, YouTube is definitely a treasure trove for us in education. 1- Crash Course In this channel, teachers John and Hank Green provide some excellent video explanations and tutorials on a variety of topics related to World History, Biology, Literature, Ecology, Chemistry, and US History. 2- TED Ed You are probably already familiar with this channel. 3- Shots of Awe 4- Asap Science Asap Science is a Youtube channel dedicated for everything related to science and scientific concepts. 5- SciShow 6- Keith Hughes
A Great New Tool to Teach Kids Coding September 23, 2014 Code Studio is a newly released platform geared towards helping students from kindergarten to high school learn the different coding concepts. Code Studio which is a product of the popular nonprofit group Code.org known for its relentless efforts to make coding part of the curricula. Code Studio, as is explained in this excellent review, provides a variety of features that set it apart from other coding platforms. Most important of them all is its integration of HTML5 which makes it accessible through different browsers. Code Studio also provide coding lessons tailored for each age group and grade level. By completing these lessons, students are expected to be able to create their own games and apps to share with others using popular social networking sites. Watch this video to learn more
7 Habits of Highly Effective Programmers As a software engineer, you might want any number of things out of your job - a steady paycheck, the opportunity to work on interesting projects, a springboard to the next better job, or maybe you just like hanging out with other programmers. But by "effective", I mean the ability to complete projects in a timely manner with the expected quality. After working on dozens of software releases, I believe the following practices will bring you there, and while they may involve sticking your neck out, I'd like to think they will also advance your professional reputation, career longevity, and personal satisfaction. Understand Your Requirements The first step in becoming an effective programmer is to ensure that you are spending your time wisely. Build Early Get a demonstrable system working as early as possible. There is a classical school of thought that believes if you design everything up front, then all you have to do is write the code and you're done. Deliver Often Keep It Real Merge Often
Free Virus Scan - Kaspersky Lab Free to download, to use and to update Quick scan for viruses and malware Full report on all threats found on your PC User-Friendly Interface Click the images below for larger view Easy access to main functions PC Security status display Which protection is right for you ? We recommend you try Kaspersky Anti-Virus PC and files scan for malware Full security status reporting Cloud-based information about new and emerging threats Protection against new, emerging and unknown malware Roll back harmful activity for infected PC Unlock PC blocked by a Trojan Alerts for malicious websites & web link reputation Identity and financial protection against phishing sites or emails Special Gamer Mode for uninterrupted gaming experience We recommend you Kaspersky Anti-Virus Why Using Kaspersky Security Scan Makes Sense System Requirements Operating Systems Hardware Requirements Please note we do not offer support for beta versions or previews of new operating systems. Microsoft Windows XP Microsoft Windows Vista®
Introduction - 1024cores I bet you had heard terms like "lockfree" and "waitfree". So what it's all about? Let's start with some definitions. Wait-freedom Wait-freedom means that each thread moves forward regardless of external factors like contention from other threads, other thread blocking. Below is an example of a wait-free algorithm: void increment_reference_counter(rc_base* obj) atomic_increment(obj->rc); void decrement_reference_counter(rc_base* obj) if (0 == atomic_decrement(obj->rc)) delete obj; Each thread is able to execute the function in a bounded number of steps regardless of any external factors. Lock-freedom Lock-freedom means that a system as a whole moves forward regardless of anything. An example of a lockfree algorithm is: void stack_push(stack* s, node* n) node* head; do head = s->head; n->next = head; while ( ! As can be seen, a thread can "whirl" in the cycle theoretically infinitely. Obstruction-freedom Termination-safety Blocking Algorithms Practical Implications 1. 2. 3. Performance/scalability
197 Educational YouTube Channels You Should Know About 197 Educational YouTube Channels You Should Know About If you don’t have a YouTube channel as an education provider, there’s a good chance you’re behind the times. Nearly every major educational institution in the world now hosts its own collection of videos featuring news, lectures, tutorials, and open courseware. Just as many individuals have their own channel, curating their expertise in a series of broadcasted lessons. These channels allow instructors to share information and blend media in unprecedented and exciting new ways. From teaching Mandarin Chinese to busting myths about Astronomy, the educational possibilities are virtually endless pun intended! Because we can now sift through thousands of resources while navigating a single repository, the potential for inspiration and growth in the field of education has reached a new height. Here are the top channels worth following based on views, subscriptions, and quality of content: General Physical Sciences Engineering & Technology Mr.
9 Websites to Learn Coding As Compiled by TED May 15, 2014 Learning how to code has become an essential skill for the 21st century students. The importance of coding lies in the fact that it enables students to learn a slew of other important skills all along the way. In his popular TED talk " Let's Teach Kids to Code", Mitch Resnick of MIT Media Lab outlined a set of skills that students get to learn from coding . These skills are also relevant for all other sorts of activities: Code Racer that is featured in TED article has become Treehouse which brings the number of websites to 9. 1- Code Academy This by far the most popular of them all. 2- Girl Develop It One of many programs geared toward females who want to code, Girl Develop It is an international nonprofit that provides mentorship and instruction. 3- Udacity Computer Science Course ( not free) Stanford University’s Udacity is one of many sites that make college courses—including Introduction to Computer Science—available online for free. 4- Teamtreehouse 5-The Computer Club House