The Modern C++ Challenge : Become an expert programmer by solving real-world problems.
C++ is one of the most widely-used programming languages and has applications in a variety of fields, such as gaming, GUI programming, and operating systems, to name a few. Through the years, C++ has evolved into (and remains) one of the top choices for software developers worldwide. This book will...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Math Problems; Problems; 1. Sum of naturals divisible by 3 and 5; 2. Greatest common divisor; 3. Least common multiple; 4. Largest prime smaller than given number; 5. Sexy prime pairs; 6. Abundant numbers; 7. Amicable numbers; 8. Armstrong numbers; 9. Prime factors of a number; 10. Gray code; 11. Converting numerical values to Roman; 12. Largest Collatz sequence; 13. Computing the value of Pi; 14. Validating ISBNs; Solutions; 1. Sum of naturals divisible by 3 and 5.
- 2. Greatest common divisor3. Least common multiple; 4. Largest prime smaller than given number; 5. Sexy prime pairs; 6. Abundant numbers; 7. Amicable numbers; 8. Armstrong numbers; 9. Prime factors of a number; 10. Gray code; 11. Converting numerical values to Roman; 12. Largest Collatz sequence; 13. Computing the value of Pi; 14. Validating ISBNs; Chapter 2: Language Features; Problems; 15. IPv4 data type; 16. Enumerating IPv4 addresses in a range; 17. Creating a 2D array with basic operations; 18. Minimum function with any number of arguments; 19. Adding a range of values to a container.
- 20. Container any, all, none21. System handle wrapper; 22. Literals of various temperature scales; Solutions; 15. IPv4 data type; 16. Enumerating IPv4 addresses in a range; 17. Creating a 2D array with basic operations; 18. Minimum function with any number of arguments; 19. Adding a range of values to a container; 20. Container any, all, none; 21. System handle wrapper; 22. Literals of various temperature scales; Chapter 3: Strings and Regular Expressions; Problems; 23. Binary to string conversion; 24. String to binary conversion; 25. Capitalizing an article title.
- 26. Joining strings together separated by a delimiter27. Splitting a string into tokens with a list of possible delimiters; 28. Longest palindromic substring; 29. License plate validation; 30. Extracting URL parts; 31. Transforming dates in strings; Solutions; 23. Binary to string conversion; 24. String to binary conversion; 25. Capitalizing an article title; 26. Joining strings together separated by a delimiter; 27. Splitting a string into tokens with a list of possible delimiters; 28. Longest palindromic substring; 29. License plate validation; 30. Extracting URL parts.
- 31. Transforming dates in stringsChapter 4: Streams and Filesystems; Problems; 32. Pascal's triangle; 33. Tabular printing of a list of processes; 34. Removing empty lines from a text file; 35. Computing the size of a directory; 36. Deleting files older than a given date; 37. Finding files in a directory that match a regular expression; 38. Temporary log files; Solutions; 32. Pascal's triangle; 33. Tabular printing of a list of processes; 34. Removing empty lines from a text file; 35. Computing the size of a directory; 36. Deleting files older than a given date.