thanks for your help, i will go and learn to pass my array into my function as a vector, i will look for a tutorial on this but if you have any suggestions of where some "good" tutorials on this are...
Type: Posts; User: morngrym
thanks for your help, i will go and learn to pass my array into my function as a vector, i will look for a tutorial on this but if you have any suggestions of where some "good" tutorials on this are...
well i have one solution to my code right now but i would prefer to keep the main function simplier
#include <string>
#include <iostream>
using namespace std;
i have lately been running into lots of problems where i have a "string" and the items needs a "char" or vise versa, i have been trying to stay to "strings". I also think it has to do with the calls...
ok im trying to work with a client file and server file at the same time but with visual c++ you need a project to make a file and i dont want 2 different projects to work on the 2 different files....
Thanks i seem to have it working how i want now, the strcat(string, &c) seems to work well
ok i have strcat with 2 strings but i cant convert the keypress into a string, i changed
.
char c = char(kb);
to
char c[1] = char(kb);
Hello im kinda new with C++ and im trying to have a program that reads in a keyboard press while the programs continues to run. i seem to have that part of it ok but im trying to create a string with...