Search:

Type: Posts; User: Whyrusleeping

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    4,692

    the code i was testing (with printout for...

    the code i was testing (with printout for checking) was


    BOOL result = SystemParametersInfo(SPI_SETMOUSESPEED, 0, (void*)value, 0);
    if(result)
    printf("\nSuccess\n");
    else
    ...
  2. Replies
    3
    Views
    4,692

    Changing mouse speed.

    Hi, for a CAD type program im writing i need to change the mouse speed in different design mode (the sensetivity is too high for the right precision) and i cant find the right function, ive tried...
  3. Replies
    2
    Views
    1,114

    Isnt this considered cheating?

    Isnt this considered cheating?
  4. The answer given in your boot is correct, for a...

    The answer given in your boot is correct, for a declaration. but accessing that spot in the array would be your answer.
  5. Replies
    48
    Views
    4,527

    Hey, thanks for all the help. but im a little...

    Hey, thanks for all the help. but im a little lost on what some lines do (it works great, i just want to understand it):
    in this line what does setw(10) do? also, i was warned by quite a few people...
  6. Replies
    48
    Views
    4,527

    on the length of the input, i was meaning to cap...

    on the length of the input, i was meaning to cap it at 64, the database is meant to hold individual words, and i dont know any words that are 64 letters long...
  7. Replies
    48
    Views
    4,527

    Well, with a little help from here and a lot of...

    Well, with a little help from here and a lot of man page referencing i finally got around to what i wanted to do (sorry if i was ever unclear on what i was asking, ive never really worked with file...
  8. Replies
    48
    Views
    4,527

    I did read it, quite a few times. I think i...

    I did read it, quite a few times. I think i should specify my question more, does using the read function to read a string from a binary file produce human readable output or is there some 'binary...
  9. Replies
    48
    Views
    4,527

    So, i get that part, but can i just go...

    So, i get that part, but can i just go write("some string", size) and then later just read(*chararray, size) and have chararray contain "some string"? or do i have to break it down and write it...
  10. Replies
    48
    Views
    4,527

    I really feel like what im doing is way...

    I really feel like what im doing is way over-complicated for my purposes, but to the best of my knowledge, read and write deal only with strings, so i cant just tell it to write an integer, also,...
  11. Replies
    48
    Views
    4,527

    @whiteflags, what do you mean i dont need to...

    @whiteflags, what do you mean i dont need to format bits?
  12. Replies
    48
    Views
    4,527

    alright, so ive written my own little method of...

    alright, so ive written my own little method of serializing a class, but im having trouble reading the strings i write to the file...

    my class:


    class datas
    {
    public:
    ...
  13. Replies
    48
    Views
    4,527

    Serializing classes

    So im wanting to be able to save the contents of classes in my code to a file and load them back at a later time, ive been looking at boost for serialization but i cant seem to find a good enough...
  14. Replies
    2
    Views
    1,886

    Gracias.

    Gracias.
  15. Replies
    2
    Views
    1,886

    simple chatbot problems

    Hello everyone,
    im just getting a little practice on working with strings recently so i decided to try my hand at a chatbot, i wrote a super simple example and one of the responses works... but...
  16. Replies
    10
    Views
    1,381

    im not THAT bad at this. i know how to compile......

    im not THAT bad at this. i know how to compile... what i was asking was using C what code would i use to for instance, call gcc?
    i.e.


    int main()
    {
    compile("file.c");
    return 0;
    }
  17. Replies
    10
    Views
    1,381

    well, im using emacs. which, i dont beleive is an...

    well, im using emacs. which, i dont beleive is an IDE. What code would i use to call gcc from inside a program?
  18. Replies
    10
    Views
    1,381

    So i guess i should specify that i want the...

    So i guess i should specify that i want the program to not just write the source code for another program, but compile and possibly run it. is this as simple as im thinking? like, could i call gcc...
  19. Replies
    10
    Views
    1,381

    Is it possible....?

    So i was sitting in calculus today absent-mindedly not studying for the final when i thought of something. Is it possible to write and compile a program, that writes and compiles a program? (oooOOo...
  20. Replies
    8
    Views
    1,496

    If you dont really know what your doing, try...

    If you dont really know what your doing, try starting with something easier, like a bmp. they are easier to read than JPEGs
  21. Replies
    7
    Views
    1,799

    It works perfectly now. I think i love you.

    It works perfectly now. I think i love you.
  22. Replies
    7
    Views
    1,799

    if (st[i] == " ") // this is the line that its...

    if (st[i] == " ") // this is the line that its having an error with
    {
    x++;
    continue;
    }
  23. Replies
    7
    Views
    1,799

    What exactly happens when you pass back the...

    What exactly happens when you pass back the pointer, are you just passing back one letter? or the rest of the phrase?
  24. Replies
    7
    Views
    1,799

    Char Array passing help

    Hello everyone
    Im working on a function that takes a character array and returns the nth word in the array into another array using pointers. But Soooomehow, its not working... sigh...
    It would be...
  25. Replies
    7
    Views
    6,958

    Thanks! i think thats fixed it!

    Thanks! i think thats fixed it!
Results 1 to 25 of 29
Page 1 of 2 1 2