Alright, that clearly made some difference. I added a "return t" statement at the end of the else bracket, and it no longer prints out garbage. It does, however, print out "Token: Basic: " on new...
Type: Posts; User: KuuKuu
Alright, that clearly made some difference. I added a "return t" statement at the end of the else bracket, and it no longer prints out garbage. It does, however, print out "Token: Basic: " on new...
#include "tokenizer.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
char *token;
int startOfToken = 0;
void startToken(char *line)
{
It's due for a bit, but a little while ago I was assigned a String Tokenizer assignment. Here is what the assignment asks of me:
I understand what the assignment is asking me to do. And what...