C++ FOR LAZY PROGRAMMERS: quick, easy, and fun c++for beginners

دانلود کتاب C++ FOR LAZY PROGRAMMERS: quick, easy, and fun c++for beginners

58000 تومان موجود

کتاب ج برای برنامه نویسان تنبل: سریع ، آسان و سرگرم کننده C برای مبتدیان نسخه زبان اصلی

دانلود کتاب ج برای برنامه نویسان تنبل: سریع ، آسان و سرگرم کننده C برای مبتدیان بعد از پرداخت مقدور خواهد بود
توضیحات کتاب در بخش جزئیات آمده است و می توانید موارد را مشاهده فرمایید


این کتاب نسخه اصلی می باشد و به زبان فارسی نیست.


امتیاز شما به این کتاب (حداقل 1 و حداکثر 5):

امتیاز کاربران به این کتاب:        تعداد رای دهنده ها: 4


توضیحاتی در مورد کتاب C++ FOR LAZY PROGRAMMERS: quick, easy, and fun c++for beginners

نام کتاب : C++ FOR LAZY PROGRAMMERS: quick, easy, and fun c++for beginners
عنوان ترجمه شده به فارسی : ج برای برنامه نویسان تنبل: سریع ، آسان و سرگرم کننده C برای مبتدیان
سری :
نویسندگان : ,
ناشر : Apress
سال نشر : 2019;2020
تعداد صفحات : 655
ISBN (شابک) : 9781484251867 , 1484251865
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 13 مگابایت



بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.


فهرست مطالب :


Table of Contents......Page 5
About the Author......Page 17
About the Technical Reviewer......Page 18
Acknowledgments......Page 19
Introduction......Page 21
A simple program......Page 26
Spacing......Page 29
…in Visual Studio......Page 31
Compiling your program......Page 32
The files you created......Page 36
Antibugging......Page 39
…with g++......Page 42
Cool command-line tricks......Page 43
How not to be miserable......Page 44
Shapes and the functions that draw them......Page 46
Antibugging......Page 55
consts and colors......Page 56
sout, escape sequences, and fonts......Page 60
SSDL_RenderText, SSDL_RenderTextCentered......Page 64
Images and changing window characteristics......Page 68
Antibugging......Page 74
Multiple images together......Page 76
Adding transparency with GIMP......Page 77
Sound......Page 82
Antibugging......Page 85
Variables......Page 86
Constants......Page 88
When to use constants, not literal values......Page 89
Integer division......Page 90
Assignment (=) operators......Page 91
A diving board example......Page 92
The no-worries list for math operators......Page 95
Built-in functions and casting......Page 96
Antibugging......Page 101
Mouse functions......Page 104
Antibugging......Page 107
if......Page 108
Combining conditions with &&, ||, and !......Page 111
Antibugging......Page 112
Boolean values and variables......Page 115
A hidden object game......Page 117
Keyboard input......Page 125
Antibugging......Page 127
while and do-while......Page 129
Loops with SSDL......Page 131
break and continue......Page 132
Antibugging......Page 133
for loops......Page 136
Increment operators......Page 137
An example: averaging numbers......Page 138
Antibugging......Page 140
chars and cctype......Page 142
switch......Page 147
Antibugging......Page 148
Adventures in robotic cooking......Page 150
Requirements: What do we want to do?......Page 154
Algorithm: How do we do it?......Page 155
Coding: putting it all into C++ (plus: commenting the lazy way)......Page 157
Functions that return values......Page 163
Functions that return nothing......Page 170
Global variables......Page 174
Antibugging......Page 175
How to write a function in four easy steps (and call it in one)......Page 178
Why have functions, anyway?......Page 182
Making a random number generator......Page 193
Using the built-in random number generator......Page 196
Antibugging......Page 199
Boolean functions......Page 201
& parameters......Page 202
Antibugging......Page 207
Identifier scope......Page 208
A final note on algorithms......Page 211
A flawed program......Page 212
Visual Studio......Page 217
ddd......Page 219
Visual Studio......Page 220
ddd......Page 222
Fixing the stars......Page 223
Antibugging......Page 224
Bottom-up testing......Page 225
More on antibugging......Page 226
Arrays......Page 228
Arrays’ dirty little secret: using memory addresses......Page 231
Antibugging......Page 232
Arrays as function parameters......Page 233
Array parameters and reusability......Page 234
Antibugging......Page 235
Enumeration types......Page 236
enum class......Page 238
Antibugging......Page 239
Multidimensional arrays......Page 240
Displaying the board......Page 241
Arrays of more than two dimensions......Page 244
Antibugging......Page 245
structs......Page 247
Cool struct tricks......Page 251
Making a movie with struct and while......Page 252
Sprites......Page 259
Antibugging......Page 264
Mouse......Page 265
Keyboard......Page 266
Events......Page 268
Cooldowns and lifetimes......Page 271
Collisions......Page 274
The big game......Page 275
Antibugging......Page 289
Standard I/O programs......Page 293
Compiling in Microsoft Visual Studio......Page 294
Antibugging......Page 297
Compiling with g++......Page 298
Getting the command prompt in Windows......Page 300
while (cin)......Page 302
Reading in characters, including whitespace......Page 304
Antibugging......Page 305
Using file names......Page 307
Character arrays......Page 313
Antibugging......Page 316
Dynamic allocation of arrays......Page 319
Antibugging......Page 322
Using the * notation......Page 323
Antibugging......Page 327
Writing classes......Page 329
Constructors......Page 332
Antibugging......Page 336
const objects, const member functions…......Page 338
…and const parameters......Page 339
Copy constructors......Page 340
Default constructors......Page 341
Conversion constructors......Page 342
Antibugging......Page 343
Default parameters for code reuse......Page 344
Date program (so far)......Page 345
inline functions for efficiency......Page 348
Access functions......Page 350
Separate compilation and include files......Page 351
What happens in separate compilation......Page 352
Writing your .h file......Page 353
Including a .h file only once......Page 354
Avoid using namespace std; in include files......Page 355
Antibugging......Page 356
Multiple-file projects in Microsoft Visual Studio......Page 358
A simple version......Page 359
A better version......Page 360
Final Date program......Page 363
static members (optional)......Page 369
The basic string class......Page 372
Destructors......Page 374
Binary and unary operators......Page 375
Assignment operators and * this......Page 377
Antibugging......Page 379
Arithmetic operators......Page 380
[] and ()......Page 383
>> and <<: operators that aren’t class members......Page 384
++ and --......Page 387
Explicit call to constructor......Page 388
Final String program......Page 389
#include ......Page 395
Exceptions......Page 396
Move constructors and move = (optional)......Page 401
Recursion (optional; used in the next section)......Page 403
Antibugging......Page 407
Algorithm analysis and O notation (optional)......Page 408
The basics of inheritance......Page 412
Constructors and destructors......Page 417
Inheritance as a concept......Page 419
Classes for card games......Page 420
An inheritance hierarchy......Page 423
private inheritance......Page 427
Hiding an inherited member function......Page 429
A game of Montana......Page 430
Function templates......Page 441
Antibugging......Page 443
The Vector class......Page 444
Efficiency (optional)......Page 449
Making Vector a template......Page 450
Antibugging......Page 454
Unusual class templates......Page 455
#include ......Page 457
Virtual functions......Page 458
Behind the scenes......Page 463
Why virtual functions often mean using pointers......Page 464
Virtual destructors......Page 469
Inheritance and move ctor/move = (optional)......Page 471
Antibugging......Page 472
Multiple inheritance......Page 474
Antibugging......Page 476
What lists are and why have them......Page 479
List::List ()......Page 483
void List::push_front (const T& newElement);......Page 484
void List::pop_front()......Page 485
More friendly syntax: pointers as conditions......Page 488
The linked list template......Page 489
Antibugging......Page 493
#include ......Page 494
Iterators......Page 495
…with vector, too......Page 499
const and reverse iterators......Page 500
Antibugging......Page 501
Getting really lazy: ranges and auto......Page 502
initializer_lists (optional)......Page 503
algorithm (optional)......Page 505
Antibugging......Page 506
Namespaces......Page 509
Conditional compilation......Page 510
Libraries......Page 511
Linking......Page 512
Running......Page 513
Static libraries – The easy option......Page 514
Dynamic Link Libraries (DLLs) – the not so easy way......Page 517
Antibugging......Page 523
Smalltalk......Page 524
What “object-oriented” is......Page 525
C++......Page 526
Standards......Page 527
sstream: using strings like cin/cout......Page 528
iomanip: formatted output......Page 531
Command-line arguments......Page 537
Debugging with command-line arguments in Unix......Page 540
static_cast et al......Page 542
Defaulted constructors and =......Page 543
constexpr and static_assert: moving work to compile time......Page 544
User-defined literals: automatic conversion between systems of measurement......Page 548
Lambda functions for one-time use......Page 551
Lambda captures......Page 552
Structured bindings and tuples: returning multiple values at once......Page 557
unique_ptr......Page 561
shared_ptr......Page 567
Bit twiddling: &, |, ~, and......Page 568
Antibugging......Page 574
protected sections, protected inheritance......Page 575
Template specialization......Page 579
friends, and why you shouldn\'t have any......Page 580
User-defined conversions......Page 585
Chapter 28: C......Page 587
Compiling C......Page 588
scanf, and the address-of (&) operator......Page 589
fprintf and fscanf; fopen and fclose......Page 592
sprintf and sscanf; fputs and fgets......Page 594
Summary......Page 597
Parameter passing with *......Page 598
Dynamic memory......Page 602
Chapter 29: Moving On with SDL......Page 604
Writing code......Page 606
Compiling......Page 610
Further resources......Page 611
SDL......Page 612
Antibugging......Page 613
Antibugging......Page 614
Making your own project files......Page 615
Antibugging......Page 616
Sound......Page 617
Precedence......Page 618
Overloading......Page 619
Appendix C: ASCII Codes......Page 620
Appendix D: Fundamental Types......Page 622
Appendix E: Escape Sequences......Page 624
cmath......Page 625
cctype......Page 626
cstdlib......Page 627
Microsoft Visual Studio......Page 628
gdb/ddd......Page 629
Added types......Page 630
Drawing......Page 631
Images......Page 632
Mouse, keyboard, and events......Page 633
Music......Page 634
Quit messages......Page 635
Sounds......Page 636
Sprites......Page 637
Text......Page 639
Time and synchronization......Page 640
Window......Page 641
References......Page 642
Index......Page 644




پست ها تصادفی