Search:

Type: Posts; User: jtieu

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,684

    Sorry. Yea, Comma Separate Values. I'm a bit new,...

    Sorry. Yea, Comma Separate Values. I'm a bit new, so do you mean that whenever I need to read in data, I would use find(), and then whenever I need to modify, I would use substr()? And finally, how...
  2. Replies
    6
    Views
    1,684

    using (importing and saving) csv files

    Hey all, for my next (and last, about time) assignment, my professor is asking us to try and use/manipulate csv files (specifically to import, manipulate, and finally save). This is the first time in...
  3. Replies
    4
    Views
    2,077

    Oh. Two hours well spent. Thank you very much for...

    Oh. Two hours well spent. Thank you very much for the help. Out of curiousity, could you explain what using the wrong operator has anything to do with the error message I received?
  4. Replies
    4
    Views
    2,077

    compiling multiple source files

    Hey all, for my next assignment, I decided to try and compile from multiple source files. One as a header for function and structure definitions, a cpp file for declarations, and a main for a driver....
  5. Replies
    8
    Views
    1,507

    Hmm, alright, maybe I can modify it after I find...

    Hmm, alright, maybe I can modify it after I find the numeric value for each char. I'm going to try screwing around with the code for a little while longer anyways.
    Thanks everyone for putting up...
  6. Replies
    8
    Views
    1,507

    Right. Is there a way to assign it a value...

    Right. Is there a way to assign it a value though, treating it as a variable?
  7. Replies
    8
    Views
    1,507

    The file contains a string of characters, for...

    The file contains a string of characters, for example, "actgtcat".
    Sorry for not being clear. I want to assign a value for each character For example, reading a string of "aatcgatatcg", and...
  8. Replies
    8
    Views
    1,507

    converting a string to array

    Hi all;
    So I have an assignment that needs me to take in a file that simply has a string of characters
    (for example: aacgttatgtgtaaccagaactgatgt) and output a file that assigns each letter a...
  9. Replies
    7
    Views
    1,715

    I wasn't aware that having both would take up...

    I wasn't aware that having both would take up more memory. It would make it easier for someone else to copy and paste the code if they ever wanted to use it though. And it does save a lot of space in...
  10. Replies
    7
    Views
    1,715

    I wish I read your post before I finished up my...

    I wish I read your post before I finished up my program.
    So I decided to keep everything in main. It was 5 in the morning, so I was getting desparate. It looks something like this:

    else if (roll...
  11. Replies
    7
    Views
    1,715

    Thank you for the help! I think I understand what...

    Thank you for the help! I think I understand what you're saying, but I only have my void displaying the beetle. This is is shortened version of what I wrote so far(dice roll = 1). I'm not too...
  12. Replies
    7
    Views
    1,715

    understanding void functions

    Hi all, I have an assignment that needs me to simulate a game of beetle.
    Beetle (game) - Wikipedia, the free encyclopedia
    It's just a simple dice roll game, one number represents one part of the...
  13. oh. right. Thanks so much for the help! three...

    oh. right. Thanks so much for the help! three hours well spent.
  14. Thankyou for the reply. Is there a way to check...

    Thankyou for the reply. Is there a way to check individually then, as opposed to the whole balloon string? I tried specifying it earlier, by saying
    if (baloon [i] ==" ") but all that did was give...
  15. combining two ASCII artworks.Why doesn't this work?

    Hi everyone, I'm a first year cs student so I don't really know what i'm doing yet. Anyways, one of our assignments is to combine two ASCII pictures (balloon and sunset) together. I have an idea of...
Results 1 to 15 of 15