Forum Replies Created

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • in reply to: Object Oriented Programming Question #3142
    msaqib
    Participant

    Hello, you have done the following things wrong:
    in the function definition ; is not allowed void rational::printrationald() also you will need to correct the variable name denominator I hope now your problem will be solved.

    in reply to: Calling function with main() #3134
    msaqib
    Participant

    spsinghs plz can u give an overview of this program, I mean the flow of the program, So that novice users can understand it.
    Thanks

    in reply to: Bubble sorting #3137
    msaqib
    Participant

    Nice effort spsinghs.

    in reply to: Using the interrupts in c language #3132
    msaqib
    Participant

    Thanks for your support.
    I have’t tried this code due to some business, After testing this code I will again ask for your support.
     
    Saqib

    in reply to: Using the interrupts in c language #3130
    msaqib
    Participant

    Can you Please give some code sample, to do this.
    Actually I have never beeen into this area.

    in reply to: what are methods learning for new program #3114
    msaqib
    Participant

    I think go to some programming website like this one,
    here are some cool links for learning programming.
    https://www.cprogramming.com/
    https://geeksforgeeks.org/
    https://programmersheaven.com/

    in reply to: c++ compiler #3117
    msaqib
    Participant

    Writing windows programs in C/C++ can be a bear for even experienced programmers. I started out with the DEV C++ package and quickly switched to BCX. This is a basic to C/C++ translator that uses simple basic code and allows inline asm and C code. If you are familiar with basic you can then look at the generated C/C++ code and learn a lot!

    Write your basic code on the included editor and compile and run it from the editor or even fancier, from the included visual IDE. This program has excellent help files and a good selection of examples. You can look at the C code it produces. You can make win-gui or console programs. BCX is written in BCX!

    The whole free package can be downloaded, including the PellesC compiler, from:

    There is quite a nice group of users at

    http://groups.yahoo.com/group/bcx/

    in reply to: c++ compiler #3116
    msaqib
    Participant

    here is a link to a compiler called dev c++ it is free.

    http://www.bloodshed.net/devcpp.html

    if you want a better compiler and are willing to spend money than i suggest the borland compiler.
    msaqib38266.5445949074

    in reply to: Re: How to get started with Standard Template #3115
    msaqib
    Participant

    The  (STL) is a general-purpose C++ library of algorithms and data structures, originated by Alexander Stepanov and Meng Lee. The STL, based on a concept known as generic programming, is part of the standard ANSI/ISO C++ library. The STL is implemented by means of the C++ template mechanism, hence its name. While some aspects of the library are very complex, it can often be applied in a very straightforward way, facilitating reuse of the sophisticated data structures and algorithms it contains.

    A complete introduction to the STL can be found by consulting the references below. For starters, though, a small number of classes and algorithms can be very useful:

      The string class
      The vector container template
      The sort algorithm
      The list container template
      The iterator classes
      The find algorithm

    Thanks
    Saqib
    MYCPLUS Online Community

    in reply to: Why people are not interested in Discussions #3108
    msaqib
    Participant

    Actually its a new site and still growing
    As the time passes the people will take interst in the site
    Inshallah
     

    in reply to: difference between getchar(), getch(), and getc() #3104
    msaqib
    Participant

    Amir welcome to MYCPLUS Online Community Forums. Thanks that you like the design of the website. Here is what you asked, hopefully you will understand. If there is anyone who can ad more to it I will appriciate.
    GETCHAR:
    getchar is a macro defined in (stdin), getchar returns the next character on the input stream stdin.
    It returns the character read, after converting it to an int without sign extension. If there is error reading the character or (and on end-of-file for getchar), it returns EOF.

    GETCH:
    getch gets a character from console but does not echo ( write ) to the screen. It reads a single character directly from the keyboard, without echoing
    to the screen. getche reads a single character from the keyboard and echoes it to the current text window, using direct video or BIOS. Both functions return the character read from the keyboard.
    Declaration:

    GETC:
    getc is a macro that gets one character from a stream. It returns the next character on the given input stream and increments the stream’s file pointer to point to the next character.It returns the character read, after converting it to an int without sign extension. If there is error (and on end-of-file for getc), both functions return EOF.

Viewing 11 posts - 31 through 41 (of 41 total)