帮看看错在哪里
刘善川 正式会员 2015-08-14 22:18:16
2769 4 0

QQ截图20150814221752.png

问题来自: 随机数

共 4 个回答

    祁老师 人气红星 3178天前

    error报错是什么

    刘善川 正式会员 3178天前

    回复 祁老师

    -------------------Configuration: uu - Win32 Debug--------------------

    Compiling...

    uu.cpp

    c:\documents and settings\administrator\uu.cpp(5) : error C2664: 'time' : cannot convert parameter 1 from 'int *' to 'long *'

            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

    c:\documents and settings\administrator\uu.cpp(6) : error C2065: 'srand' : undeclared identifier

    c:\documents and settings\administrator\uu.cpp(9) : error C2065: 'rand' : undeclared identifier

    c:\documents and settings\administrator\uu.cpp(21) : warning C4508: 'main' : function should return a value; 'void' return type assumed

    执行 cl.exe 时出错.


    uu.obj - 1 error(s), 0 warning(s)


    刘善川 正式会员 3178天前

    回复 祁老师:和视频上的一样,为啥总是报错呢

    祁老师 人气红星 3178天前

    回复 刘善川:加我QQ吧  1193620424

您还没有登录,所以不能回复该问题
我要回复

  • 0

    点赞

  • 扫一扫分享朋友圈

    二维码

  • 分享

相关问题