Search:

Type: Posts; User: TechnoGourmet

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,470

    Or the ?: operator :)

    Or the ?: operator :)
  2. That's what I was kind of assuming based on what...

    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,...
  3. Trying to understand pointers and pointers to pointers

    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...
  4. Replies
    8
    Views
    2,824

    Well hey howdy hey. I should have thought of...

    Well hey howdy hey. I should have thought of that.

    Thanks.
  5. Replies
    8
    Views
    2,824

    The double for loop was supposed to be filling a...

    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...
  6. Replies
    8
    Views
    2,824

    Thanks for the input. I could have saved myself...

    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...
  7. Replies
    8
    Views
    2,824

    Okay, I think I know what is going on. I wrote...

    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;
  8. Replies
    8
    Views
    2,824

    Order of operations of for loops

    Hi,

    As I understand at the moment a for loop is supposed to be in the form of:



    for(expression1; expression2; expression3) {
    statements
    }
  9. Replies
    8
    Views
    4,247

    I very much "get" and appreciate what you are...

    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...
  10. Replies
    8
    Views
    4,247

    That's good to know. I've made a note to look at...

    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...
  11. Replies
    8
    Views
    4,247

    I am using this function for setting the options...

    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...
  12. Replies
    8
    Views
    4,247

    Okay, assuming it was global, or regardless if it...

    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...
  13. Replies
    8
    Views
    4,247

    Efficient storage of program options

    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...
  14. Simple answer: No. From an internet marketing...

    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...
  15. Replies
    6
    Views
    1,804

    Actually, I wasn't thinking of printf, I was just...

    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 :)
  16. Replies
    6
    Views
    1,804

    Hello, I tend to ramble a bit but I promise to...

    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...
Results 1 to 16 of 17