can anybody tell me about c programing?
464755
Do a search for 'C language tutorials' works for me. However if you have a choice go on to C++ even better
814965
what c++ program are you referring to ...anyway the syntax is\n\n#include<iostream.h>\n#include<conio.h>\n...include all the header files here ..\n\nint count()\n  {\n     function body\n     return value #integer value to be returned \n\n  }\n\nother functions\n\nvoid main() \n\n   {\n\n# this is the main function \n\nint a,b,c;\nfloat al,bl;\nstring str;\n\n#declare the variables\n\n#get the inputs from the user\ncout<<"enter the value of a ";\ncin>>a;\n...\n...\n\ncall the functions\n\nb=count()\n..\n#do what ever processing has to be done\n } # program closing curly braces\n\n\nhope this helps\n\nthis is a excellent c++ tutorial \n\nhttp://www.geocities.com/sstutor\n\ncprogramming.com is also pretty good
159447
The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX operating system. It has since spread to many other operating systems, and is one of the most widely used programming languages. C is prized for its efficiency, and is the most popular programming language for writing system software, though it is also used for writing applications. ...
727484
There's really two general concepts you need to learn. One is fundamentals such as for loops, if statements, and most importantly, problem solving skills. These things are invariant under languages such as C, C++, Java, etc.\n\nThe other thing you need to learn is Object Oriented Design. C doesn't have this, but C++ and Java do.  Java is a little cleaner and simpler, so I'll suggest learning Java as a first language, and then proceeding on to the others.
1078681
i think the easiest and funnest way to start is HTML.\nYou can get the hang of code and then move on to Java Script, then Java.\n\nIf you want you do C then C+
397803
/*\n\ni need to know an example of writting a program in c\nlanguage under linux using threads?\n\nwrite aprogram to calculate the result of the equation\nY=3sin(x)+6cos(x)+5x2 so each term accomplished by a\nthread. The main thread will calculate the result.\n\n*/\n\n\n#include <pthread.h>\n#include <math.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n/* static global location -- all threads will read */\nstatic double x;\n\nstatic void*\nthree_sinx(void*p)\n{\n  double* result = (double*)p;\n  *result = 3 * sin(x);\n  return 0;\n}\n\nstatic void*\nsix_cosx(void*p)\n{\n  double* result = (double*)p;\n  *result = 6 * cos(x);\n  return 0;\n}\n\nstatic void*\nfive_x_squared(void*p)\n{\n  double* result = (double*)p;\n  *result = 5 * x * x;\n  return 0;\n}\n\n/*\n *\n * Y = 3sin(x) + 6cos(x) + 5x2\n *\n */\n\nint\nmain(int argc, char* argv[])\n{\n  double result[3]; /* one location for each thread */\n  pthread_t tid[3];\n  void *r;\n  int i;\n\n  /* Set "x" to double value passed in on command line */\n  x = argc>1 ? strtod(argv[1], 0) : 0;\n\n\n  /*\n   *  Since result areas are distinct, no mutex needed\n   */\n  if (pthread_create(&tid[0], NULL,\n    three_sinx, &result[0]) != 0) {\n    perror("pthread_create[0]"), exit(-1);\n  }\n\n  if (pthread_create(&tid[1], NULL,\n    six_cosx, &result[1]) != 0) {\n    perror("pthread_create[1]"), exit(-1);\n  }\n\n  if (pthread_create(&tid[2], NULL,\n    five_x_squared, &result[2]) != 0) {\n    perror("pthread_create[2]"), exit(-1);\n  }\n\n  /* Synchronize on the completing child threads */\n  for (i=0; i<3; i++) {\n    if (pthread_join(tid[i], &r) != 0) {\n      perror("pthread_join");\n      exit(-1);\n    }\n  }\n\n  /* main thread will now combine the result */\n  printf("For y=3sin(x)+6cos(x)+5x2, when x=%f, y=%f&#92;n",\n      x, result[0]+result[1]+result[2]);\n\n  return 0;\n}\n\n\n\nTo show that it works:\n\n$ cc pthr.c -lpthread -lm\n\n$ a.out 3.14159\nFor y=3sin(x)+6cos(x)+5x2, when x=3.141590, y=43.347947\n\n$ a.out 0\nFor y=3sin(x)+6cos(x)+5x2, when x=0.000000, y=6.000000
790827
main () {char *s, b[100]; while(s=gets(b)) printf (atoi(s)%2 ? "nope&#92;n" : "yep&#92;n");}
643036
C is very often referred as "System Programming Language" because it is used for writing compilers, editors and even operating systems. C was developed and implemented on the UNIX operating system on the DEC PDP-11, by Dr, Dennis M. Ritchie. C was evolved during 1971-73 from B language of Ken Thompson, which was evelved(in 1969-70) from BCPL language of Martin Richards.\n During 1979-1983 BJARNE STROUSTRUP wrote C++, an object oriented Language at AT&T BELL labs, C++ was early known as "C with Classes". It is almost backward compatible with C. The first version of C++ was used internally in AT&T in August 1983.\n       In October, 1985 first commercial implementation of C++ was released.\n         C++'s style , especially function prototype declaration infulenced ANSI C.
935645
main() { static char *a="n0body"; char b[512],*c,*d;\n  while (c=gets(a)) for (d=a;c;*c^=*d,c++,d=*++d?d:a);\n  printf ("%s&#92;n",b);}\n\n\nhappy?
670568
Try Planet Source Code:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3270&lngWId=3\n\nThis one's in C++. You should be able to convert it back to C...
1127642
http://www.cprogramming.com/tutorial.html\n\nAlso try your local bookstore... try the Teach Yourself in 21 Days series by Sams.Net or any C++ books from O'Reilly.\n\nYou'll also need a compiler and an editor... there's some free stuff out there, and depending on the book you find, you may get some software with it. If you're a linux or other unix user, you probably already have everything you need.\n\nGood luck!
288377
PASCAL!!!its out dated, i think it is possible to get it on C/C++
52818
Wow, 17 years of C programming, and I didn't know that one.  I did some looking and according to the man page on scanf:\n\n[ Matches a nonempty sequence of characters from  the\n  specified  set  of  accepted  characters;  the next\n  pointer must be a pointer to char, and  there  must\n  be  enough  room  for  all  the  characters  in the\n  string, plus  a  terminating  NUL  character.   The\n  usual  skip  of  leading white space is suppressed.\n  The string is to be made up of  characters  in  (or\n  not in) a particular set; the set is defined by the\n  characters between the open bracket [ character and\n  a  close  bracket  ]  character.   The set excludes\n  those characters if the first character  after  the\n  open bracket is a circumflex ^.  To include a close\n  bracket in the set, make  it  the  first  character\n  after the open bracket or the circumflex; any other\n  position will end the set.  The hyphen character  -\n  is  also  special;  when  placed  between two other\n  characters, it adds all intervening  characters  to\n  the  set.   To  include  a hyphen, make it the last\n  character before  the  final  close  bracket.   For\n  instance,  `[^]0-9-]'  means  the  set  `everything\n  except  close  bracket,  zero  through  nine,   and\n  hyphen'.   The string ends with the appearance of a\n  character not in the (or, with  a  circumflex,  in)\n  set or when the field width runs out.\n\nSo, I interpret this as read everything up until the terminating newline.  Since the man page says the next argument must be a character pointer, the entire sequence is read as a string.\n\nFor what it's worth, I don't use scanf.  I use gets or fgets, and if I really need scanf, I then use sscanf on what was read by gets or fgets.
56444
www.koders.com\n\nthese guys have all the code.from c,c++ to java..
608853
Code written in C and it works in C++\n\n#include <stdio.h>\n#include <conio.h>\n\nvoid main() {\n     float f[5];\n     int   i[5];\n     int j;\n     clrscr();\n     printf("Please, enter five float numbers: &#92;n");\n     for (j=0;j<5;j++){\n scanf("%f",&f[j]);\n i[j]=(int) f[j];\n     }\n     printf("Float value&#92;n");\n     for (j=0;j<4;j++)\n printf("%2.2f&#92;n",f[j]);\n     printf("&#92;nInteger value&#92;n");\n     for (j=0;j<4;j++)\n printf("%d&#92;n",i[j]);\n\n     getch();\n}
1130146
C program? Do you mean the C language, or the C Drive?
543995
If you are doing it strictly for hobby, such as myself  i would suggest learning visualbasic.net.\n\nAs you become more curious you may delve into things such as c or assembler, but dont start with those.