59%
C for COBOL Programmers: A Business Approach

C for COBOL Programmers: A Business Approach

          
5
4
3
2
1

Available


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Quantity:
Add to Wishlist

About the Book

Written by an experienced business data systems designer and programmer, this new tutorial provides an ideal introduction to C for the COBOL programmer who wants to become proficient in the powerful C language. Featuring side-by-side comparisons of the syntax and constructs of the two languages, C for COBOL Programmers uses the reader's knowledge of COBOL to build a framework for learning C quickly and easily. The book introduces coded examples in C early, and in the context of a business environment. A complete chapter is devoted to explaining the important differences between COBOL and C for data handling and I/O, while another chapter focusses on C programming standards as applied to business data processing. A valuable appendix cross-references COBOL commands to C commands, operators, and functions. 0805316604B08022001

Table of Contents:
(Eacha chapter begins with "Introduction" and concludes with "Summary".) Quick Guide to Chapters. Preface. Acknowledgements. How to Use This Book. 1. From COBOL to C. Introduction. Which C? Which COBOL? Which Computer? Sample Programs: Free On-line or Cheap by Mail. Evolution of C. A Quick Survey of C Compared to COBOL. Fundamental Concepts of COBOL and C Compared. Program Organization in COBOL and C. A Minimal COBOL Program (Two Versions). A Minimal C Program. How COBOL Translates to C. Summary. 2. Compiling, Preprocessor, Formatting, Comments. Introduction. Compiling Cprograms. Using Preprocessor Directives. Copy Code into a Program. Program Constants. Statement Formatting. Using White Space. Inserting Comments. Summary. 3. Defining Data in C. Introduction. Data Names in C. Mixed Case in Data Names: Don't Do It. Data Types. Common C Data Types. COBOL Data Types and Equivalent C Data Types. A single character. Alphanumerics of two or more characters (string). Integer--no decimal places. Large integer--no decimal places. Large decimal number. Inadequate decimal number. Numeric literals and constants. Record or group item. Record or group item template. Group item within another group item. Alternate method for group item template. Data type for "no value." Small integer. Where to Declare Data. DataType Modifiers. Storage Classes. Automatic. Static. External. Register. Summary. 4. Instructions, Keywords, and Function Calls. Introduction. Why C Uses Few Keywords. When to Use Keywords/Symbol Operators and When to Use Functions. Functions Compared to COBOL Subprograms. Return Value of a Function. Function Prototypes (Call Parameter Templates). Library Function Prototypes. Coercion and Conversion of Parameters. Summary. 5. Terminal Input/Output. Introduction. Terminal I/O. Format and display field(s) on the terminal. Format specifiers. Carriage control. Displaying special characters. Read a string of characters from the terminal. Read one character from the terminal. Read and format numbers and/or characters from the terminal. Convert an alphanumeric to an integer. Convert an alphanumeric to a long integer. Convert an alphanumeric to a decimal number. Convert a single character to lowercase. Convert a single character to uppercase. Summary. 6. File Input/Output. Introduction. Sequential Files. File Handling in C. Variable-Length and Fixed-Length Records. Opening and Closing Files. Open a sequential file. Close a sequential file. Reading Variable-Length Files. Read a string of characters from a file. Format and extract field(s) from a string. Read one character from a file. Printing and Writing Variable Length Files. Format and write field(s) to a file. Format specifiers. How long is a record. Carriage control. Printing special characters. FILLER. Fixed-Length Record Processing. Write a fixed-length record to a file. Read a fixed-length record from a file. AFinal Comment. Summary. 7. Moving Data. Introduction. Moving Numeric and Single-Character Data. Move a number (assign). Move a single character (assign). Move a structure (assign). Moving String Data. Move a string. Move the first n characters of a string. Find the length of a string. Find the defined length of any data item. Move and format strings and/or numbers into a string. Append one string to another one. Summary. 8. Arithmetic. Introduction. Types of Business Arithmetic in C. C and COBOL Arithmetic Operators/Keywords. Common Arithmetic Mistakes in C. Intermediate Results. Overflow. Rounding. Basic Arithmetic--"Compute" Style. Addition. Subtraction. Multiplication. Division. Remainder (modulus). Basic Arithmetic--"Adt To" Style. Add To. Subtract From. Multiply By. Divide Into. Remainder Into. Incrementing/Decrementing a Data Item. Absolute Value of a Number. Introduction. Absolute value of an integer (int). Absolute value of a long integer (long). Absolute value of a double (double). Summary. 9. If, Case (EVALUATE), and Class Tests. Introduction. Test one or more conditions. COBOL and C If Statements Compared. Numeric and Single-Character Comparisons. Equal. Not equal. Greater than. Greater than or equal. Less than. Less than or equal. Test Condition Delimiters. And and Or. If . . . then. Parentheses. Nested if statements. Curly braces and why you should use them. Other Features. NEXTSENTENCE(Do nothing). Implied subjects. Condition-names. String Comparisons. Case (EVALUATE) Statements. Class Test. Test a single character for. Alphabetic. Alphanumeric. ASCII character range. ASCII control character. C language white space. Decimal digit. Hexadecimal digit. Lowercase letter. Printable character. Printable character but not a space. Punctuation character. Uppercase letter. Summary. 10. Flow of Control Statements. Introduction. IExecute a loop while a condition is true, while varying the condition. (PERFORM ... VARYING ... UNTIL). IExecute a loop while a condition is true. (PERFORM UNTIL). IInfinite loops (intentional). ICall a function which has no parameters. (PERFORM). ICall a function with parameters. (CALL). IGo to the bottom of a loop. ITerminate a loop and go to the following statement. IGO TO. IReturn control to calling function or to operating system. (GOBACK/STOP RUN). IReturn control to operating system. (STOP RUN). Isummary. 11. Calling Functions (Subprograms). Introduction. Files and Functions. Scope of Data. Three Types of Functions. C Functions that work like COBOL subprograms. C Functions that work like COBOL paragraphs. C Functions that work like COBOL "Super Paragraphs" or "Super Subprograms" Program Global Data. Function Calls. Memory Between Function Calls. Parameter Passing. Pointers Explained in English. Using a Pointer as a Parameter in Another Call. Return Value of a Function--Part 2. Calling Functions Using Elementary Data Items. Calling Functions Using Structures. Calling Functions Using Members of Structures. Summary of Rules for Passing Parameters. Run-Time Parameters. Summary. 12. Table Handling. Introduction. What is an Array? Tables in COBOL. Arrays in C. Subscript Notation. Relative Subscripting. Offset versus Count. Subscript 0 and Subscript 1. Memory Contents at Run Time. Running Off the End of an Array. Defining Arrays in C. One-Dimensional Array Definition. Multidimensional Array Definition. Character Array (String) Definition. String Array Definition. Structure Array Definition. Initializing Arrays. Default Initialization. Initialization at Compile Time. Initialization by Assigning Values at Run Time. Memory For Arrays. Allocating a Fixed Amount of Memory at Compile Time. Allocating a Fixed Amount of Memory at Run Time. Linked Lists: Allocating a Variable Amount of Memory at Run Time. Allocate memory at run time. Return allocated memory to the operating system. Summary. 13. C Standards for a Business Environment. Introduction. Why Have Standards? How Large Should a Standards Document Be? Who Should Develop Standards and How? Who Should Enforce Standards and How? Portability. References. A Proposed Set of C Standards for a Business Environment. Program Organization. Source Code Header File. Include Files. #define Statements. Program Constant Fields. typedef Statements. Function Prototypes. Program Variables. Structures. Structure typedef Names. Data Names. Function Names. Comments. Functions. Function Documentation. Precedence of Operators. One Statement per Line. Line Length. Indentation. White Space Between Lines. White Space Within a Line. Increment/Decrement Operator. if Statements. switch Statements. for Statements. Parameters. Program Global Variables. while Statements. printf()and fprintf() Statements. Banned Items, Constructs, and Techniques. Summary. 14. C++, or What's That OOP on Your Tie? Introduction. References. C++ as a Better C. Tighter Compiler. Reduced Need for the Preprocessor. More Convenient Comment Symbol. Prototypes with Teeth. Superior Call Parameter Handling. Consistency in Parameter Use. New I/O functions. C++ as a Better C: Summary. Beyond C: C++ as an Object-Oriented Programming. Language. Class: A Data Type Plus the Code That Manipulates It. Class Libraries: Buy Them, Don't Write Them. Encapsulation: Wrapping Code Around Data. Public and Private Members of a Class. Allocating and Releasing Memory. Constructors And Destructors. A Program that Uses the string Class. Header File for the string Class. Function File for the string Class. Class Summary. Inheritance: The Path to Code Reuse. Polymorphism: How a Function Can Be in Two Places at Once. Ad Hoc Polymorphism: Operator Overloading. Ad Hoc Polymorphism: Function Overloading. Inclusion Polymorphism: Function Overloading Across Derived Classes. Persistence and the Problem Of C++. Summary. Appendices. A. Official ANSI C Keyword List. B. Actual C Keyword List. C. ASCII Character Codes. D. Powers of 2. E. Precedence and Associativity of Operators. F. Business Utility Programs. 1. A Business Rounding Routine. 2. A Business Truncation Routine. 3. Format a double as Dollars with Commas. 4. Format a double as an Integer with Commas. G. COBOL to CCross-Reference. H. Obtaining Code for Examples, Business UtilityPrograms, and Standards. Index. 0805316604T04062001


Best Sellers


Product Details
  • ISBN-13: 9780805316605
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Benjamin-Cummings Publishing Company, Subs of Addison Wesley Longman, Inc
  • Height: 188 mm
  • No of Pages: 544
  • Series Title: Business Approach
  • Sub Title: A Business Approach
  • Width: 235 mm
  • ISBN-10: 0805316604
  • Publisher Date: 07 Jun 1996
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Spine Width: 22 mm
  • Weight: 816 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
C for COBOL Programmers: A Business Approach
Pearson Education (US) -
C for COBOL Programmers: A Business Approach
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

C for COBOL Programmers: A Business Approach

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA