School of Physics, Mathematics, and Computing 
Not logged in (login)

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!" followup message.

How do I ask a good question?

Final examination information
RSS cloud
Jump to:

about static variable

1 of 951 articles shown, currently no other people reading this forum.
From: Amitava D.
Date: Wed 11th Aug 2021, 11:38am


> I mean question9 asks program to recieve an argument if it's a number, then the rotation amount changes 
> to this value.Can you give me some idea how to achieve this? What do I need to do with the "Rot" 
> variable?
You can only read strings from the command line, if you want an argument to be an integer, you have to use the atoi() (ascii to integer) function. Is that the problem?

Related articles

about static variable (all 9) RSS
├─ original   Tue 10th Aug 2021, 8:36pm, ANONYMOUS
├─ reply 1   Wed 11th Aug 2021, 5:18am, Christopher M.
├─ reply 2   Wed 11th Aug 2021, 9:41am, ANONYMOUS  O.P.
├─ reply 3   Wed 11th Aug 2021, 9:46am, Christopher M.
├─ reply 4   Wed 11th Aug 2021, 10:21am, ANONYMOUS  O.P.
├─ reply 5   Wed 11th Aug 2021, 10:49am, Christopher M.
├─ THIS   Wed 11th Aug 2021, 11:38am, Amitava D.
├─ reply 7   Wed 11th Aug 2021, 2:56pm, ANONYMOUS  O.P.
└─ reply 8   Wed 11th Aug 2021, 3:20pm, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  4:54pm Oct 24 2021