From the MSDN site, here is some code I modified:
#include <string.h>
#include <stdio.h>
#include <iostream.h>
char *token;
char stringx[32];
Type: Posts; User: Annorax
From the MSDN site, here is some code I modified:
#include <string.h>
#include <stdio.h>
#include <iostream.h>
char *token;
char stringx[32];
I researched this a bit and for the life of me I can't seem to figure it out and get it to work.
Example:
I want to parse a string, like "take club" into "take" and "club", storing those into...
I think I need some packages for this. I found sound.h but when I include it I get a bunch of errors asking for config.h and a bunch of errors in lzexpand.h
I'm using C++ so the printf shouldn't be there. I figured that %i was integer and %s is string.
But where are the tokens stored and how can I access them?
I'm using the Borland compiler under Editplus. Would those work, and if so how exactly do I use them?
I'm a C++ newb so sorry for the easy questions.
I've programmed in QBASIC for years but now I am learning C++ since it is quite superior.
How does one make music with the PC speaker? In BASIC it was pretty simple, is there a similar set of...
I am working on a text RPG and I need a way to parse the user's commands and I think tokenizing the input would be the easiest so I can piece together the bits. However, it is not working well for...