Search:

Type: Posts; User: Beast()

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,292

    Website Development

    Well I know this might not quite be the place for such a question...but I feel that this forum contains people a hell of a lot more competent than just about anything else out there.

    I don't even...
  2. Replies
    2
    Views
    1,157

    Recursive Sequence

    I want to input a recursive sequence into a program for the computer to calculate it, but I am having some trouble doing so.

    Does anyone have any bright ideas to represent this sequence?

    a_n =...
  3. Replies
    9
    Views
    10,326

    Bah I thought I figured it out, but I ended up...

    Bah I thought I figured it out, but I ended up corrupting half of the program when I ran it.

    Keep us updated on your progress if you must submit it tonight.

    I will get off work soon, so post...
  4. Replies
    4
    Views
    3,848

    Ah, sorry. I was going to post that, but I forgot...

    Ah, sorry. I was going to post that, but I forgot in my haste.

    The program reads in names and numbers from a text file. These names and numbers are used in order to deliniate what flight and what...
  5. Replies
    9
    Views
    10,326

    This is a very interesting program Gecko,...

    This is a very interesting program Gecko, especially for someone like me who is learning binary trees at this moment as well.

    Can you post your finished code here to look at it?

    Thanks.
  6. Replies
    4
    Views
    3,848

    Can't figure out problem with code

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    #define MAX_NAME 30

    void InputFile (char* input_file);
    void BookingSystem (char* input_file);

    struct passenger
  7. Replies
    6
    Views
    1,045

    Ah I understand now. Thank you so much...

    Ah I understand now.

    Thank you so much andyhunter, I really appreciate it.

    It's much clearer now.
  8. Replies
    6
    Views
    1,045

    Thanks for the response. I agree, the program...

    Thanks for the response.

    I agree, the program has a poor design concept to it at times. I will fix this later.

    However when I go to fix the fopen() problem, it just crashes. I have not yet...
  9. Replies
    6
    Views
    1,045

    I'm sorry man, that was rather vague. I fixed...

    I'm sorry man, that was rather vague.

    I fixed it so it was understandable.
  10. Replies
    6
    Views
    1,045

    Inexplicable Linked List Problem

    Well it's inexplicable at least to me.

    This program reads from a file, which I have attached, and then prints out information.

    For some strange, strange reason, the linked list prints out the...
  11. Replies
    9
    Views
    1,352

    Lol yea, I fixed that soon after. Thanks.

    Lol yea, I fixed that soon after. Thanks.
  12. Replies
    9
    Views
    1,352

    Thanks I hadn't noticed that. But even when I...

    Thanks I hadn't noticed that.

    But even when I have that part commented out and only have the first line included, it still gives me an error.
  13. Replies
    9
    Views
    1,352

    Struct Fields Question

    Ah it's been a while since I coded. Anyway, I'm trying to do a program, and am curious as to why this doesn't work:



    #define MONTH 9
    #define DAY 17
    #define YEAR 04

    #include <stdio.h>
  14. Replies
    10
    Views
    2,702

    Dear God man, use some indentations. Before...

    Dear God man, use some indentations.

    Before learning pointers, you need to learn to make your code readable.

    Include whitespace (press enter) between statements, or in order to separate blocks...
  15. Thread: binary tree

    by Beast()
    Replies
    4
    Views
    1,206

    And be cool, stay in school. :cool:

    And be cool, stay in school. :cool:
  16. Replies
    6
    Views
    3,453

    Thanks man, I will mull that over.

    Thanks man, I will mull that over.
  17. Replies
    6
    Views
    3,453

    Lol yea, I just noticed it when I tried to...

    Lol yea, I just noticed it when I tried to compile it. Stupid mistake.

    It's the size of the pointer passed, not the string itself.

    Here is the updated function:



    void gstring /*Sexy*/ ...
  18. Replies
    6
    Views
    3,453

    Eh, because of my lack of parenthesis? Missed...

    Eh, because of my lack of parenthesis? Missed that in my haste.

    I thought that calling fgetc() a bunch of times wouldn't be as efficient as one solid call to fgets().

    Thanks for Quzah mode, he...
  19. Replies
    6
    Views
    3,453

    Custom Made Safe Input Function

    I am trying to make a safe input function, since it's tedious to keep writing a bunch of crap with fgets() every time you want to get some input from the user safely.

    This is what I have written...
  20. Replies
    17
    Views
    2,688

    I assume that he wants to count how many elements...

    I assume that he wants to count how many elements there are in each individual array, since he is not trying to summate the elements themselves and has a counter that increments by one at each pass....
  21. Replies
    17
    Views
    2,688

    Well you are always going to get the same values,...

    Well you are always going to get the same values, because the statement (array1[i]) or (array2[i]) is always going to be true, since that will always generate a nonzero value.

    Therefore each time...
  22. Replies
    20
    Views
    6,509

    The FAQ was excellent. Thanks.

    The FAQ was excellent. Thanks.
  23. Replies
    20
    Views
    6,509

    Thank you for giving the code and explanation. ...

    Thank you for giving the code and explanation.

    I understand the second portion of the post, that the reason for a different address is because it's a different variable. But why is it the same in...
  24. Replies
    20
    Views
    6,509

    Fair enough. I won't be asking beginner...

    Fair enough.

    I won't be asking beginner questions forever though. :cool:
  25. Replies
    20
    Views
    6,509

    I appreciate you saying to give me a second...

    I appreciate you saying to give me a second chance Emmanuel.

    But I am not trying to deceive anyone. My teacher was a crappy one and one of the reasons why I left (besides the fact that I was a...
Results 1 to 25 of 96
Page 1 of 4 1 2 3 4