Éñ»°ÏµÁÐÖ®Ò» C ³ÌÐò²»ÄÜ·´±àÒë
ÍøÉÏÁ÷´«ºÜ¶àCºÍC# Éñ»°
ÎÒÌýÁËÒԺ󣬾ö¶¨´òÆÆÕâЩÃÀÀöµÄÉñ»°¡£¡£¸ø´ó¼Ò¿ª¿ªÑ۽磬¸üÏ£ÍûÄÜ˵Ã÷Ò»¸öÉñ»°£¬¡££¬£¬
½â¿ªÎÒ ×îÉñÃØµÄµÈ´ý
C
³ÌÐòÔõÑù·´±àÒë³É
C
ÓïÑԵijÌÐò£¿
Éñ»°£ºÎÞ·¨·´±àÒëµÄ£¬£¬Ö»ÄÜͨ¹ý»ã±àÀ´½âÊÍ¡£
Ïêϸ£º
CÓïÑÔÔ´³ÌÐò¾¹ý±àÒë¡¢ÓÅ»¯£¬µÃµ½Ä¿±ê¸ñʽ£¬µ«ÓÉÄ¿±ê¸ñʽ²»ÄÜÄæÍÆµÃµ½CÔ´Â룬ÒòΪĿ±êÂë¿ÉÄÜÊǾ¹ýÓÅ»¯µÄ£¬ËÒ²²»ÄÜ˵ÕâЩÓÅ»¯×öµ½ÁËÄÄÑùµÄ³Ì¶È£¬Òò¶øÃ»
ÓÐËã·¨½øÐÐÕâÑùµÄÄæÍÆ£¬ËùÒÔ²»¿ÉÄÜ´ÓÄ¿±ê¸ñʽµÃµ½CÔ´Âë¡£
½ñÌìÎÒ·´±àÒëµÄÊÇÎÒ×Ô¼ºÐ´µÄ
С¶«Î÷£¬Æäʵ¾ÍÊÇMSDNÕÒµÄÀý×Ó¡£
// crt_printf.c
// This program uses the printf and wprintf functions
// to produce formatted output.
#include <stdio.h>
int main( void )
{
char ch = 'h',
*string = "computer";
wchar_t wch = L'w',
*wstring = L"Unicode";
int count = -9234;
// Display integers
printf( "Integer formats:\n"
" Decimal: %d Justified: %.6d "
"Unsigned: %u\n",
count, count, count, count );
// Display decimals
printf( "Decimal %d as:\n Hex: %Xh "
"C hex: 0x%x Octal: %o\n",
count, count, count, count );
// Display in different radixes
printf( "Digits 10 equal:\n Hex: %i "
"Octal: %i Decimal: %i\n",
&
Ïà¹ØÎĵµ£º
ÌâÍâÆª£ºµ¥Ôª²âÊÔÄÑÓÚ³¤ÆÚ¼á³ÖµÄÔÒòÓë½â¾ö̽ÌÖ
ÉÏһƪ¡¶µ¥Ôª²âÊÔÐ§Òæ¡·£¬ÓÐÍøÓÑÆÀÂÛ˵£º“µ¥Ôª²âÊԵĺô¦»ù±¾ÈËÈËÖªµÀ£¬¾ÍÊÇÄѼá³Ö£¡”¡£ÕâÒ»ÆÀÂÛÑÏÖØÌáÐÑÁËÎÒ£¬²»´í£¬“ÄѼá³Ö”Ò²ÊÇÒ»¸öÆÕ±éÏÖ×´¡£Èç¹û²»Äܼá³Ö£¬ÄÇÒ»Çж¼Êǰ״Òò´Ë£¬ÕâÀï²åÈëÒ»¸öÌâÍâÆª£¬Ì½ÌÖµ¥Ôª²âÊÔÄÑÓÚ³¤Æ ......
externÊÇC/C++ÓïÑÔÖбíÃ÷º¯ÊýºÍÈ«¾Ö±äÁ¿×÷Ó÷¶Î§£¨¿É¼ûÐÔ£©.
Ëü¸æËß±àÒëÆ÷£¬ÆäÉùÃ÷µÄº¯ÊýºÍ±äÁ¿¿ÉÒÔÔÚ±¾Ä£¿é»òÆäËüÄ£¿éÖÐʹÓá£
1¡£¶ÔÓÚextern±äÁ¿À´Ëµ£¬½ö½öÊÇÒ»¸ö±äÁ¿µÄÉùÃ÷£¬Æä²¢²»ÊÇÔÚ¶¨Òå·ÖÅäÄÚ´æ¿Õ¼ä¡£Èç¹û¸Ã±äÁ¿¶¨Òå¶à´Î£¬»áÓÐÁ¬½Ó´íÎó
2¡£Í¨³££¬ÔÚÄ£¿éµÄÍ·ÎļþÖжԱ¾Ä£¿éÌṩ¸øÆäËüÄ£¿éÒýÓõĺ¯ÊýºÍ ......
/*
˼·£ºµÝ¹éËã·¨
´Ó¿ªÊ¼ÍùºóµÝÔöµØÐ´Êý×Ö£¬µ±Ç°´ÓnowÖµ¿ªÊ¼£¬´æ´¢µÄλÖôÓcur¿ªÊ¼£¬
ÔòÏÔÈ»¼ÓÉÏ£¬now..n£¬¶¼ÊÇеÄ×éºÏÊý£¬¶ÔÓÚÿһ¸ö£¬{ Êä³öÖ®£¬È»ºóµÝ¹é£¬´¦Àí _c(n, cur+1, a, i+1) }
*/
/* Êä³ö1,2,3,..,nµÄ×éºÏÊý */
#include <stdio.h>
#include <assert.h>
#include <malloc.h>
void ......
/*
˼·£ºµÝ¹éËã·¨
ǰ0..cur-1λÖÃÉÏÒѾÅźã¬µ±Ç°curλÖÃȡһ¸öºÍÇ°Ãæ¶¼²»Ò»ÑùµÄ£¬È»ºóµÝ¹é´¦ÀíºóÃæµÄ¡£
*/
/* Êä³ö1,2,3,..,nµÄÅÅÁÐÊý */
#include <stdio.h>
#include <assert.h>
#include <malloc.h>
void p(int n)
{
extern void _p(int n, int cur, int *a);
int *a;
a = ......
ÎÒ¸ø´ó¼ÒÍÆ¼öÒ»¸ö WIN7 ϱߵÄÎÞËð·ÖÇø¹¤¾ß Acronis Disk Director Suite
Acronis Disk Director Suite ÏÂÔØµØÖ·
http://dl.iplaysoft.com/files/32.html
Acronis Disk Director Suite ×¢²á»úÏÂÔØµØÖ·
×¢²á»ú.rar
ʵÔÚ²»·ÅÐÄ£¬¾õµÃ×¢²á»úÓж¾µÄÅóÓÑ¿ÉÒÔʹÓÃÒÔÏÂÐòÁкÅ
LS6ZZ-YFQYY-667Z9-5ZQGP-P7WCP
5PRKN-9R4 ......