Nullptr was not declared

Home Forums & Discussions Technology Today Nullptr was not declared

Viewing 0 reply threads
  • Author
    Posts
    • #5772 Reply
      limedezi
      Guest

      ==============================
      >> ??????? ? ??????????
      ==============================

      ? ???? ??????: int average = getAverage (* array, * hours) ?? ?????????? ?? ?????? ? ????, ?? ?? ??? ?? ???????? ?? ????. «???????? ??????» ???? ?????? ???? ???? ??????. ????? ?????????? ?????? nullptr: ??? ???? ????????? ??? C ? 2011 ????. ????????, ? ????? ???? ??????????? ???????????, ?? ? ??? ???? ?????? ?????????? ????. ???? ?? ???????? nullptr ?? 0, ??? ????? ? ???????. ? ?????? ??????? ?????????? g -v ? ???????? ????????? ? ???, ??? ?? ????????? ? ?????. – 7 ?????? '14 ? 3: 55? ?? ??????, ??? ?? ?????? ? ????. ????????, ??? ??? ???????, ??? ?????? ? ???? ????? ??????. – 7 ?????? '14 ? 4:36
      ? ???????? Eclipse Helios ? ? ???? ?????????? g -4.6. ???????, ? ?? ????????, ??? g 4.6 ????????? ??????? C 11. ? ?????? ?????? C, ??????? ?????????? nullptr ? auto keywords. ? ?????? ?????????? ????????? ??????: – ../filename.cpp:13:13: ??????: 'nullptr' ?? ???????? ? ???? ??????? ../filename.cpp:14:2: warning: 'auto' ??????? ???????? ? C 0x, ??????????, ??????? ??? [-Wc 0x-compat] ?? ????? ???? ?? ???????? ?? ?????????? ???. ??????? ? ??????? ?? ?? ????????. ??????????, ???????? ??? ?????? ??? ????????. ?????? ?????? ?????? g ? ????? ????????? ?????????? ?? ???????????? – 5 ??? 2012 ? 17:48 1??????????, ???????? ??????? ????, ??????? ????????????? ??? ?????????, ??? ???????? ?? ???????? ????????? ?????? ?????? ?????. – 5 ?????? '12 ? 18: 04? ????????? g 4.6 ? ?????????? ?????? ???? ????? ?????: – int * ptr = nullptr auto x = 123 – 5 ?????? '12 ? 18: 21? ????????? ???????? -std = gnu 0x ? – Std = c 0x ????????? ????????? ??????, ?? ???????? ?? ?? ????????. ? ??????? ??? ? ????????? ??????? -> C / C Build -> ????????? ??????????? -> ????????? ?????? ???????????. ??? ?? ?????? – 5 ?????? '12 ? 17: 59 ????????, ?? ??????, ??? ?????? ????? ????? ????????? ? ??????????. 🙂 – 5 ??????'12 ? 18: 06??? ????? ?????? ???? ?? ?????????, ? ? ????????? -std = c 11or -std = c 0x` ? ??????????? ?? ?????? ?????? ???????????. Gnu 0x ????????? ????????????? ??????????. – April 5 '12 ? 18:45 2D????? ?? ?? ???? -> ????????? -> C / C -> Build -> ?????????? – 6 ?????? '12 ? 21:30 1???????? ?? ??????????? ?????? ??????????? ??? ?????? ??????? ????? ?????? ?????? ???? ????? ???? ??????? ?????????? ? ???????? ? ???????????????? ???????. ????? ????????? ?????? ???? ??? ???????, ???????? ?????? ??????? ???? ???? ?????? ? Project Explorer, ???????? «????????», ????? ????????? ?? ??????? «?????» C / C, ????? «?????? ????». ????? ??????? «???????????? ????????? ???????» ? ????????? ??, ??????? ??? ?? ?????. ????? ????, ?? ???????, ??? ???????????? ? ??????? ??????????? C 11? Upvoted, ????? ????????????? downvote. ??? ????? ????????? ????????. – 5 ?????? '12 ? 17: 51???????. ? ????? ??? ??????????? ? ???? ?????????, ??????? ? ???????, ??? ??? ????? ?????????. – 5 ?????? '12 ? 17: 52 ? ?? ???? ??????? ??????? ???? ?? ??????? ????? C / C ? ????????? ??????? Eclipse. ? ????????? g 4.6. ???????, ??? ????????? ??????? C 11, ? ????????? nullptr ? auto. ?????????. – 5 ?????? '12 ? 18: 02?????????, ????? ?????? eclipse ? ??? ????? ????? ?????? ???, ????????? ? ???? ??????? -> ?? Eclipse. ? ???????? ?? «Build id: 20120216-1857», ? ? ???? ??? ??????? ? ??? ??????????. – ???. 5 '12 ? 18:04 2?? ??????????? ?????? g 4.6, ?? ?????? ???????? ???? -std = c 0x ??? ?????????? g -std = c 0x * .cpp -o ??????
      ????? ???????????? ???? ?????? ???? ??????? ??? ????????????? nullptr ? g? – Stack OverflowI ????????? g 4.4.1 ? ???? ???????????? nullptr, ?? ? ?? ???? ?????, ????? ???????????? ???? ?????? ???? ???????. ??? ?? ?????? ?? ???????? ?????, ?????? ??? ??? ??????? ???????????? ??? ??????????? ??? ??????: «nullptr» ?? ??? ???????? ? ???? ??????? ???????, ????????, ??? ????? ??????????? ??????????? ?????? ??? ?????. 🙂 – 12 ???? '13 ? 15: 12But -std = c 0x ?? ????????? nullptr ? Gcc 4.4.x – 13 ???'16 ? 17:46
      ? ??-?? .. ? ?????? ?????????? ???????????? ????????? ? ??????? cc1plus: ??????: ??????????? ????? ????????? ?????? «-std = c 11». ??, ?????? ?????? gcc 4.6 ?? ?????????????? libsass, ????? C-???????????. ? node-sass 2.1.1 ??? ????? ??????? ? gcc 4.5. ???? ?? ?????????? ???? ????????, ?? ?????? ??????????? ????????? ?? ???? ??????, ????? ??????? ?????????? ? ???????????:
      ??? ??? ??????, ??????? ?? ??????, ?? ? ?????? ?????????? ??? ???, ? ? ???? ????? ?? ????????, ?? ? ???? ???? ????????, ??? ?????? cvv ?? ??????????? (?? ????? make ? ???? ??? ??? ???? ??????????? ???????????? ?? opencv_cvv) ? ?????, ??? ?? ??????? ????? ??????? ??? ????????, ????????? ??? ??????? ???????? ???????? ????????, ? ?? ??????????? ???????? -). ?????? cvv ??-???????? ????? ????????, ??????? ???? ???-?? ?? ?????????, ??? ? ?????, ??? ?? ?????? ???? ????????.

Viewing 0 reply threads
Reply To: Nullptr was not declared
Your information: