C4Swimmers Newsletter  

c4swimmers's blog

Search Engine on C Programming

Search for C/C++/Unix Programming related information.
<!-- Google CSE Search Box Begins -->



<!-- Google CSE Search Box Ends -->

Learn Kernel Bootcamp - Part 1 has started

hi friends

The much awaited session Learn Kernel Bootcamp - Part 1 has started and the contents or step-by-step instructions to compile & install the Plain Vanilla Linux Kernel 2.6 is available at:

http://www.c4swimmers.net/wiki/mediawiki-1.6.10/index.php?title=LearnKernelBootcamp_Part1

or Visit http://wiki.c4swimmers.net and click on "Learn Kernel Bootcamp - Part 1".

Your feedback is always welcome about the session that helps us to improve our further sessions:

Huge collection of Indian C/C++ Programming websites

Huge collection of Indian C/C++ Programming websites

Looking for an Indian C/C++ Programming website? Our collection of Indian C/C++ related websites is for all ... So we put together our favorite Indian C/C++ links on this website for others to...

Moreover I just want to make collection of all Indian C/C++ programming websites here. So please help me by posting the Indian C/C++ links that you're aware. All you've to do is just respond to this message post by suggesting the useful link...

Thanks in advance,

Regards,
Webmaster of www.c4swimmers.net and

[JOB] Strong programming experience with C/C++ on UNIX - Opening at Sun Microsystems India, Bangalore

Job Summary
The Sun Communications Suite delivers industry-leading email, calendaring and real-time collaboration functionality for service providers and large organizations worldwide. This suite includes the Messaging Server, Calendar Server, Instant Messaging, Connector for Microsoft Outlook, Synctool and Communications Express.

The Sustaining Engineering team is seeking a talented, creative, highly-motivated Software Engineer to develop and sustain Messaging Server and Calendar Server products.

Job Description
Responsibilities:

[JOB] Sun Mircosystems is looking for C C++ Programmers in Bangalore - 1 to 2 years of exp

Job Summary
This is a position for a development engineer in the team developing a Connector for Microsoft Outlook. The Sun Java System Connector for Microsoft Outlook is a plug-in software that enables the Sun Java System Messaging Server, Sun Java System Calendar Server, and Sun Java System Directory Server features and functionality to be available through Microsoft Outlook

Job Description

Never mix malloc with delete OR new with free

Never mix malloc with delete OR new with free as the outcome will be undefined behavior. It is not a good programming practice.

Let's look at the two undefined behavior due to the mixed usage of malloc with delete OR new with free and learn how to overcome it:

* malloc with delete (attached mallocdel.cpp) - In this case, memory is allocated with malloc and it is freed using delete or delete[].

[Event] DevCamp at Bangalore on Feb 9th 2008

What is DevCamp ?
DevCamp at Bangalore on Feb 9th 2008
DevCamp is an unconference for the software development community. DevCamp will focus on all aspects of crafting software in any language and on any platform, so if you're a developer, architect, analyst, tester or manager, this event is for you.

Represented C4Swimmers at YahooGroups Moderators Union 2008 Event held in Bangalore

Yahoo! (read it aloud).

I'm Nanda Kishor, Group Owner of one of the largest & active C/C++ Programming Group (c4swimmers@yahoogroups.com) attended the Moderators Union 2008 organized by Yahoo! India along with the TWO moderators of my group - Pradeep & Alok.
Yahoo! Groups Moderators Union

(Download) A Flash-based audio-visual seminar - Thinking in C

A Flash-based audio-visual seminar to introduce you to the fundamentals of the C language which will help you move on to C-based languages like C++, Java and C#. This seminar was formerly delivered on the CD-ROM bound into the 2nd and 3rd editions of Thinking in Java, and the 2nd edition, Volume 1 of Thinking in C++.

This is the release candidate and will be the final version unless bugs are discovered. This also tests the new download server configuration.

This version makes some small changes to simplify and improve usability.

Demonstration to uncomment the C program.

Demonstration to uncomment the “C” program.

#include 
main (int argc, char *argv[] )
{
	int i = 1 , flag = 0 , quote = 0;
	char buf[100][80];
	int printflag = 1, end_cmt = 0 ,begin_cmt = 1 ;
	if ( argc != 3 )
	{
		fprintf ( stderr ," Usage : a.out  \n" );
		exit (0 );
	}
	FILE *fp ;	
	int line = 0, index = 0 ;
	if ( (fp = fopen ( argv[1] , "r" )) == NULL )
	{
		fprintf ( stderr ,"File not found\n");
		exit ( 1);
	}
	while ( i )
	{
		i = fgetc ( fp );
		if ( i == EOF )
			break;
		buf[line][index] = i ;
		index++;

Demonstration of using variable number of arguments

Demonstration of using Variable number of argument

#include 
#include 
main()
{
	int add( int nint, ... );
	printf ("Sum of 4 numbers is %d", add( 4, 1,2,3,4) );
	printf ("Sum of 2 numbers is %d", add( 2, 10, -2 ));
}
int add ( int nint, ... )
{
	va_list va;
	int total = 0 ;
	va = va_start (nint );
	while ( nint-- )
		total += va_next ( va, int ) ;
	va_end (va );
	return total ;
}

To print the full range of escape characters

#include 
main()
{
	int i = 97 ;
	for (  ; i < 123 ; i++ )
		printf(" \\%c", i  );
}

Code contributed by : Pradeep SP
pradeepcse23@gmail.com

(Slides) Debugging Applications with GNU Debugger

  • Login or register to post comments
  • Read more
  • (Video Lecture) Programming & debugging series - tutorial 4

    We code a small c program which we'll examine using the gdb debugger so to observe how the stack gets used and organized.

    (Video Lecture) Programming & debugging series - tutorial 3

    We programmed a small program with an intentionally bug in it so we can use the debugger to find it and eventually correct it.

    (Video Lecture)Programming & Debugging series - tutorial 2

    In this tutorial we'll go through the process of programming a C windows console program and use the debugger gdb.exe to disassemble it and find out what is going on under the hood.

    (Video Lecture) Programming & Debugging series - tutorial 1

    In this tutorial we'll explore some of the tools that come with DevC++ IDE, These tools include gcc.exe, gdb.exe, ogjdump.exe and strings.exe.

    (Video) Scott Meyers: A Unique Perspective on Cpp

    Scott Meyers offers his unique perspectives on the C++ programming language.

    Scott Meyers is one of the world's foremost authorities on C++, providing training and consulting services to clients worldwide. He is the author of the best-selling Effective C++ series of books (Effective C++, More Effective C++, and Effective STL) and of the innovative Effective C++ CD. He is consulting editor for Addison Wesley's Effective Software Development Series and serves on the Advisory Board for The C++ Source.

    (Video Lecture) C++0x Standard - An overview by Bjarne Stroustrup

    Dr. Bjarne Stroustrup is the original designer and implementer of the C++ Programming Language.

    Video Lecture is available at:
    Video Lecture on C++0x Standard: Overview by Dr. Bjarne Stroustrup

    Key points of Video Lecture:
    Some of the key points of the above lecture video

    Syndicate content