Ok thanks for the reply, I haven't got far enough along to be able to do what you stated but knowing that there's a better way of doing it helps.
Type: Posts; User: japes789
Ok thanks for the reply, I haven't got far enough along to be able to do what you stated but knowing that there's a better way of doing it helps.
Hi guys me again.
I've been working through C: How to program and for anyone who isn't familiar with it at the end of every couple of chapters there's some exorcises. I was going through them and...
I'm new to C as well but feel I can offer a little advice on this, the first piece being don't copy/paste code while you are learning. It can be time consuming but typing the code out manually means...
Fair enough I will be sticking with C for now, but might take up C++ if the need ever arises
Excellent I will maybe pick one of those up at a later date but for now I will concentrate on C, am i right in assuming once I have learned one the others will be easier to pick up?
I wrote this a learning exercise more than anything, and just started to play around with the finished app to see what it's limitations where and what happens when you go outside the scope of the...
thanks for the reply i do want to get into kernel development mainly but asmanasij7479 said that's a long way away and I understand that I will maybe write a few little apps but these will mostly be...
A very clear explanation thank you for taking the time to answer, you must get questions like this a lot and again I apologize for my ignorance I do genuinely feel bad for leeching but I'm keen to...
Sorry, but I only started learning C yesterday and do not understand what this does exactly, I understand the theory behind it as it checks if the input is indeed an integer but i don't understand...
I chose C as i want to move into developing for Linux (kernel etc) i know that's a long way away and expect to be doing that anytime soon but this is mostly written in C and ASM (correct me if I'm...
I see thanks for the reply helpful as ever.
I see that makes sense and thanks for the tip I hadn't really noticed that to be honest as I ran it from the terminal to start with but will keep that in mind for the future, why doesn't the program...
Not really sure how to use that as of yet but will look into it, although rather than preventing characters I don't want I was more interested in the result where did 32767 and why does it not...
Hey guys as some of you know I'm new to c I was experimenting a bit today just seeing what would happen if I input a char instead of an integer, expecting an error message as with Python and most...
I see that clears it up thanks you very much for your answer, it really helped.
As for a book to learn from I've just ordered "c: How to program (6th edition)" based on the suggestions I found on...
Ok I think I get it now so
!( ( 1 || 0 ) && 0 )
is true because the && function is evaluated first meaning that the || function is redundant which means the statement should be read as "not...
Sorry I meant logical operators, the example I saw and couldn't grasp properly was given like this:
A. !( 1 || 0 ) ANSWER: 0 B. !( 1 || 1 && 0 ) ANSWER: 0 (AND is evaluated before...
Hello guys I've just joined. I've had a look around and like what I see up to now, but couldn't find an introduction forum and believe it's proper etiquette to introduce oneself formally before...