Hi! I am working on a project, which involves the use of strings to allow for future "mods" and easier updating.
I always run into a problem though with strings, heres my code:
function loadLevel(STRING* name);
{
STRING* fullpath = name;
str_cat(fullpath, "\\config.cfg"); // At this line I recieve a "Invalid Arguments in loadLevel" error?
}
function main()
{
loadLevel("map1");
}
Any ideas why this is happening... it seems perfectly acceptable..
Thanks,
Matt.