Search:

Type: Posts; User: ipe

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: RegQueryValueEx

    by ipe
    Replies
    2
    Views
    20,213

    thank you! it helped a lot

    thank you! it helped a lot
  2. Thread: RegQueryValueEx

    by ipe
    Replies
    2
    Views
    20,213

    RegQueryValueEx

    Hi all!
    I'm looking for the easiest way to read some registry key but i am really newbie.
    i search in msdn and inside this forum but everything i found is too complex and i couldn't understand....
  3. Thread: where the error?

    by ipe
    Replies
    3
    Views
    1,269

    thank you guys. the situation is: tmpstr ->...

    thank you guys. the situation is:

    tmpstr -> "string\0"
    userip[3] -> itoa() -> 150.30.56.90 -> tmpstr[]
    the problem is that i'm trying to concat userip to tmpstr and then concat anpther string to...
  4. Thread: where the error?

    by ipe
    Replies
    3
    Views
    1,269

    where the error?

    Hi all! i'm trying to use string functions but I isn't working as I hope:



    void gravar()
    {
    unsigned int a=0 , b=0;
    char tmpstr[255], ip[16], userip[3];

    scanf("%d.%d.%d.%d",...
  5. Replies
    2
    Views
    3,921

    thank you!

    thank you!
  6. Replies
    2
    Views
    3,921

    do while any key not pressed

    Hi guys!
    How should I do to stop a for statement if ESC key is pressed?

    thank you guys!
  7. Replies
    5
    Views
    1,692

    Oh I see... posix Thank you guys for the help!

    Oh I see... posix
    Thank you guys for the help!
  8. Replies
    5
    Views
    1,692

    Sorry. I didnt reported I want a portable code....

    Sorry. I didnt reported I want a portable code. None of windows APIs plz.
    Thanks!
  9. Replies
    5
    Views
    1,692

    get text from screen

    How do I "read" some text on console?
    example:

    system("program.exe");
    then the program.exe i called from my code, puts some output string on the screen and I'd like to get that output message....
  10. Replies
    0
    Views
    976

    get ip (faq reference)

    I found this code on faq. (get the own ip)
    But I couldn't understand it. What may I change to make this code work?
    ...
  11. Replies
    12
    Views
    2,193

    actually i'd like my program would be...

    actually i'd like my program would be "compilable" in other plataforms behind windows.

    Thank you hammer!
    ipv4 & ipv6 :)
  12. Replies
    12
    Views
    2,193

    thanks voce é judeu msm? pq vcs sao tao unidos...

    thanks

    voce é judeu msm? pq vcs sao tao unidos com os e. unidos da a.? vcs deveria levar a religiao a serio cara! vejo q vc nao leva so pelo icone q escolheu
  13. Replies
    12
    Views
    2,193

    por que eles sao sacanas? me explique. vc é...

    por que eles sao sacanas? me explique. vc é brasileiro?

    winsock.h must be used only under windows?
  14. Replies
    12
    Views
    2,193

    sim. eu falo portugues. e vc é mesmo de israel?...

    sim. eu falo portugues. e vc é mesmo de israel? deixe os palestinos em paz!
  15. Replies
    12
    Views
    2,193

    getting local ip (not internet ip)

    hi!
    Firstly, i need to say i tried to search about this issue in the forum but it dont work. (minimum forum search length = 3 // strlen("ip") = 2 :) )

    well i just need to know the local ip...
  16. Thread: logica question

    by ipe
    Replies
    13
    Views
    1,597

    finish! where is a--; must be a--; c--;

    finish!

    where is a--; must be a--; c--;
  17. Thread: logica question

    by ipe
    Replies
    13
    Views
    1,597

    still failing when a sequential of 2 repeated...

    still failing when a sequential of 2 repeated numbers is in array.
    look: ...28,28....



    #include <stdio.h>

    int main()
    {
    int rptds[] = { 31,17,22,25,28,13,20,20,25,28,28,32 };
  18. Thread: logica question

    by ipe
    Replies
    13
    Views
    1,597

    thank you guys!! XSqaured: thank you. was...

    thank you guys!!

    XSqaured:

    thank you. was missing a--! :)

    a = sizeof( rptds ) / sizeof( int ) - 1;
    pretty one! it may be faster
  19. Thread: logica question

    by ipe
    Replies
    13
    Views
    1,597

    the problem is that in some cases it doesn't...

    the problem is that in some cases it doesn't overwrite repeated numbers and in others it overwrite non-repeated numbers with repeated ones. this code isn't working properly. :(
  20. Thread: logica question

    by ipe
    Replies
    13
    Views
    1,597

    logica question

    Hi guys! I got a simple problem but I dont know whats wrong in my code.
    The situation is:
    I have an array of integers:
    int rptds[] { 12, 32, 40, 12, 35, 95, 32, 12}; (any else)
    Then I want to...
  21. Thread: fopen() c:\...\

    by ipe
    Replies
    6
    Views
    4,045

    owwwhh!! i got it now! in c: "" is "\" and...

    owwwhh!!
    i got it now!
    in c: "\" is "\\"
    and the scanf converts \ to "\\"
    thanks!
  22. Replies
    2
    Views
    22,547

    check if the file exists

    how do i check if a file exist?

    without using if (fopen(....));
  23. Thread: fopen() c:\...\

    by ipe
    Replies
    6
    Views
    4,045

    yes, i know it!!!! but why the user needn't to...

    yes, i know it!!!!
    but why the user needn't to write c:\\...\\ ?
  24. Thread: fopen() c:\...\

    by ipe
    Replies
    6
    Views
    4,045

    I still not understanding why it accepts when the...

    I still not understanding why it accepts when the user write it but not when i write it on code.


    scanf("%s",&path);
    if (file = fopen(path,"r")) ...;

    in this case, if i set path to...
  25. Thread: fopen() c:\...\

    by ipe
    Replies
    6
    Views
    4,045

    fopen() c:\...\

    hi all!
    I'm curious about fopen() function.
    For exmaple:

    fopen("c:\windows\test","r");
    won't work.
    But if i change \ for /
    then

    fopen("c:/windows/test","r");
Results 1 to 25 of 52
Page 1 of 3 1 2 3