Search:

Type: Posts; User: InvertedSaint

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,530

    I believe int i;is a decleration, while ...

    I believe

    int i;is a decleration, while


    i=10;is an assignment.
  2. Replies
    4
    Views
    1,495

    Many thanks.

    Many thanks.
  3. Replies
    4
    Views
    1,495

    Foolish question

    For some reason, I can't remember how to printf a %. If I use something like

    printf("20\%");
    I just get nonsense. I'm just picking c back up, so some things are forgotten :S

    Any help...
  4. Replies
    2
    Views
    1,338

    Thanks buddy. And don't worry, there are no...

    Thanks buddy. And don't worry, there are no mismatched ones, and no nested ones either. You really are a live-saver :)
  5. Replies
    2
    Views
    1,338

    Some help with string manipulation

    Hello all. This is my second thread where I've failed to work out string manipulation, and it's fairly similar to my first one. Basically, I've got a string, and I'm looking to remove anything that's...
  6. Replies
    5
    Views
    1,053

    It works perfectly :D Thank you for your help :)...

    It works perfectly :D Thank you for your help :)

    I'll go read up on what fflush is doing, now :)
  7. Replies
    5
    Views
    1,053

    Infinite looping

    Hello all. I've encountered a problem with some code I'm using and I was looking for some help. The code is:



    temp = 0;
    while (temp < 1 || temp > 7) {
    system("CLS");
    printf("Race...
  8. Replies
    6
    Views
    1,662

    Yeah, I got that. That's why I had the '+ 1' in...

    Yeah, I got that. That's why I had the '+ 1' in there. Of course, I was an idiot and did it the wrong way :S

    And yeah, you're right about the other side being setup differently. I probably...
  9. Replies
    6
    Views
    1,662

    Ahh! Thank you! An extremely efficient way to...

    Ahh! Thank you! An extremely efficient way to populate the board (I forgot about modulus :S ) and the final problem with my code.

    So, row one would detect because you would type '1', which the...
  10. Replies
    6
    Views
    1,662

    for (j = 1; j

    for (j = 1; j <= 7; j += 2) {
    board[1][j] = 1;
    }


    That is in there, which I think would populate row two. I do not think it is a problem with the population, however, as when I...
  11. Replies
    6
    Views
    1,662

    Problem with drafts game

    Hey y'all. I've decided to try and code a drafts game. However, I'm getting some rather odd output. Now, I know I could be doing this more efficiently, but right now I'm just interested in working...
  12. Replies
    6
    Views
    1,495

    Sorry to sound like an idiot, but that site's...

    Sorry to sound like an idiot, but that site's very hard to understand. I can see it as being useful for checking up on things you've already learnt, but I can't make head or tail of what it's talking...
  13. Replies
    6
    Views
    1,495

    If I can't access a specific page using telnet,...

    If I can't access a specific page using telnet, can I access it using sockets?

    Perhaps if I asked how this could be done for a Microsoft Word Document it would give me a clearer answer.
  14. Replies
    6
    Views
    1,495

    http://beej.us/guide/bgnet/output/htmlsingle/bgnet...

    http://beej.us/guide/bgnet/output/htmlsingle/bgnet.html

    This looks promising. Thanks :)
  15. Replies
    6
    Views
    1,495

    Reading a Webpage

    Hey guys. I'm trying to write a program for an online game I play (Turn based). Anyway, the point is that I need a program that can visit the specific pages of the game and read the source code of...
  16. Replies
    17
    Views
    2,936

    Wow. That's a lot of stuff to absorb. I'll try...

    Wow. That's a lot of stuff to absorb. I'll try and understand as much as I can. :)
  17. Replies
    17
    Views
    2,936

    Thank you. I will make these adjustments and see...

    Thank you. I will make these adjustments and see if I can get the code to work fully now :)

    EDIT: Yep, it works. Thanks for that. I'm gonna change it a little so that if the "You are" doesn't...
  18. Replies
    17
    Views
    2,936

    A little help with string manipulation

    Basically, what I'm trying to do is take a line of text from the user as input, then spew it back, but with "I am" replaced with "You are". There are a few printf's in here that are just there to...
Results 1 to 18 of 19