A collection of articles and tutorials designed to help C and C variant programmers 
in their programming work. C Programming Tutorials and advice CProgrammingTrends News Archives About Us Feedback
July 15, 2010
Let's Get Virtual, Virtual...
By Bryan Young
Even though I have used virtual functions in the past, I never really understood them. They always seemed just beyond the realm of what I believed I could do with a strict typing language like C++. Of course, I had just a vague grasp on polymorphism at the time.

Virtual functions work by taking a function in a base class and allowing derived classes to override its functionality. This sounds an awful lot like a simple function overload, but it is most definitely different. Suppose you have two classes like these.

Continue Reading
Interested in contributing to the Cprogramming community?
Can you write expert tutorials and articles addressing the issues affecting Programming in C Environments? If so, we are looking for you. Contact techwriters@ientry.com.



Today's Top Videos:
Getting Maximum Findability from Search
More often than not, marketers jump into SEO without being fully prepared. Although it is easy to do, it could eventually have harmful effects on the business. In this interview with WebProNews...
Optimizing for News Search
Unfortunately, most companies do not realize how much content can be optimized as news. According to Lisa Buyer of The Buyer Group, press releases, blogs, social media profiles...
Manage Social Marketing with ObjectiveMarketer
"It enables me to do things with Twitter that most marketers only dream of." Those were the words of Guy Kawasaki speaking of popular social tool ObjectiveMarketer. WebProNews spok...
Recent Articles:
C Style Coding
My very first computer science teacher in college taught me C++. Starting with "Hello World" and going through structs, classes, and pointers, she showed me how to make computers dance with a few simple commands. Imagine my surprise when I turned in a program, only to find I had lost points for using the conditional operator.

When I asked her about it, she told me that I shouldn't use C style code, and it was a bad habit. I got the same speech for using a switch in another assignment, and again for using continue to cycle a loop.
Read More...

MySQL In C
Many languages include the ability to connect to a database and utilize the information stored within. For those that don't have these abilities automatically, there are different varieties of MySQL connectors available for installation. The version for C is the connector/C.
Read More...
GCC Allowing C++ Code
For years, we have been using the gcc compiler to build our source code into executable programs, so you're probably asking yourselves what the big deal is. The big deal is that for the first time ever, C++ code will be used to /write/ the gcc compiler, which has always been written...
Read More...
Dissecting Duff's Device
One of the most confusing pieces of code I have ever had a chance to look at is Duff's Device. At first glance, it seems that your compiler would laugh at you for attempting such a feat. For those of you who haven't yet been introduced to this programming marvel...
Read More...
Other iEntry Business Resources:
- WebProNews.com
- Jayde.com
- MarketingNewz.com
- SalesNewz.com
- CareerNewz.com
- InvestNewz.com
- eCommNewz.com
- WebsiteNotes.com
- AdvertisingDay.com
iEntry
 
-- CProgrammingTrends is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2010 iEntry, Inc. All Rights Reserved Privacy Policy Legal