Search:

Type: Posts; User: iKevinChau

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    692

    Looking for help to understand fscanf

    I am trying to use information I get from one txt file to match another txt file but the loop for fscanf don't reset also the loop gets exited even when the condition is false.


    #include...
  2. Thanks a lot!! this is my last problem.. I was...

    Thanks a lot!! this is my last problem.. I was wondering if my code is right to printf the statement.. it doesn't work atm.

    #include <stdio.h>int moleculeFound(float weight,int charge, int c, int...
  3. that works great thank you!! i came across...

    that works great thank you!! i came across another problem in this set of code
    do{
    if (weight <= 204.2247){
    years += 1;
    c = 3, h = 7, n = 1, o = 2, weight =...
  4. Beginner at C programming And operator and if statement Problem!

    #include <stdio.h>
    int main( ) {
    int c, h, o, n, charge = 0;
    float weight;
    c = 3, h = 7, n = 1, o = 2, weight = 89.0929;
    if ((c == 3) && (h == 7) && (n == 1) && (o == 2) && (weight...
Results 1 to 4 of 4