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

char

How to sort with a lambda?

by IT Nursery

sort(mMyClassVector.begin(), mMyClassVector.end(), [](const MyClass & a, const MyClass & b) { return a.mProperty > b.mProperty; }); I’d like to use a lambda function … Read more

Tags c, char, constants, lambda, sorting

Is char signed or unsigned by default?

by IT Nursery

In the book “Complete Reference of C” it is mentioned that char is by default unsigned. But I am trying to verify this … Read more

Tags c, char, signed, types

What is the best way to tell if a character is a letter or number in Java without using regexes?

by IT Nursery

What is the best and/or easiest way to recognize if a string.charAt(index) is an A-z letter or a number in Java without using … Read more

Tags char, java, letter, numbers

Fastest way to iterate over all the chars in a String

by IT Nursery

In Java, what would the fastest way to iterate over all the chars in a String, this: String str = “a really, really … Read more

Tags char, iteration, java, performance, string

Returning an array using C

by IT Nursery

I am relatively new to C and I need some help with methods dealing with arrays. Coming from Java programming, I am used … Read more

Tags arrays, c, char, pointers

Convert char to int in C#

by IT Nursery

I have a char in c#: char foo = ‘2’; Now I want to get the 2 into an int. I find that … Read more

Tags c, char, int

Which letter of the English alphabet takes up most pixels? [closed]

by IT Nursery

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the … Read more

Tags char, CSS

Why is conversion from string constant to ‘char*’ valid in C but invalid in C++

by IT Nursery

The C++11 Standard (ISO/IEC 14882:2011) says in § C.1.1: char* p = “abc”; // valid in C, invalid in C++ For the C++ … Read more

Tags c, c++11, char, string

Java: parse int value from a char

by IT Nursery

I just want to know if there’s a better solution to parse a number from a character in a string (assuming that we … Read more

Tags char, int, java, parseint, parsing

Single quotes vs. double quotes in C or C++

by IT Nursery

When should I use single quotes and double quotes in C or C++ programming? 1Best Answer 14

Tags c, char, string-literals, syntax
Older posts
Page1 Page2 Page3 Next →

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