Mind just checking this code out for me? It should compile fine and generally be error free, although I'm realeasing it on my website, and I dont want there to be too many nastys in it. If there is a...
Type: Posts; User: xconspirisist
Mind just checking this code out for me? It should compile fine and generally be error free, although I'm realeasing it on my website, and I dont want there to be too many nastys in it. If there is a...
Pitty. I wanted any generic telnet client to be able to access the server. Ahwell.
I am writing a server that is accessed over telnet. I need to prompt the user for information. I can send a prompt such as : "Enter your name: ", however, if the user holds backspace, it overwrites...
With a couple of modifications to that code, it worked fine, many thanks :)
Extra line breaks appear to be added to my message that is generated from characters which are in turn passed from recv(). It is fine for the first message, when you press enter for the first time,...
Thank you dearly, that worked a treat :)
Could you please step me through creating a "UDK", I dont have the MSDN help library avalible, and a few searchs at msdn.microsoft.com didnt turn up anything refuitible.
Thanks hk_mp5kpdw, I was...
How do I get msvc to highlight the datatype 'string', as 'char, int and void', for example, are highlighted by default. I've heard it is something to do with usertype.dat, but i've been unable to...
Now I'd like to ask you how to use a reference properly. I fiddeled for 10 minutes, and did a lot of googling to no avail.
Cearly this thread could contine many pages long with my seemingly...
- double post -
Sure. However, there are many functions that might use myclass, is there a more efficent way of using this class, with 'value' remaining as it were last set, without having it passed around in this...
Okey then. Consider this code:
void func_2 ( myclass_t myclass_h ) {
myclass_h.value = false;
}
void func_1 ( myclass_t myclass_h ) {
That is a great deal of help. From that, how can I allow the value of 'value' to be carried across functions?
Some psudo code:
void test_func ( void ) {
myclass_t myclass_h;
if (...
Thanks, that appears to work. However, I cant get the correct value returned without first calling set. This means, from each function that I want to access 'value', I must first set it, in each...
class.cpp
// testing.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "class.h"
'message' is a char variable.
Where x is 5, and y were 3, I'd like the string to read
I assumed that << would join variables together. In php, you would write something like:
echo...
This is going to sound crazey, but I've no idea why this 'wont work'.
message = "value of x is " << x << " value of y is " << y;
x and y are int's. The end result has to be a char.
I've not written C in quite a while, sorry if I'm looking over something obvious.
Here is camera.h
float angle=0.0, deltaAngle = 0.0, ratio;
float x=0.0f, y=1.75f, z=5.0f;
float lx=0.0f,...
I will seek help elsewhere.
Sleep is messy. If the user cancels the loop or something, no, its just horrible.
There must be another way. I'm compiling with GCC anyway.
My program keeps the time since it was started every microsecond. I want to preform an action at a certain amount of microseconds after the program is started. I need to process these actions many...
yah, I was building the file twice. I figured this out right after I posed my last post, but forgot to come back. sorry.
I think its looping the file, somehow, or building it twice, im not quite sure. When I try to compile the file, on its own, without the build - then it compiles fine.
( I think those errors I...
My bad. I get these compile errors :
debug-x86-Linux-2.3/Q3/q3_ui/q3_ui/ui_loadconfig.o(.text+0x574): In function `UI_LoadConfig_Cache':...
My god, I cant believe no one can answer this ... anyone, help...