EdGonz's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
New Members
Active Posts:
10 (0.01 per day)
Joined:
11-July 11
Profile Views:
159
Last Active:
User is offline Apr 12 2012 07:29 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   EdGonz has not set their status

Posts I've Made

  1. In Topic: Identify integers from a file stream

    Posted 30 Nov 2011

    Finally finished the project. I think the project was a bit over the top for the class I was taking, but it really got me research and work on it. Come to think of it, I think I'm going to keep working on C and learn more of it, so you'll see posting quite a bit more.

    Thanks for your help guys!
  2. In Topic: Identify integers from a file stream

    Posted 30 Nov 2011

    Yeah, that was a sample - badly typed sample. I just wanted to know if I could use switch, but looks like I can't. So, I guess I'll work this out using if..elseif statements then.
  3. In Topic: Identify integers from a file stream

    Posted 29 Nov 2011

    After reading the project throughly, the work was a lot more than I had thought (I was actually working on the wrong project).

    I'm almost done with the project, but I have one other question.

    I need to find a grade letter, so I was wondering if I could use the switch statement as such:
    switch (grade){
    case grade >= 97:
    studentGradeLetter = 'A+';
    break;
    case >= 93 && <= 96:
    studentGradeLetter = 'A';
    break;
    ...
    ...
    


    I can't seem to find a switch statement sample that does something similar...the code I mentioned above won't compile. My other option is to use a bunch of if..elseif.. statements, which will do the job, but not as clean.
  4. In Topic: Identify integers from a file stream

    Posted 23 Nov 2011

    Thanks AK!

    This is going to give me plenty to figure this out.

    I appreciate you taking the time on your detailed message.
  5. In Topic: Identify integers from a file stream

    Posted 23 Nov 2011

    Thank you!

    I'll give that a try; I think that points me in the right direction.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

EdGonz hasn't added any friends yet.

Comments

EdGonz has no profile comments yet. Why not say hello?