Search:

Type: Posts; User: xIcyx

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    45,130

    I fixed my problem, I honestly think it was...

    I fixed my problem, I honestly think it was working and because of all the password verification stuff I have getting into the program I took it as executing, just a stressed out mistake.
  2. Replies
    9
    Views
    45,130

    Thank you for the input carrotcake. This is...

    Thank you for the input carrotcake.

    This is what I'm leaning twoards, I was writing my first reply while you posted so did not see it first.


    if(IF)
    {
    fseek (IF, 0, SEEK_END);...
  3. Replies
    9
    Views
    45,130

    I've only used feof() in the form of a !feof(), I...

    I've only used feof() in the form of a !feof(), I just tried it with the following code, and it didn't execute the code even though the file was empty. Any ideas?


    if(feof(IF))
    {
    ...
  4. Replies
    9
    Views
    45,130

    Detecting empty file situation.

    Hello:

    I'm in a small bind. In my program I'm opening a file that may be empty. I can write the code around my problem of detecting whether or not a file is empty by setting my arrays to none...
  5. Replies
    2
    Views
    3,675

    Thank you :)

    Thank you :)
  6. Replies
    2
    Views
    3,675

    Date and time stamp in printing to a file

    Can anyone tell me how to put a date and time stamp when writing to a file in C? I searched brefily but was unsucessful finding information on the subject.
  7. Replies
    2
    Views
    3,367

    For loop problems, input please.

    I'm trying to run this for loop. I've included the entire code to try to solve the problem. I'm really not understanding why this is not looping. When I enter an invalid selection it should make...
  8. Replies
    15
    Views
    11,108

    I'm kind of stuck again guys... How exactly do I...

    I'm kind of stuck again guys... How exactly do I use arctan (tan^-1) in C.

    I tried:

    direction = arctan(totaly/totalx);

    However, the compiler does not recognize arctan. What do I use instead...
  9. Replies
    15
    Views
    11,108

    I'll use this: radians = angle * PI/180; ...

    I'll use this:

    radians = angle * PI/180;

    Thank you for your help guys.
  10. Replies
    15
    Views
    11,108

    That explains it, as I was writing this post I...

    That explains it, as I was writing this post I realized it may have to be in radians.... I'm going to have to convert it but honestly I don't remember how to convert degrees to radians. I know that...
  11. Replies
    15
    Views
    11,108

    Help with cos, sin and tan^-1 (arctan);

    I'm writing a program using cos, sin and arctan. However, Whenever the program computes something it fails at doing cos and sin properly. I have not written it to the arctan stage yet.

    Here is...
  12. Replies
    2
    Views
    5,566

    That's a sign I need to go to sleep. Thank...

    That's a sign I need to go to sleep. Thank you... all I was missing was the %.

    As for the "==" I declared count = 0; therefor i'm saying that when count is equal to 0 run the loop. May not be...
  13. Replies
    2
    Views
    5,566

    for loop ignoring scanf inside loop

    Logicially I think it's possible to have a scanf in a for loop. Am I wrong?

    Here is the code that's ignoring the loop, I took out the parts that are not required to answer this question. When...
Results 1 to 13 of 13