Thank you very much your answer put me definitely in the right direction I think I know how to do it now!
Type: Posts; User: hekk_tech
Thank you very much your answer put me definitely in the right direction I think I know how to do it now!
Hi I have written a small program in which I am trying to assign values to variables a and b (1000-5000 with increment 1000 and 100-500 with increment of 100) dependent to the counter interval of 20....
Hi I would like to allow scanf to scan only numbers from 0 to 7 all the other numbers should give out a print message like error or similar. It doesn't seem to work. Can anyone give me an advice, I...
Ok after a couple of ours of googling and trial and error I have finally succeeded my first "difficult" exercise. Thanks @hamster_nz and Salem for your advices. I am posting here the final result.
...
Just for an update this is where I am at with this problem right now. Still no success, but I am definitely closer.
insert
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
Very well you have successfully pointed out that I do not understand matrices. But this information was already obvious, otherwise I wouldn't register on this forum to ask for help and not to hear...
This is how far I have come:
1 1 1
2 2 2
3 3 3
This is the code:
insert
Hi, I am trying to do some exercises to learn 2d matrices in c. My goal is to create a 2d matrix which has only 3 columns but the user defined raws lets say "x" raws. The second column must contain...