Thanks! I am pretty sure I understand. Now I should be able to remember 'the "value" of an assignment statement is the value assigned to the left-hand side.' Kind of feel like I need a C puzzle...
Type: Posts; User: Snaggletooth
Thanks! I am pretty sure I understand. Now I should be able to remember 'the "value" of an assignment statement is the value assigned to the left-hand side.' Kind of feel like I need a C puzzle...
Hello,
I am going through my C book when I ran across something I don't understand about the while loop. The book uses the below option1 and says I can replace it with option2. It does work. I...
After reading "What Every Computer Scientist Should Know About Floating-Point Arthmetic" I can say my head hurts. More importantly I can say I understand digits of precision better, there are...
GNU GCC compiler
Hello,
I was going through some C exercises when I ran across one that I was having a lot of trouble doing. As it turns out the author's code has an issue and I am stuck on...
I believe I clearly understand now. It seemed redundant so I wanted to be sure I had the right train of thought. The "2.0f" in the expression circumference = 2.0f*PI*radius; makes sense now to.
...
I don't know if I am over thinking this or if I believe something that is wrong. I think I don't understand was is meant by "constant." The constants I keep finding references to are string...
I have looked this up in three books and Google has also failed me.
To me a constant is a value that doesn't not change. It defined by "const", "#define", or a convention of all capital letters...
Thanks for the reply.
The point of this exercise is to use <cstring> functions. The <string> functions have not been covered yet.
This is working code that I am building on. It takes a sentance...
IDE - CodeBlocks
Compiler - GNU GCC
Hello,
I ran into a C++ exercise has me stumped. A program is to ask for a sentance, then it splits it up into individual words and puts the sentance back...
Thanks.
I've been looking to make a career change and I have been interested in programming for a long time. So I've been trying to gauge my level of knowledge and what I would actually be...
I am from an electrical engineering type backround and I have been wanting to add a programming language to my resume. The long term goal is to get into a computer science field. I asked a friend...
I have been looking for a way to send and receive data using the serial port on a PC. My understanding of C has mainly come from the book "Teach Yourself C in 21 Days" and the majority of my...