C´´½¨¶à¸öÎļþ£¿£¿£¿£¿
#include <...>
#define MAX 100
void main()
{
char *str[MAX] //
¡£¡£¡£¡£// ÔÚstr[] Öдæ·Å ·¾¶ Èç d:\\1 , d:\\2,d:\\1 , d:\\1,d:\\3 , d:\\4...............´®
for(i=0;i <MAX;i++)
{
mkdir(str[i]);
}
}
ÕâÑùÎÊʲô²»Äܽ¨Á¢¶à¸öÎļþ£¿ ¶øÖ»ÄÜ´´½¨d:\\100£¨ÔÚDÅÌ´´½¨Ò»¸öÒÔ100ÃüÃûµÄÎļþ¼Ð£©£¿ÎªÊ²Ã´²»ÊÇ1...100¸öÎļþ£¿
²ËÄñÇó¾È ´óϺ£¡
mkdirÊÇ´´½¨Îļþ¼Ð£¬fopenÊÇ´´½¨Îļþ¡£
Creates a new directory.
int _mkdir(
const char *dirname
);
int _wmkdir(
const wchar_t *dirname
);
Parameters
dirname
Path for a new directory.
Return Value
Each of these functions returns the value 0 if the new directory was created. On an error, the function returns –1 and sets errno as follows.
EEXIST
Directory was not created because dirname is the name of an existing file, directory, or device.
ENOENT
Path was not found.
For more information about these and other return codes, see _doserrno, errno, _sys_errlist, and _sys_nerr.
The _mkdir function creates a new directory with the specified dirname. _mkdir can create only one new directory per c
Ïà¹ØÎÊ´ð£º
//C ½Ó¿Ú
extern "C"
{
TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......
ÓÃc/c++¶¨Î»É¾³ýÒ»ÐеÄÎÊÌâ¡£
ÎÊÌâ±³¾°£º
ËùÐèÊý¾ÝÏ൱´ó¡£aÓëbÎļþ¾ùΪһ×éÎļþ£¨a1£¬a2¡£¬b1£¬b2¡£©£¬aÎļþÓÐ×î´óÊý¾ÝÐÐÊý£¨Èç5000£©£¬ÒÔÐеÄÐÎʽ£¬´ÓaÎļþÖжÁÈ¡Êý¾Ý£¬½«aÖв»ÄÜ´¦ÀíµÄÊý¾Ý·ÅÔÚbÎ ......
1. Èç϶¨Òå»áÓÐʲô´íÎó·¢Éú
//file1.c
int a[10];
//file2.c
extern int *a;
2. ´óÈÝÁ¿È«¾Ö±äÁ¿ÓÐʲôΣº¦£¬Èç
//file.c
......
#include"stdio.h"
#include"stdlib.h"
void ContrTwo(char i)
{
char str1[8];
itoa(i,str1,2);
printf("%s",str1);
}
unsigned char leftRot(char str,int i);
unsign ......
ÇëÎÊVFPÖÐÈçºÎµ÷ÓÃC/C++º¯Êý£¿
ÄãÒªµ÷ÓÃʲô¹¦Äܵĺ¯Êý£¿Òª¿´¿´VFPÖÐÓÐûÓжÔÓ¦µÄº¯Êý£¬Èç¹ûÓоÍÊ¡×ÅÔÙµ÷ÓÃÁË¡£Èç¹ûûÓУ¬¿ÉÒÔ½«C/C++º¯Êýд¸öDLL»òFLL£¬È»ºóÔÚVFPµ÷Óü´¿É¡£
Ê®¶¹Èý ÀÏʦ£¬Ôõô²ÅÄÜÐÞ¸Ä×Ô¼ºµÄ ......