Search:

Type: Posts; User: xconspirisist

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,447

    Audit this simple code?

    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...
  2. Pitty. I wanted any generic telnet client to be...

    Pitty. I wanted any generic telnet client to be able to access the server. Ahwell.
  3. Control characters to emulate a prompt?

    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...
  4. Replies
    3
    Views
    1,479

    With a couple of modifications to that code, it...

    With a couple of modifications to that code, it worked fine, many thanks :)
  5. Replies
    3
    Views
    1,479

    extra line breaks from recv?

    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,...
  6. Thank you dearly, that worked a treat :)

    Thank you dearly, that worked a treat :)
  7. Could you please step me through creating a...

    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...
  8. MSVC 'string' syntax highlighting like 'char, int, void'.

    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...
  9. Replies
    14
    Views
    1,315

    Now I'd like to ask you how to use a reference...

    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...
  10. Replies
    14
    Views
    1,315

    - double post -

    - double post -
  11. Replies
    14
    Views
    1,315

    Sure. However, there are many functions that...

    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...
  12. Replies
    14
    Views
    1,315

    Okey then. Consider this code: void...

    Okey then. Consider this code:




    void func_2 ( myclass_t myclass_h ) {
    myclass_h.value = false;
    }

    void func_1 ( myclass_t myclass_h ) {
  13. Replies
    14
    Views
    1,315

    That is a great deal of help. From that, how can...

    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 (...
  14. Replies
    14
    Views
    1,315

    Thanks, that appears to work. However, I cant get...

    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...
  15. Replies
    14
    Views
    1,315

    Cant read class variable.

    class.cpp



    // testing.cpp : Defines the entry point for the console application.
    //

    #include "stdafx.h"
    #include "class.h"
  16. Replies
    6
    Views
    2,071

    'message' is a char variable. Where x is 5,...

    '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...
  17. Replies
    6
    Views
    2,071

    Join string and int.

    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.
  18. Variables already defined while linking.

    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,...
  19. Replies
    18
    Views
    2,520

    I will seek help elsewhere.

    I will seek help elsewhere.
  20. Replies
    18
    Views
    2,520

    Sleep is messy. If the user cancels the loop or...

    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.
  21. Replies
    18
    Views
    2,520

    Looping once a second...

    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...
  22. Replies
    5
    Views
    1,406

    yah, I was building the file twice. I figured...

    yah, I was building the file twice. I figured this out right after I posed my last post, but forgot to come back. sorry.
  23. Replies
    5
    Views
    1,406

    I think its looping the file, somehow, or...

    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...
  24. Replies
    5
    Views
    1,406

    My bad. I get these compile errors : ...

    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':...
  25. Replies
    5
    Views
    1,549

    My god, I cant believe no one can answer this ......

    My god, I cant believe no one can answer this ... anyone, help...
Results 1 to 25 of 44
Page 1 of 2 1 2