Cdecl – Best friend for c-language beginner | Know what your c code says
While surfing net one-day i got this magic…………..!!
The new, AJAX-powered version of the “C gibberish ↔ English” translation tool cdecl.
It will says you what your c programming sentence says and also make a c program sentence by just saying the meaning of that. so got it ? no then let me show you example
1> C gibberish to English translation.
char (*(*x())[5])()
if i do not understand above sentence then this tool will help you to understand this sentance
just write that c programming sentence in this tool and press enter.
List of free C and C++ Compilers for Linux and Windows
In previous post i have written about most famous IDE of C and C++ programming language. So here i am going to write about most famous compiler for C and C++ programming language.
MinGW
Pelles C- Compiler based on LCC
see this also
Top/Best C/C++ IDE for Windows & Linux
Top/Best C/C++ IDE for Windows & Linux
How much time gone in project design & building logic that much time also gone in writing code So if you have better IDE then you can work faster and easily. So i am going to introduce you most famous IDE for C/C++ programming on Linux & windows.
1>Eclipse CDT (C/C++ Development Tooling)
how can I write applications in C or C++ for Android?
Most of the people know that Development of Android Application is only done in java programming language. But Reality is that Development of Android application can be done in native languages like C & C++.
I have 3 option to do this all.
1> For doing this You need to use Android NDK
How to detect memory leakage in C program?
One more tips for c-programmer,embedded software engineers.
- In many case you need to make sure that your programs is not going to leak any heap memory.
- In Manny case while debugging code you will find SEGMENTATION FAULT and you cant debug your code ahead.
So in that all case our best friend is Valgrind
Introduction:
The Valgrind tool suite provides a number of debugging and profiling tools that help you make your programs faster
and more correct. The most popular of these tools is called Memcheck. It can detect many memory-related errors
that are common in C and C++ programs and that can lead to crashes and unpredictable behaviour.
Download & install :
You can download this tool for For {x86,amd64,arm,ppc32,ppc64}-linux and {x86,amd64}-darwin (Mac OS X). from here.
read more
List of all standard version of c language
As you all know we always talk about ANSI C, ISO-C, C99,c88 ,etc…but we dont know the actual differences between these all version of c language. So here i am going to explained all versions of c language.
Brief History :
- Root of c language is started in 1966 when Martin Richards has designed BCPL (Basic Combined Programming Language), that was a procedural, imperative, and structured computer programming language .
- After that in 1669 Ken Thompson and Dennis Ritchie has designed B programming language at Bell Labs
K&R C :
In 1978, Brian Kernighan and Dennis Ritchie published the first edition of The C Programming Language. Which is known to C programmers as “K&R”. For most of the year this book was taken as the informal standard of c programming language.
read more
How post-increment & pre-increment both are evaluated in function argument?
#include<stdio.h> int main() { int a=5; printf("%d %d %d",a++,a++,++a); return 0; }
Concept of Octal literal in C
One day while debugging one code i got one interesting things ..let me explain you by bellow’s example.
#include<stdio.h> main() { int a=010; printf("a is %d",a); }
if you think output of this program will
“a is 10″
then your are missing something….
How to set, clear ,toggle and check a single bit in C?
As being an embedded software engineer i would really suggest you this tricks. ..! In many application you need to deal with this bit wise operation. Sometimes you know this all stuff very well but still some time it takes time to construct this logic or some time you got some mistakes in it. so i suggest you to paste this on your desk until you paste this in your mind..!
To set a bit
Use the bitwise OR operator (|) to set a bit.
number |= 1 << x;
That will set bit x.
How to count total line of code in whole project/directory?
In many case you will require to count total number of line of code in your project.So here i am going to introduce with one powerful tool for counting line of code. That is CLOC .
ABOUT TOOL :
CLOC is open source project. CLOC is written entirely in Perl language and CLOC is almost portable .
ClOC can works on
- many flavors of Linux,
- Mac OS X,
- AIX,
- Solaris, IRIX,
- z/OS
Search in this website
our sponsors
latest comments
- codebreaker on How to access/unblock songs.pk in india?
- Esta on Free android applications
- PCB Design on Embedded Jobs and Careers | embeddedcareers.com
- JIGAR PATEL on List of all standard version of c language
- agabein on List of all standard version of c language
Find us on Facebook
Top Authors
Find us on stackoverflow
Polls
My Bookmarks
- Audio/video Recorder & player application based on MATLAB
- check dependency of your binary
- defination of all standard c programming language function
- Great Question-Answer on c programming
- know what your c code means
- Limition of c programming language
- List of all version of c programming language
- Online c compiler
- php freelancing work
- some more stuff on C programming language
- Volatile Keyword in Embedded System
- Write Android application in c language