Search:

Type: Posts; User: GibsMe

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    3,263

    Yes, 0 is a valid argument. The value of hash in...

    Yes, 0 is a valid argument. The value of hash in this instance is 7. The problem seems to come from passing the file pointer to a function. For some reason, when I pass the file pointer, it changes....
  2. Replies
    3
    Views
    3,263

    Problem with fseek

    I am trying to use fseek to move to a certainer record in a file but I am getting the runtime error "Unhandled exception at 0x7c91b1fa in accounts.exe 0xC0000005: Access violation writing location...
  3. Replies
    4
    Views
    5,790

    End a loop using Ctrl-z

    Isn't there a way to end a loop by inputing Ctrl-z using scanf and comparing the result to EOF?
  4. Replies
    2
    Views
    2,019

    Scanf Being skipped

    I have the following code:


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


    int main(void)
    {
    long Accounts[25];
  5. Thread: Scanf question

    by GibsMe
    Replies
    1
    Views
    1,039

    Scanf question

    I am trying to use scanf to take three inputs.


    scanf("%8d %2s %f", &AccountNumber, &TransactionType, &TransactionAmount);

    I need to limit the first input to 8 digits. The %8d works, but if I...
  6. Ok, i created a new empty project, opened my .c...

    Ok, i created a new empty project, opened my .c file, and went to Build Project. Then I received this error: 'Sub Main' was not found in 'Project1'.

    Here is my code:

    #include <stdio.h>

    int...
  7. Beginner question about compiling and visual studio

    I am new to programming with C and visual studio. When I open a .c file with visual studio 2005, can any tell me how I actually compile it? Also, can anyone tell me why the "Start Debugging" option...
Results 1 to 7 of 7