Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

C++

What does the explicit keyword mean?

by IT Nursery

What does the explicit keyword mean in C++? 10 The compiler is allowed to make one implicit conversion to resolve the parameters to … Read more

Tags c, c++-faq, constructor, explicit, explicit-constructor

What are the differences between a pointer variable and a reference variable in C++?

by IT Nursery

I know references are syntactic sugar, so code is easier to read and write. But what is the difference between a pointer variable … Read more

Tags c, c++-faq, pointers, reference

The Definitive C++ Book Guide and List

by IT Nursery

This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. … Read more

Tags c, c++-faq

Why is processing a sorted array faster than processing an unsorted array?

by IT Nursery

Here is a piece of C++ code that shows some very peculiar behavior. For some strange reason, sorting the data (before the timed … Read more

Tags branch-prediction, c, cpu-architecture, java, performance

System.out.println function syntax in C++

by IT Nursery

I want to create a function in C++ using cout that has the same as the println function in java. This means that … Read more

C++ Linked List Reverse Function Triggers Infinite Loop

by IT Nursery

I’ve created a linked list from an array. It works fine. But when I try to reverse the list using the reverseList() function, it starts … Read more

Tags c, linked-list, reverse

How to static assert to disallow “mixed endianness” in a non-templated member function

by IT Nursery

I am using 2 x std::uint64_t and 1 x std::uint32_t in a high performance implementation of of operator<=> in a struct conataining a std::array<std::byte, 20>. I am trying to make … Read more

Tags c, if-constexpr

Why is “while ( !feof (file) )” always wrong

by IT Nursery

What is wrong with using feof() to control a read loop? For example: Best Answer while(!feof) is wrong because it tests for something that is irrelevant … Read more

Tags c, eof, feof, file, while-loop

Undefined, unspecified and implementation-defined behavior

by IT Nursery

What is undefined behavior (UB) in C and C++? What about unspecified behavior and implementation-defined behavior? and What is the difference between them? Best Answer Undefined behavior is one … Read more

Tags c, implementation-defined-behavior, undefined-behavior, unspecified-behavior
Post navigation
Newer posts
← Previous Page1 … Page74 Page75

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery