Search:

Type: Posts; User: paul_harris77

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,008

    Thanks for the replies. The problem I had was...

    Thanks for the replies. The problem I had was when I added in the characters to search the string for. I put \ as one of these characters to search for and the compiler said that it was missing a...
  2. Replies
    5
    Views
    1,008

    Checking filetype

    I wish to create some code that checks if a string has the characters ".var" on the end of it or not.

    The idea is that the user enters the path and filename to locate a .var file. This is then...
  3. Saving files with built in file extension

    Dear all

    I am making a program that outputs data into a .csv file was wondering if there was a way that a user can enter just the filename they want for the .csv file and the program automatically...
  4. Replies
    14
    Views
    7,746

    Thanks for your replies guys. I've tried using...

    Thanks for your replies guys. I've tried using the scanf("%f %f %f", &a, &b, &c) != 3 idea and it does seem to determine when a letter is entered instead of a number and prints :"You have entered an...
  5. Replies
    14
    Views
    7,746

    Detecting illegal characters

    I have just created a program to act as a quadratic root solver. The user inputs the a, b and c values from their ax^2 + bx + c =o equation and the program finds the roots and prints them on the...
  6. Replies
    3
    Views
    1,346

    Do-while statements

    I am very new to C programming and am trying to create a program as part of an assignment.

    The idea is to make a program to evaluate a summation series, E.

    E=1+ 1/1! +1/2! + 1/3! +1/4!...
Results 1 to 6 of 6