User Profile

Collapse

Profile Sidebar

Collapse
strife
strife
Last Activity: Oct 9 '07, 05:11 PM
Joined: Sep 11 '07
Location: Alaska atm, California next year.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • strife
    replied to What to use to build a game with C++.
    in C
    I'm still a newb to C++, but from what I've read you want to check out SDL, DirectX9/10, and OpenGL probably. If you search the forums there is someone else asking the same type of question and someone linked an SDL tutorial site. I'm gonna check it out when I get home.
    See more | Go to post

    Leave a comment:


  • strife
    replied to File I/O problem and other functions
    in C
    Yeah I tried that and it did not work. I just need to figure out a way to use File I/O another way I guess.

    Thanks for the help...
    See more | Go to post

    Leave a comment:


  • strife
    replied to File I/O problem and other functions
    in C
    No one knows? I guess I will try another way.
    See more | Go to post

    Leave a comment:


  • strife
    replied to File I/O problem and other functions
    in C
    Well thats my problem. How do I get the string to be displayed in the file?

    Also, another thing that is bugging me is when I run the File I/O by itself it still does not work. Can you not use a string to input something into a file? I.e.

    Code:
    ifstream inFile;
    ofstream outFile;
    
    inFile.open("i.txt);
    outFile.open("o.txt");
    
    inFile >> string;
    outFile
    ...
    See more | Go to post

    Leave a comment:


  • strife
    replied to File I/O problem and other functions
    in C
    I need to input the string into the file though, cin >> will not do this will it?...
    See more | Go to post

    Leave a comment:


  • strife
    started a topic File I/O problem and other functions
    in C

    File I/O problem and other functions

    Hey everyone,
    I was making a program for a class, and I ran into a problem that is driving me crazy. I first suspected Vista, and since I am not home I cannot verify if it just my Vista computer, anyway, here is the problem.
    I know this is a lame program, but I lacked the creativity to come up with a program including all the required items in three days. I ended up getting 351/585(60%) on this because, I didn't include...
    See more | Go to post

  • Yeah, I noticed that right after my last post. I would of edited it myself, but it wouldn't let me edit passed the last post for some reason. Sicarie edited the code spots for me though. Thank you Sicarie.

    strife...
    See more | Go to post

    Leave a comment:


  • Need help finding highest number through user input




    Lost quote, because I was just trying to get it down for you guys. Is there a way to make it show color coded text while posting? I'm doing it all as if it were in notepad, so it makes it a little harder.

    I'll try pseudo code and see if it helps me.

    Thanks for the help,
    strife...
    See more | Go to post
    Last edited by strife; Sep 11 '07, 10:59 PM. Reason: Title wording was wrong.

    Leave a comment:


  • That was supposed to be a space. I thought it looked wrong, :). I fixed it and just made it "Enter number ". That is what you meant right? CORRECTION:
    I noticed what you meant after editing the wrong item. It is fixed now.

    The case works absolutely fine. I use char choice; and I give a menu of "select A, B, or C, so this is why I am using a switch statement with char cases. I don't think the case is the problem,...
    See more | Go to post
    Last edited by sicarie; Sep 12 '07, 01:02 PM. Reason: Code tags

    Leave a comment:


  • well I kind of sort of did. I tried a couple of times and I am just not getting it.
    I am still just a beginner. I am in the first level programming class. I have been doing fine up till this point. The control structures, although easy, are at the same time hard. The if, if...else, and switch statements were easier than the loops for me.
    I guess I'll try to get it on paper again, but all I do on paper is write what the code should look...
    See more | Go to post

    Leave a comment:


  • strife
    started a topic Need helping finding highest number from user input.
    in C

    Need helping finding highest number from user input.

    Hi,
    This is a homework question. I will try to keep it minimal so not to have anyone do it for me. I am really just stuck on one small spot.

    I have to figure out the highest number from a users input.

    I give them a menu to choose from, and I am stuck on only one of the choices.

    When this choice is picked I must allow the user to enter how many numbers he/she wants to enter; then I must figure out...
    See more | Go to post
    Last edited by sicarie; Sep 11 '07, 06:42 PM. Reason: Code tags
No activity results to display
Show More
Working...