Search:

Type: Posts; User: bwisdom

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,227

    Initializing arrays

    I have a question. If:



    char s[]="abc";


    works, why doesn't
  2. Replies
    6
    Views
    1,743

    I found the problem. I was only allocating the in...

    I found the problem. I was only allocating the in 1d. I needed to add for loops to allocate in the second dimension. Plus, on the int pointers, I only had to allocate in 1d instead of 2 so I got rid...
  3. Replies
    6
    Views
    1,743

    Meh I ended up just coming to campus and using...

    Meh I ended up just coming to campus and using Visual Studio Express. There error I get now is

    "cxx0030 error expression cannot be evaluated"

    with each printf in the for loop

    Also, it...
  4. Replies
    6
    Views
    1,743

    The compiler we use is a server on campus,...

    The compiler we use is a server on campus, obviously without a debugger, and I haven't really even thought about setting one up. Ill see if I can't find something.
  5. Replies
    6
    Views
    1,743

    Segmentation fault with card game

    Hello folks! For my C programming class we have to make a card game that goes through 2 "decks" of cards and if the "cards" match we put one of those cards in a matching deck and then after the...
  6. Replies
    1
    Views
    1,000

    How to go about this?

    Im having trouble thinking through a project in my class. I had two ideas. Both of which crashed and burned.

    Here is the link to the .doc:...
  7. Replies
    6
    Views
    1,502

    Oh awesome, so there is hope. The only reason I...

    Oh awesome, so there is hope. The only reason I don't want to do it the windows way is because even though I am creating on a windows machine the project is going to be compiled and ran for a grade...
  8. Replies
    6
    Views
    1,502

    Well I know in some games I've played they had it...

    Well I know in some games I've played they had it thatn when you click their button for help it would open a .txt file. I was hoping I could do the same, it doesn't sound like it though.
  9. Replies
    6
    Views
    1,502

    Opening a text file

    Well for my final project I have to make a game and whatnot, that is kinda not the issue. The issue is how to get my .txt file open so people can read it. I've tried looking it up, but I must be...
  10. Replies
    5
    Views
    1,254

    It does work how you described it. I never...

    It does work how you described it. I never thought that by addressing one problem would I figure out the other. In all the stuffs I saw on getline() I never saw anything about a 3 argument function....
  11. Replies
    5
    Views
    1,254

    I want it to stop reading into the current and...

    I want it to stop reading into the current and start reading into the next when a comma is typed. I know about the whole loop thing, I am just trying to get the return key as whitepspace thing to...
  12. Replies
    5
    Views
    1,254

    Return key as whitespace?

    In the program I am working on one of the first things I need it to do is to read whitespace and the return key all into the same string. For instance, if I were to type(the dots represent spaces...
Results 1 to 12 of 12