Search:

Type: Posts; User: Ruger06

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    5,293

    Hello All. I wanted to thank everyone that helped...

    Hello All. I wanted to thank everyone that helped me with problems this weekend. I finely got the code to work. I will add it here for those interested.







    #include <stdio.h>
    #include...
  2. Replies
    21
    Views
    5,293

    Hello laserlight; If you don't mind, where do...

    Hello laserlight;
    If you don't mind, where do you live? I live if Ft. Worth Texas.
  3. Replies
    21
    Views
    5,293

    OK. no warnings now but if you enter incorrect ID...

    OK. no warnings now but if you enter incorrect ID or password and have to re-enter one or both, once you get in the program doesn't recognize any of your choice selections as valid.


    /* Leslie...
  4. Replies
    21
    Views
    5,293

    Changed printf("Please input gender: "); ...

    Changed


    printf("Please input gender: ");
    strcpy(temp, " ");
    scanf("%s", temp[i]);
    strcpy(mem[i].gender, temp[i]);
    ...
  5. Replies
    21
    Views
    5,293

    Stupid mistake . For got to end main with (return...

    Stupid mistake . For got to end main with (return 0) this took care of one warning. Only 4 left. Is it possible that I left out a necessary header file?
  6. Replies
    21
    Views
    5,293

    Ok, here is new code with new warnings /*...

    Ok, here is new code with new warnings



    /* Leslie Bauert
    CSE1311 HW 8
    Aug. 11, 2014
    */
  7. Replies
    21
    Views
    5,293

    Ok laserlight; I take it that this line "Change...

    Ok laserlight;
    I take it that this line "Change the %s to %s, re-compile, then work on the next warning/error." was meant to say change %s to %c. Is this correct?
  8. Replies
    21
    Views
    5,293

    Hello laserlight...

    Hello laserlight ;
    In response to your post, how do you suggest that I go about fixing the problem. I have no experience handling errors. My class never even touched on the subject. I have tried...
  9. Replies
    21
    Views
    5,293

    Here are the current warnings: ...

    Here are the current warnings:



    C:\Users\Leslie Bauert\Documents\Summer Programming in C\Homework8\Homework8.c||In function 'main':|
    C:\Users\Leslie Bauert\Documents\Summer Programming in...
  10. Replies
    21
    Views
    5,293

    Help with understanding a given warning

    Hello All;
    I have a program that is giving warnings when compiled but I do not understand why. Here is the code:



    /* Leslie Bauert
    CSE1311 HW 8
    Aug. 11, 2014
    */
  11. Replies
    5
    Views
    3,704

    laserlight: you are correct, if the word in the...

    laserlight: you are correct, if the word in the array words is not in the dic array it is misspelled. The dic file holds all of the words that appear in the words array, but some of them are...
  12. Replies
    5
    Views
    3,704

    strcmp of 2 multidimensional arrays

    Hello again, I have used strcmp before on one dimensional arrays but not 2 dimensional arrays.
    The problem is that I have one 2d array that has text with some misspelled words and I have to compare...
  13. Replies
    8
    Views
    3,195

    Thanks to all who responded. Again the main...

    Thanks to all who responded. Again the main problem was the way in which the professor worded the question. What he was really asking for was to find the element in each row with the highest value,...
  14. Replies
    8
    Views
    3,195

    Hello Alpo; First to clarify, this is a sample...

    Hello Alpo;
    First to clarify, this is a sample problem to use to prepare for the final not an actual homework problem, so my problem is that I have never seen a problem like this and therefore don't...
  15. Replies
    8
    Views
    3,195

    The middle row would be data[1][], there is no...

    The middle row would be data[1][], there is no mention of how large the elements can be. If I knew that, I believe I would just multiply it by 4 to determine the max. and then use a printf statement.
  16. Replies
    8
    Views
    3,195

    Finding max value of row in an array

    Hello All;
    I was given some practice problems in my programming class, to prepare for the final and I don't quite understand what this one is asking for exactly:

    Write the remainder of the...
  17. Replies
    7
    Views
    4,825

    I wanted to thank everyone for their input the...

    I wanted to thank everyone for their input the instructor changed the instructions at 2:00 pm today. We are now setting the size of the array to 10. I don't have any trouble with this one. I do plan...
  18. Replies
    7
    Views
    4,825

    I understand what you are saying, but can you...

    I understand what you are saying, but can you point me in the direction of a good source for instruction on the use of malloc?
  19. Replies
    7
    Views
    4,825

    I was afraid that malloc was going to be the...

    I was afraid that malloc was going to be the answer. We have not discussed malloc at all in class yet. Where would you suggest I look for the simplest explanation of how to do what you suggested?
  20. Replies
    7
    Views
    4,825

    User defined array size

    Hello All;
    I have a new problem. The instructions call for the user to define the size of the array and all I have ever done is use a predefined size for the array and then let the user fill it....
  21. Replies
    22
    Views
    2,019

    Sorry I did not get back here sooner. I did get...

    Sorry I did not get back here sooner. I did get all of the bugs out. Here is what I ended up with. And again thank you to all that gave input.




    #include <stdio.h>
    #include <stdlib.h>...
  22. Replies
    22
    Views
    2,019

    I still do not know how to get fix these two...

    I still do not know how to get fix these two warnings



    C:\Users\**********\Documents\Summer Programming in C\Homework4\Homework_4.2.c:52:25: warning: format '%s' expects argument of type 'char...
  23. Replies
    22
    Views
    2,019

    Never mind, I figured out what you meant by post...

    Never mind, I figured out what you meant by post 12.
  24. Replies
    22
    Views
    2,019

    What is this post #12 and where is it?

    What is this post #12 and where is it?
  25. Replies
    22
    Views
    2,019

    Do you have any suggestions on how to solve this...

    Do you have any suggestions on how to solve this problem?
Results 1 to 25 of 34
Page 1 of 2 1 2