Or the ?: operator :)
Type: Posts; User: TechnoGourmet
Or the ?: operator :)
That's what I was kind of assuming based on what I have learned so far, but I needed confirmation.
The vast majority of my programming experience is from using high level languages like PHP,...
Hi,
I am trying to get a better understanding of pointers and pointers to pointers.
I get that int a; is a variable that has a value that is an integer, and that int *b; is a variable that is a...
Well hey howdy hey. I should have thought of that.
Thanks.
The double for loop was supposed to be filling a 2D array with data from ... well some place. I wanted to be able to understand how to do it with a pointer into some data from elsewhere so I wanted...
Thanks for the input. I could have saved myself some work by just going away and reading or something and then come back and read your post before gnawing at the problem.
Can you explain why the...
Okay, I think I know what is going on.
I wrote this test script with no loops:
#include <stdio.h>
int main() {
int i,ii,c;
Hi,
As I understand at the moment a for loop is supposed to be in the form of:
for(expression1; expression2; expression3) {
statements
}
I very much "get" and appreciate what you are saying. Much of what you are saying doesn't apply in this case though since my primary concern at this time is learning and understanding the C...
That's good to know. I've made a note to look at that library later. For now I am trying hard not to use any libraries that I don't have too so that it forces me to do more things myself thus...
I am using this function for setting the options rather than for dealing with all arguments, so I am passing argv[1] into the function because that is the only valid place for options in this...
Okay, assuming it was global, or regardless if it was or wasn't.
Any ideas on if there is a more efficient way than the if>for>switch method of parsing the argv[1] value and setting the options in...
Hi,
I'm writing a program that will conditionally take actions based on certain options set when it is called from the command line.
I've decided to store the state of the options in a...
Simple answer: No.
From an internet marketing standpoint there are really only three significant "values" related to a domain name: Being easy to remember/type. Mnemonic association with your...
Actually, I wasn't thinking of printf, I was just not thinking. I did a copy and paste of that line from the online docs :)
Hello,
I tend to ramble a bit but I promise to give you at least one solid bit of help before the end of this if you wade through the rest patiently.
The phrase "find its errors" is one of...