Thats almost what I need, Salem. But how would I want to include everything [I]after[I] "message"?
Type: Posts; User: Phan
Thats almost what I need, Salem. But how would I want to include everything [I]after[I] "message"?
ok,
I have a varialbe that is the following:
y = -1 hello hey sup -2 bye cya
Is there a way that I can get it to print everything except everything after -2?
Hello,
I was wondering if there is a way to only get a certain part of text from a variable. For example if y = hello hey sup howdy, is there any easy way to choose and print one of those...
Ok, so I should probably use select then with a timeout. How would select() be used in a situation like this? select(blah, &readfds, NULL,NULL,&timeout); ?
Does read return anything if there is nothing more to read? Because I've currently been trying something like this:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>...
Yes, I accidently posted this is C. My mistake.
Is get(); the thing that messes up my code?
When I run this program, everything works as expected. It starts up and connects to a server and gets all the stuff the server is supposed to send. However, when I try to type something, it works,...
How do I transfer that value?
Thanks guys. Right now, it works as programmed. However, on the contact and notepad menus, I press "0" and it takes me back to the main screen but then it quits. This is expected since all my cin...
Its actually still not working right. I did a quick test, and it is not working for me:
#include <iostream.h>
#include "menu.cpp"
using namespace std;
int main()
{
int answerget;
...
Hello, I am somewhat I newbie to C++ programming and I require some help with this. I am writing a simple organizer program but I run into a problem: I run it and it gives me the main menu, and I...