Search:

Type: Posts; User: SanFi

Search: Search took 0.01 seconds.

  1. Thanks again! This is much cleaner.

    Thanks again! This is much cleaner.
  2. Thanks! I just have one more question. I want to...

    Thanks! I just have one more question. I want to make sure that I understand what I am doing when I am calling the pop function specifically, relevant code posted below:




    while ((ch =...
  3. John.c thanks so much! I haven't dealt with...

    John.c thanks so much! I haven't dealt with struct or pointers yet (I did, however, skip ahead and try to learn about read/write; so, apologies if I misled you on that end). By the way, in response...
  4. Yah, that's a problem. Thanks for this.

    Yah, that's a problem. Thanks for this.
  5. Replies
    6
    Views
    3,069

    Thanks so much Laserlight! I've been applying...

    Thanks so much Laserlight! I've been applying your code to some of my work, and it works really well.
  6. Thank Salem! Appreciate this edit and...

    Thank Salem! Appreciate this edit and rule-of-thumb a lot.
  7. Checking a Text File for Proper Parentheses/Braces Nesting (Beginner)

    Hello again,

    Thanks to all who have helped me with my problems in the past.

    Today, I am working on a problem that asks to check whether a series of parentheses or braces is properly...
  8. Simple Multi-Array Chess Piece Relative Value Problem (Beginner)

    Hello all,

    I've been working on a chess piece relative value problem. The user inputs chess piece positions for both White and Black, and the output is the sum of the relative value of...
  9. Replies
    6
    Views
    3,069

    I understand better now, and appreciate the...

    I understand better now, and appreciate the practical advice. From here on, I will follow your first recommendation.

    Nonetheless, to understand VLA a bit more, could you provide an example using...
  10. Replies
    6
    Views
    3,069

    Thanks! I just would like to clarify something...

    Thanks! I just would like to clarify something about variable-length arrays. I thought that the length of an array can be defined by my first function parameter "n," and once the user inputs "n" that...
  11. Replies
    6
    Views
    3,069

    Highest Number in Array Problem (Beginner)

    Hello Again!

    On this Super Bowl Sunday, I am working through some problems in my C book. This post is about writing a function that returns the largest element in an array.

    ...
  12. Hi All, Thanks so much for your responses!...

    Hi All,
    Thanks so much for your responses! As a self-learner (without any use of videos), your advice has been a godsend. Most importantly, it has motivated me to continue despite some of my...
  13. Multi-Array Problem: Random Walk of Alphabet on 10x10 Matrix (Beginner)

    Hi All,

    Another beginner question. I am to write a "random walk" program of the English alphabet (A thru Z) on a 10x10 matrix. While I think I have a solution, it could be cleaner.

    ...
  14. Thanks! Also, your code is obviously much...

    Thanks! Also, your code is obviously much cleaner, and I learned a couple of things from it.

    Just out of curiosity: would you prefer to use scanf over getchar when dealing with numbers only? For...
  15. Multi-Array Problem: Calculate Sum of Rows and Columns (Beginner)

    Hello,

    First time poster and learning about arrays.

    The problem asks to build a 5x5 matrix and then to calculate the sum of the rows and columns.

    The code (pasted below)...
Results 1 to 15 of 15