plizzzzz help me write das program in C???
345978
/* Here's the entire code [including the main() function]. I have written a generic reverse function which can be used anywhere. */\n\n#include <stdio.h>\n\nvoid reverse ( char str[] )\n{\n        char *ptr = str;\n        int arrLength = strlen( str );\n        int i;\n        char temp[arrLength];\n\n        for ( i = (arrLength-1); i >= 0; i-- )\n        {\n                temp[i] = *ptr++;\n        }\n\n        ptr = str;\n\n        for( i = 0; i < arrLength; i++ )\n        {\n                *ptr++ = temp[i];\n        }\n\n\n}\n\nint main()\n{\n        char str[] = "This will be reversed";\n        reverse( str );\n        printf( "%s", str);\n\n}
225777
From the DOS prompt, type Format c:
671787
There is a C language tutorial available on the net.It is available in PDF format.You can search for it on yahoo search.
60802
"disp" or "display" functions\n"line" is helpful too\n\nTry to make a string x='*****' y='** **' \ndisp x,y \nETC....
856373
look in the boost site:\n\nhttp://boost.org
160699
#include <iostream.h>\n#include <fstream.h>\n\nvoid main()\n{\n  ofstream output;\n  output.open("outpu.dat");\n\n  output << "Ouput test data";\n\n  output.close();\n}
854914
Here is line by line code with comments:\n\ndosseg - Declare DOS segment\n.model small - Declare as Small memory model\n.stack - Declare Stack segment\n.data - Declare Data segment\n.code - Declare Code segment\n\n(All the above are called Assembler Directives for Microsoft Macro Assembler or MASM)\n\nmain proc - Main program begins\nmov ax, @data - Move Data segment address to AX\nmov ds, ax - Set data segment address to DS\nmov cx, 7 - Move 7 to CX(Loop counter)\n\nmov dl, 41h - Move 41H(the alphabet "A")\n\nnext_char: mov ah, 02h - Move 02H to AH(Indicate you want to write to standard output)\nint 21h - Call DOS Interrrupt 21H to write to standard output the character in DL\ninc dl - Increment DL(the character in DL is now B/C/D/E/F/G for each interation.\nloop next_char - Loop 7 times(as many times as CX)\n\nExit: mov ax, 4c00h - Move 4CH to AH and 00 to AL which indicates "Terminate program and return the code in AL" which is 00\nint 21h - Invoke DOS interrupt to terminate the program.\n\nmain endp - End of code segment.\nend main - Main program ends.\n\nFinally the output of the program is "ABCDEFG".\n\nYes this is an Intel processor assembly language.
400603
Those mentioned above (Visual studio) are fine but for beginning I'd recommend something smaller and simpler... try devC++... it's free and can be found at bloodshed.net...\n\nthen (just to keep the tradition) write something like this:\n#include<stdio.h>\nmain()\n{\nprintf("Hello World&#92;n");\ngetchar();\n}\nThen hit f9 to save the file, compile it and run...
81883
Details of the algorithm for conversion along with\nsource program written in C can be found at.\nhttp://www.codepedia.com/1/Art_Expressions_p1\n\nA good short article on this topic.\nhttp://www.cs.man.ac.uk/~pjj/cs2121/fix.html
109430
I use notepad++ its a free program that you can search for and download. once you have it you can put it in c++ mode and start writng. once your finished compile it
742648
#include<stdio.h>\n#include<conio.h>\nvoid main()\n{\nint n=5,i,j;\nclrscr();\nfor(i=1;i<=2*n-2;i++)\n{\nprintf(" ");\n}\nprintf("1&#92;n");\nfor(i=2;i<=n-1;i++)\n{\nfor(j = 1;j<=(n-i)*2;j++)\nprintf(" ");\nfor(j = i;j<=2*i-1;j++)\n{\nprintf("%d ",j);\n}\nfor(j = 2*i-2;j>=i;j--)\n{\nprintf("%d ",j);\n}\nprintf("&#92;n");\n}\nfor(i = n;i<=2*n-1;i++)\nprintf("%d ",i);\nfor(i = 2*n-2;i>=n;i--)\nprintf("%d ",i);\ngetch();\n}
187025
use the cacls command.\n\nStart > Run > CACLS /?\n\nThe above command will display the help and file syntax.
393014
well that's a very openended question but asfar as computer programs so here's a good link for C programming\nhttp://www.itee.uq.edu.au/~comp2303/Leslie_C_ref/C/master_index.html
506681
write it yourself or find an open source solution.\nno one is going to research this, or write it for you.
970804
1)  In your code you must #include the headers you need.\n#include <stdio.h>\n\n2)In your IDE and/or the cmd line environment, you must have the directory path to the system header files in the INCLUDE path.  Do a SET command and it should have that directory in there in the INCLUDE environment variable.\n\n3) you must pass all of the correct libraries in to the linker.\n4) you must include the path to the system libraries in your LIB path.  Do a SET command and it should have that directory in the LIB environment variable.
363898
go to dos . type in format c : and yes
785470
There are numerous ways to do that. \nHere is, probably the simplest:\n\nchar *s="char *s=%c%s%c;%cmain() {printf(s,34,s,34,10,10);}%c";\nmain() {printf(s,34,s,34,10,10);}\n\nThe program itself is fairly useless.\nThe whole point of an exercise like this is the satisfaction of finding a solution yourself. Too bad, you did not give yourself a chance