Search:

Type: Posts; User: EliasK

Search: Search took 0.00 seconds.

  1. Polish calculator, problems with getop() function

    Well I guess most of you have encountered the polish calculator exercise from Kerringhan's book on C. Anyway, I have to modify the getop() function in order to read from the keyboard the words...
  2. Replies
    11
    Views
    10,292

    It is an exercise. Anyway, thanks for you help.

    It is an exercise. Anyway, thanks for you help.
  3. Replies
    11
    Views
    10,292

    Create an ishex() function.

    I want to create a function which checks whether a character c is hex (i.e 0...9,A...F) or not. I have created the following function:

    <code>
    int ishex (char c)
    {
    if...
  4. Replies
    2
    Views
    2,709

    How could I extend this code so as to enable the...

    How could I extend this code so as to enable the user to define a 2-dimensional NxM matrix?
  5. Replies
    2
    Views
    2,709

    Create a matrix with user-defined dimensions

    Well, I am trying to figure out how I can create a matrix with user-defined dimensions. I do need something like that since I am programming some numerical methods that involve matrices. So, I made...
  6. Replies
    2
    Views
    1,264

    Help with menu and integer selections

    I have made a program that offers the user several options from which to choose from. Each one has an integer assigned (e.g. 1,2,3...) and the user enters the number of the option he has selected. I...
  7. Thread: What are Flags?

    by EliasK
    Replies
    2
    Views
    1,364

    Flags are variables a programmer uses to instead...

    Flags are variables a programmer uses to instead of logical conditions. For example suppose you read numbers from a file and you wish to find number 6. You create a loop and check if any number in...
  8. Could I create my own library to include in programs?

    I was wondering if I can assemble and compiler a code library of the most used functions I use. For example I am currently trying to develop a low-level digital logic circuit simulator and I have...
  9. Replies
    1
    Views
    6,943

    Help with the putpixel function.

    I am using the Borland C++ 3.1 (quite old, eh?). Anyway I wish to display some pixels on the screen and I use the putpixel function of the graphics.h library. I only use the function once in the...
Results 1 to 9 of 9