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...
Type: Posts; User: EliasK
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...
It is an exercise. Anyway, thanks for you help.
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...
How could I extend this code so as to enable the user to define a 2-dimensional NxM matrix?
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...
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...
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...
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...
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...