Maybe if I just discussed what I was trying to do someone could point me in the right direction, because after this i'm guessing that i'm doing it wrong. Ok so, I have this kinda fun idea for a game...
Type: Posts; User: newntrue
Maybe if I just discussed what I was trying to do someone could point me in the right direction, because after this i'm guessing that i'm doing it wrong. Ok so, I have this kinda fun idea for a game...
Hey thanks,
that is a really good site. However I think I followed what his [33.2] said, but i'm still getting an error....
#ifndef USER_H
#define USER_H
#include <stdio.h>
ok....here's an update on the code....i've taken just a little difference approach...i'm trying to use friend classes... c/o the code
#ifndef USER_H
#define USER_H
#include <stdio.h>...
I should probably post the error i'm getting:
$g++ -lpthread test.cpp
user.h: In member function ‘void USER::start()’:
user.h:42: error: argument of type ‘void* (USER::)(void*)’ does not...
Hey, I was just curious if you could make a thread out of a class function...if it is possible, what am i doing wrong?
#ifndef USER_H
#define USER_H
#include <stdio.h>
yea, I used the man pages some, just not enough evidently lol. i'm not really new to linux, just programming c++ on linux. anyway thanks for the help. Portland Or rocks. My family is from Canby,...
lol that helps...i knew it was something nub-ish. Thanks for the help
//this is the code
#include <iostream>
int main()
{
std::cout<<"testing";
return 0;
}
ok i got hello world working...but i had to use "using namespace std;"
do i have to use namespace std on linux????
Am I doing something wrong with Linux. I was doing a tutorial online dealing with sockets and the tutorial was specific to Linux sockets and the code didn't compile. This is the first time I've tried...