Join Go4Expert on Google+ | Facebook | Twitter
Go4Expert
Go4Expert RSS Feed

» Programming forum

» What G4EF Members are doing?
Earning $$$ for Working on Projects at Go4Expert's Jobs Board

Reading Go4Expert Newsletters
Recommended for Developers
Check out web hosting reviews to see which hosting sites are recommended to build your website.
Make sure you choose a reliable web host whether it is for linux web hosting or windows Web hosting.
Writing Linux Daemon Process In C
Jan 17, 2012 - 1:39 AM - by Trinity

What is Dameon Process?



A Daemon process is a process which is not associated with any terminal and hence is supposed to run in background. Since, a daemon process involves background processing, it is recommended it should not include any user interaction. Therefore, it should be clear about its continuous processing not caring to wait for any input or to display any output. However, C programming does not define any such restrictions in its development as such. A daemon process developer should be well aware of its definition and ideal functionality before one starts the programming.

A well known example of a daemon process could be a mail server, which runs... [Read More]
0 Replies | 639 Views
C++ Style TypeCasts
Jan 02, 2012 - 1:27 AM - by Trinity
In C-Style typecasting we discussed about type casting and why is it required and how it is used in C programming. C++ has more types of typecasting and an entirely different way to use them.

A point to be noted that C++ typecasting would be mostly described and used in context of classes, as an effect of C++ being object oriented.

Types of C++ TypeCasting



There are following four types of type casting in C++:

Static-cast



Static cast is generally said to be used for... [Read More]
0 Replies | 757 Views
Good Programming Practices - System Calls
Dec 31, 2011 - 12:31 PM - by poornaMoksha
This article is the Part-II (Part-I here) of the series where in we are focusing on good coding practices. In the Part-I we discussed the importance of the assert macro/function for detecting and debugging bugs in program. In this part we will focus on good coding practices while dealing with system calls.

Note: As always, we will be discussing everything in the Linux environment.

Working with system calls



There are certain points that one should keep in mind while dealing with system calls.
  • One should have in and out knowledge of the
... [Read More]
0 Replies | 655 Views
Programming with Temporary files in Linux
Dec 30, 2011 - 8:50 AM - by poornaMoksha
If you are a developer then you would definitely be aware of the concept of temporary files. Temporary files, as the name suggest is temporary in its persistence. Either a process creates a temporary file to hold data for certain time or to pass information to another process. An ideal process makes sure that the temporary files are deleted as soon as the process is done with them.

An example



Lets suppose a developer (who is unaware of the standard ways to create and use temporary file) is asked to develop a code that uses a temporary file to hold data for sometime and then is deleted. What would he/she come up with ?

Lets see a generic code :
... [Read More]
0 Replies | 509 Views
C/C++ assert Function
Dec 30, 2011 - 8:43 AM - by poornaMoksha
I have been writing many articles on C/Linux explaining concepts, APIs and their usage etc. This time I thought to write on a fundamental concept that every newbie should be well aware of in order to become a good coder, ie 'Good coding practices'. I have 3-4 broader level points to make here. I'll try to cover one point in this article while the others in the subsequent parts. I am sure this article will come in handy for the beginners.

Defensive Coding



For newbies I must say that writing a code that runs correctly in normal conditions is not very easy, the logic needs to be sound. But writing a code that behaves gracefully in all the adverse or failure... [Read More]
0 Replies | 542 Views
» Article Archives
  Title, Username, & Date Last Post Replies Views
getrlimit() and setrlimit() to Control System Resources on Linux
Dec 29th, 2011 08:27 AM
Dec 30th, 2011 06:54 AM
by poornaMoksha
2 424
Understanding File Accessibility and File Locks with access() and fcntl() functions
Dec 27th, 2011 10:34 PM
Dec 27th, 2011 10:34 PM
by poornaMoksha
0 505
Developing Linux utility - Part III Displaying Detail File Info
Dec 27th, 2011 06:54 AM
Dec 27th, 2011 06:54 AM
by poornaMoksha
0 466
Understanding Linux fstat() With Example
Dec 26th, 2011 10:19 PM
Dec 26th, 2011 10:19 PM
by poornaMoksha
0 444
C-Style TypeCasts
by Trinity
Dec 25th, 2011 04:27 PM
Dec 25th, 2011 04:27 PM
by Trinity
0 582
Developing Linux Utility - Part II Arranging Output in Alphabetical Order
Dec 24th, 2011 06:15 PM
Dec 24th, 2011 06:15 PM
by poornaMoksha
0 562
Developing Linux Utility like 'ls' in C
Dec 24th, 2011 12:08 PM
Dec 24th, 2011 12:08 PM
by poornaMoksha
0 633
OpenGL Tutorials for Absolute Beginners
by Trinity
Dec 18th, 2011 07:25 PM
Jan 1st, 2012 01:49 PM
by Trinity
2 913
How to Reduce Coding Errors when Writing Code - Part 4
Dec 15th, 2011 05:19 PM
Dec 15th, 2011 05:19 PM
by Karpov2007
0 662
Faster Webapps with Memcached
by pradeep
Dec 14th, 2011 06:42 PM
Dec 14th, 2011 06:42 PM
by pradeep
0 661
AJAX jQuery Tutorial - An Introduction
by pradeep
Dec 12th, 2011 06:32 PM
Dec 12th, 2011 06:32 PM
by pradeep
0 809
Git VCS - Cloning & Workflow
by pradeep
Dec 7th, 2011 04:35 PM
Dec 7th, 2011 04:35 PM
by pradeep
0 785
Amazon Simple Queue Service
by pradeep
Dec 6th, 2011 02:51 PM
Dec 6th, 2011 02:51 PM
by pradeep
0 753
Digging C malloc() & free()
by Trinity
Dec 2nd, 2011 10:23 PM
Dec 2nd, 2011 10:23 PM
by Trinity
0 1,010
How to Create Obfuscated Code In C
Dec 1st, 2011 08:13 AM
Dec 21st, 2011 03:21 PM
by poornaMoksha
6 1,243
Virus in Linux - C Code That Changes it's Process Name and its Process ID at Run Time
Nov 30th, 2011 08:07 AM
Nov 30th, 2011 08:07 AM
by poornaMoksha
0 970
Understanding Advance File Handling Functions in C
Nov 30th, 2011 06:57 AM
Nov 30th, 2011 06:57 AM
by poornaMoksha
0 1,224
Books by Amazon

Advertisement

» Current Poll
how i can reduce the time?
by using shared memory.. - 100.00%
2 Votes
by using array.. - 50.00%
1 Vote
Total Votes: 2
You may not vote on this poll.
» Latest Forum Topics
Go to first new post urgent plz help...
0 Replies, 72 Views
Go to first new post DLL protection
4 Replies, 1,158 Views
Go to first new post Playing SWF without...
by Triteo
4 Replies, 1,629 Views
Go4Expert partners
Internet Marketing Tips
C, C++, MFC, C# tutorials
Software Development Outsourcing
Internet Marketing Company
Internet Security
Phone Cards


All times are GMT +5.5. The time now is 11:20 PM.