Sure, I have to learn Objective-C and am working thru the book by Stephen Kochan with the aim to getting into programming the iPhone.
So am in a crash course on Objective C to get up to speed. ...
Type: Posts; User: FreeCare
Sure, I have to learn Objective-C and am working thru the book by Stephen Kochan with the aim to getting into programming the iPhone.
So am in a crash course on Objective C to get up to speed. ...
Thank you all for the replies!
I programmed in C / C++ many moons ago but need to relearn it now.
I have for many a year now been programming in VB.NET hence by struggle to get back to grips...
Hi,
can someone tell me when I have code like this:
#import <stdio.h>
#import <string.h>
int main (int argc, char const *argv[])
#import <stdio.h>
#import <string.h>
int main (int argc, const char *argv[])
{
int inputLength;
char userInput[10];
printf("Enter a number to be reversed: ");
And I yours....have a good life
Elysia, just started to read you post on the use of scanf....very interesting!
I'm working through Programming in Objective C which introduces the use of scanf.....hence my, learning of reading...
Tell you what, here is a simple tip for you. If you cannot be bothered to stay calm or refrain from being sarcastic or arsey why not...go make a cup of tea, count to 10 and move on and ignore my...
char computerOutput[2];
this would have an array with 2 characters containing garbage until set to something.
the length of this array is 2.
int x = 5;
char computerOutput[x];
LOL I am not overly worried about the garbage in computerOutput.
What I dont understand is that if the userInput length is 1after I enter a single digit the variable inputLength is correctly set...
Hi, could someone explain why I am getting two different values in the code below please?
#import <stdio.h>
#import <string.h>
int main (int argc, const char *argv[])
{
int inputLength;