当前位置: 首页> 文旅> 艺术 > 网络营销策划的基本原则是什么_新疆建设人才培训网_什么是营销模式_产品推广平台有哪些

网络营销策划的基本原则是什么_新疆建设人才培训网_什么是营销模式_产品推广平台有哪些

时间:2025/8/28 1:23:50来源:https://blog.csdn.net/weixin_42550185/article/details/143228988 浏览次数:1次
网络营销策划的基本原则是什么_新疆建设人才培训网_什么是营销模式_产品推广平台有哪些

1、模块1

main.cpp里输入程序如下:

#include "stdio.h"   //使能printf()函数

#include <stdlib.h>  //使能exit();

#include "Data_type.h"

 

//argc 是指命令行输入参数的个数;

//argv[]存储了所有的命令行参数;

//argv[0]通常指向程序中的可执行文件的文件名。在有些版本的编译器中还包括程序文件所在的路径。

//如:"d:\Production\Software\VC++_2005_Test\Win32控制台应用程序\Vc++_Test\debug\Vc++_Test.exe"

int main(int argc,char *argv[])

{

    int i;

    for(i=0;i<argc;i++)

    {

       printf("Argument %d is %s.\n", i, argv[i]);

    }

 

    Data_Type_test();

 

    exit(0); //注意:return是退出當前函數exit是退出當前程序。

}

2、模块2

Data_Type.cpp里输入程序如下:

#include "stdio.h"   //使能printf()函数

 

void Data_Type_test()

{

    printf( "int type data length is %d\n",sizeof(int) );

    printf( "float type data length is %d\n",sizeof(float) );

    printf( "double type data length is %d\n",sizeof(double) );

    printf( "unsigned char type data length is %d\n",sizeof(unsigned char) );

    printf( "char type data length is %d\n",sizeof(char) );

    printf( "short type data length is %d\n",sizeof(short) );

    printf( "short int type data length is %d\n",sizeof(short int) );

    printf( "signed short type data length is %d\n",sizeof(signed short) );

    printf( "signed hort int type data length is %d\n",sizeof(signed short int) );

    printf( "unsigned short type data length is %d\n",sizeof(unsigned short) );

    printf( "unsigned hort int type data length is %d\n",sizeof(unsigned short int) );

    printf( "signed int type data length is %d\n",sizeof(signed int) );

    printf( "signed  type data length is %d\n",sizeof(signed) );

    printf( "unsigned int type data length is %d\n",sizeof(unsigned int) );

    printf( "unsigned  type data length is %d\n",sizeof(unsigned) );

    printf( "long type data length is %d\n",sizeof(long) );

    printf( "long int type data length is %d\n",sizeof(long int) );

    printf( "signed long type data length is %d\n",sizeof(signed long) );

    printf( "signed long int type data length is %d\n",sizeof(signed long int) );

    printf( "unsigned long type data length is %d\n",sizeof(unsigned long) );

    printf( "unsigned long int type data length is %d\n",sizeof(unsigned long int) );

    printf( "bool type data length is %d\n",sizeof(bool) );

}

3、模块3

Data_Type.h里输入程序如下:

extern void Data_Type_test();

关键字:网络营销策划的基本原则是什么_新疆建设人才培训网_什么是营销模式_产品推广平台有哪些

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: