Search:

Type: Posts; User: edomingox

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    7,970

    I'm a dummy. You're right from the start. In my...

    I'm a dummy. You're right from the start. In my other programs, I used %[^*]*. I didn't even see that extra asterisk I put there.
  2. Replies
    4
    Views
    7,970

    Thanks for the advice john. I tried putting l...

    Thanks for the advice john. I tried putting l before the bracket and it didn't work.
    I added what readLine is in my first post (probably while you were responding), I have the asterisk there. ...
  3. Replies
    4
    Views
    7,970

    Need help with swscanf function

    So I started a new program and I'm using wide characters (wchar_t). This is all new to me and I'm having a hard time adjusting to the new syntax. One of the problems I'm having is trying to read a...
  4. Replies
    7
    Views
    9,069

    I guess since I'm programming on a Windows 10...

    I guess since I'm programming on a Windows 10 using Visual Studio 2019, I'm pretty much out of luck trying to use more than the 15 colors. I'm not good at programming graphics but I guess I can try...
  5. Replies
    7
    Views
    9,069

    I'll try this to fix my unicode issue. YouTube...

    I'll try this to fix my unicode issue. YouTube

    Would this work?

    set_mode(VGA_256_COLOR_MODE);
    I found it here: 256-Color VGA Programming in C - bitmap.c

    I'll have to explore this route...
  6. Replies
    7
    Views
    9,069

    I double checked the program. I may be wrong. I...

    I double checked the program. I may be wrong. I have the #defines to use them in printf statements but I'm not actually using them. I'm using the textcolor(int); function that you see everywhere. ...
  7. Replies
    7
    Views
    9,069

    I have two different programs I've made. I...

    I have two different programs I've made. I created a function that changes the textcolor for both foreground and background, but it only does 15 colors. In one of those programs, I use the escape...
  8. Replies
    7
    Views
    9,069

    256 colors possible?

    Currently, I'm programming in C and making a console program and could only use the 15 colors. Is there a way to continue making a console program that will use 256 colors? This is all in Windows. ...
  9. Replies
    6
    Views
    8,102

    I thought about binaries. I'll have to research...

    I thought about binaries. I'll have to research that.

    I thought about people editing for their own purposes, but I would want them to first play the game as intended instead of modifying the...
  10. Replies
    6
    Views
    8,102

    Advice for securing text files?

    Hello All,

    My program utilizes text files to load data like weapons, rooms, monster information. I can't have player's opening the files and editing them.

    Does anyone have any advice on what...
  11. I don't think i have it compartmentalized as much...

    I don't think i have it compartmentalized as much as it should be. As I have been programming it and testing it, I have been finding things I wished I should of done differently but settled with it...
  12. so would it be difficult adding multiplayer into...

    so would it be difficult adding multiplayer into a text based game after it's already created? or would it be easier to start over?
  13. I think for my game, I would want the...

    I think for my game, I would want the client-server type. The game would run and everyone connects as a client. I think the main thing I need to do is ensure all the clients get the same data to...
  14. Turning a single player game into multiplayer

    Hello All,

    I'm in the middle of programming a text based adventure game and was thinking how nice it would be to make it multiplayer. Unfortunately, I have no idea how to go about this? So, I...
  15. Replies
    7
    Views
    2,908

    Thanks for the advice. This is what works now...

    Thanks for the advice.

    This is what works now which takes into consideration any backspaces.


    char cChar[2];
    int c;
    int extended = 0;

    c = _getch();
  16. Replies
    7
    Views
    2,908

    Yes, by my thinking it through. Here's an idea I...

    Yes, by my thinking it through. Here's an idea I had. I would get each individual character and print it as if you were using fgets. But again, the backspace key is a bother. Here's my testing...
  17. Replies
    7
    Views
    2,908

    Visual C++ 2008 Enterpirse

    Visual C++ 2008 Enterpirse
  18. Replies
    7
    Views
    2,908

    Arrow keys and normal input question

    I have a game which is text-based. I'm trying to incorporate the arrow keys. I know what the values are. What I'm trying to do is be able to differentiate the difference between the player using...
  19. print onto screen only in a designated area?

    I've seen the command before but I can't remember what it is. I would like to be able to print onto the screen data but only in a certain area. For example, on a window console that has 25 lines, I...
  20. Replies
    10
    Views
    12,813

    I know this is an old post, but this code should...

    I know this is an old post, but this code should help anyone that has this issue.

    I have the following code that works:


    void gotoxy(int x , int y)
    {
    /******************************* gotoxy...
  21. That may be the same thing I can use. Is there...

    That may be the same thing I can use. Is there an easy way to do such a thing? I've never done something like that before. I wouldn't know where to start.
  22. How do you create two consoles with one program?

    Here's the situation. I would like to be able to have to window consoles running by one program. the program is a text adventure game. One window would contain all the info and actions going on. ...
  23. mciSendString, how do you get the filename from the alias

    I'm using mciSendString and I was wondering how do you retrieve the file name from the alias.

    Given the following code:


    mciSendString("open music.mp3 type mpegvideo alias myfile", NULL, 0,...
  24. Replies
    7
    Views
    3,285

    mciSendString seems to be able to play multiple...

    mciSendString seems to be able to play multiple sounds at once. I'm having trouble getting the repeat command to work. I'm trying:

    mciSendString("play sound.wav repeat", NULL, 0, 0);

    but it...
  25. Replies
    7
    Views
    3,285

    I'm using VC express. I think it's 2008. It's...

    I'm using VC express. I think it's 2008. It's the free one.

    As far as the errors go, I didn't write them down. I'm currently on a business trip and I am using a different computer to access the...
Results 1 to 25 of 42
Page 1 of 2 1 2