Search:

Type: Posts; User: belhifet

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,837

    I already did a search, I only found a similar...

    I already did a search, I only found a similar thread.
  2. Replies
    5
    Views
    3,837

    Thanks, I mostly use Linux and Mono for...

    Thanks, I mostly use Linux and Mono for development and I don't really want a Windows-VS geared book.
    Is that the case with that one?
  3. Replies
    5
    Views
    3,837

    Book recommendation

    Which book do you recommend for C#?

    I know C and have read some short tutorials on really basic stuff of C# and OOP.
  4. Replies
    6
    Views
    1,049

    Of course I want the second. Is there a...

    Of course I want the second.

    Is there a library that can help me?
    Other than cURL?
  5. Replies
    2
    Views
    2,253

    Ah, I don't know, I just want it to run on the...

    Ah, I don't know, I just want it to run on the background and perform an action whenever the wheel mouse is clicked.

    Any ideas?
  6. Replies
    6
    Views
    1,049

    Huh? It wasn't.

    Huh? It wasn't.
  7. Replies
    6
    Views
    1,049

    Programmatically post to forums

    How could I programmatically post to a forum (like this one) using C?
    Any code examples?
  8. Replies
    2
    Views
    2,253

    Watch for mouse events

    How could I watch the mouse for special events, like when the scroll wheel is pushed?
    E.g. When the mouse wheel is pressed, the shell would execute echo "hello".
    The OS is Linux.

    Is there some...
  9. Replies
    5
    Views
    2,336

    Lots of questions

    Hello,

    Lately I've been considering to make the move to C#. There has been a
    lot of hype about it in the last 3-4 years and it just seems(is it
    though?) the perfect modern language choice.
    ...
  10. Replies
    5
    Views
    10,348

    I'm interested in %d and %f. Using fgets and...

    I'm interested in %d and %f.

    Using fgets and sscanf seems a little tedious.
    Can anyone give an example of how would I read a number from stdin securely (with use of scanf, fgets, sscanf or any...
  11. Replies
    5
    Views
    10,348

    secure use of scanf

    I've heard how scanf can pose security risks.
    What would be the correct and safe way to use it, so that those risks would be avoided?
  12. Thread: fgets problem

    by belhifet
    Replies
    14
    Views
    2,848

    ZuK I already tried the additional fgets, but it...

    ZuK I already tried the additional fgets, but it appears weird that way.

    Anyone know how to empty the buffer in another way?
  13. Thread: fgets problem

    by belhifet
    Replies
    14
    Views
    2,848

    Yes, but what's the solution to this problem? I...

    Yes, but what's the solution to this problem?
    I need to use scanf and fgets.
    Is there a way to remove the terminating '\n' from the input buffer?

    Which functions could I have used alternatively?
  14. Thread: fgets problem

    by belhifet
    Replies
    14
    Views
    2,848

    fgets problem

    I have the following code:


    #include <stdio.h>

    #define N 2

    int main()
    {
  15. Replies
    6
    Views
    4,093

    But I want to do it with "ld", not with "gcc -o".

    But I want to do it with "ld", not with "gcc -o".
  16. Replies
    6
    Views
    4,093

    That was because I am sure I'm doing it wrong....

    That was because I am sure I'm doing it wrong.
    Here it is:
    ld: warning: cannot find entry symbol _start; defaulting to 00000000080480a0

    When I try to execute the executable, i get "Illegal...
  17. Replies
    6
    Views
    4,093

    link object file with ld

    hi, I want to manually link an object file using ld.
    I'm just compiling with gcc -c test.c and then i do ld test.o, but it gives me an error.

    What am I doing wrong?
Results 1 to 17 of 17