Search:

Type: Posts; User: Aslan14

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,373

    Converting numbers to characters?

    Hey all! Finals are over, yes! Ended up with a C in my programming class, and that is really ok with me. Like another user on here said, it is like learning another language, and I was really bad...
  2. Replies
    14
    Views
    1,344

    Whiteflags, I see what you are saying. I'm going...

    Whiteflags, I see what you are saying. I'm going to work on it for a bit then repost.
  3. Replies
    14
    Views
    1,344

    Sorry brewbuck, my prof doesn't indent at all, I...

    Sorry brewbuck, my prof doesn't indent at all, I will fix it. As far as this part;


    if (flag==1)
    {
    sum = sum + x;
    ++count;
  4. Replies
    14
    Views
    1,344

    This is what I have so far.. not coming out...

    This is what I have so far.. not coming out correct, but am I at least headed in the right direction?


    /* Homework 14 */

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

    int...
  5. Replies
    14
    Views
    1,344

    Ok, I understand now. Do you think that I would...

    Ok, I understand now. Do you think that I would want to call each location of the max a different name? For instance;


    int locmax1, locmax2, locmax3;

    up to 5 locations?
  6. Replies
    14
    Views
    1,344

    tabstop, I'm not quite sure what you mean about...

    tabstop, I'm not quite sure what you mean about keeping track of the line number.
  7. Replies
    14
    Views
    1,344

    Oh sorry! Yes, location == line number. For...

    Oh sorry! Yes, location == line number.

    For the,


    if (flag == 0)

    it works. The code I posted above compiles and executes correctly. I know it is really weird code, my prof is super...
  8. Replies
    14
    Views
    1,344

    Homework help (again)... So simple, its hard!

    Hey all again... Ready for this one??
    I need to read from an external file called data3.dat, which I inputted....



    0 3
    0 6
    1 10
    1 8
    1 11
  9. Oh yeah, I see what you're saying... I tried...

    Oh yeah, I see what you're saying... I tried this, but it isn't working either. Been working on this for a couple of hours and my eyes are crossed!


    if (a>max)
    {
    ...
  10. Another Homework problem, finding and printing max value

    Hi all! So this homework problem is similar to that one I posted last time (that I completely gave up on! I will just take the hit on my grade). Anyway, my instructions are to find the average of...
  11. I totally can see where you are going Salem! The...

    I totally can see where you are going Salem! The only problem is I am not reading from an external file, the numbers are to be inputted by the user when prompted.

    It would be SO much easier I...
  12. Okay, so I am going to start with the "user...

    Okay, so I am going to start with the "user input" looking like this

    (c1 c2 : c3)
    0 1 : 7.2 (line 1)
    1 1 : -3.3 (line 2)
    1 0 : 9.92 (line 3)
    0 0 : -3.4 (line 4)
    1 ...
  13. Seriously l2krence! I tried to write this stuff...

    Seriously l2krence! I tried to write this stuff down, I am just so lost!
  14. My professor who is cold war era! (seriously, he...

    My professor who is cold war era! (seriously, he tells us stories about the Russians. Entertaining to say the least, but these programs are kicking my butt!)

    Working on writing another program...
  15. Homework help (again)! To array or not to array? That IS the question..

    Hello again! More homework help, again I feel like I just need a push in the right direction. Here are the homework instructions;

    HW 5 reads three columns of numbers, column 2 and 3 are...
  16. Yay!!

    After fixing the brackets and the relational operator (how did I miss those?), I was getting a really really weird output!


    "Feet per second equivalent: -3149642752.00"

    I remember seeing...
  17. Hello again everyone! I just wan to say I got a...

    Hello again everyone! I just wan to say I got a good chuckle from your replies!

    Sorry for the absence, my computer took a nose dive (damn HPs)! This is what I have, but I apparently am not doing...
  18. Homework Help, simple program, unsure newbie :(

    Hi everyone. I read all the "before you post, know this" stuff, so I hope I get it right!

    First, this is a homework that I have been stuck on for a month. I have a serious mental block when it...
Results 1 to 18 of 18