Search:

Type: Posts; User: SMB3Master

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,274

    using hello was only an example.

    using hello was only an example.
  2. Replies
    12
    Views
    2,274

    the purpose is reading a config file, this works...

    the purpose is reading a config file, this works perfectly.

    thanks :)
  3. Replies
    12
    Views
    2,274

    i want to get the file's contents into an array...

    i want to get the file's contents into an array like i said in my first post.
  4. Replies
    12
    Views
    2,274

    can you give an example please?

    can you give an example please?
  5. Replies
    12
    Views
    2,274

    reading files into arrays

    how do i read a text file's content into an array?

    i want it to work like this:

    the file contains the word "hello"

    the code would read the file and put the text in an array called text....
  6. Thread: arguments

    by SMB3Master
    Replies
    1
    Views
    1,013

    arguments

    how do i make my program use command line arguments? i want one to be an int, one to be a char, and the last to be a char array.

    something like this:

    programname help

    programname 5 5 #

    ...
  7. Replies
    1
    Views
    1,235

    Running two functions at once

    How can I run two functions at once?
  8. Replies
    19
    Views
    2,540

    It's working, thanks :D

    It's working, thanks :D
  9. Replies
    19
    Views
    2,540

    I'm using Dev-C++, the following code gave these...

    I'm using Dev-C++, the following code gave these errors:
    `::vector' undeclared (first use here) (line 9)

    parse error before `>' (line 9)

    `file' undeclared (first use this function) (line 12)
    ...
  10. Replies
    19
    Views
    2,540

    I tried using the secound one but I couldnt get...

    I tried using the secound one but I couldnt get it to work, what else do I need to add to it?
  11. Replies
    19
    Views
    2,540

    I'd wanna know about the blank lines.

    I'd wanna know about the blank lines.
  12. Replies
    19
    Views
    2,540

    I'd rather get exactly whats in the file, but if...

    I'd rather get exactly whats in the file, but if it's easier the other way it doesn't matter.
  13. Replies
    19
    Views
    2,540

    text files. I want to put the entire file into an...

    text files. I want to put the entire file into an array, and how to get the lines one by one.
  14. Replies
    19
    Views
    2,540

    Reading from a file

    How do I read a file and set the text in it to a char array?
  15. Thread: irc client

    by SMB3Master
    Replies
    1
    Views
    1,405

    irc client

    me and my friend are atempting a simple irc client... the only problem is we have no clue how to get/send the informatio to the server... sockets maybe? any help would be great.
  16. Replies
    1
    Views
    926

    Example dialog not working

    I'm trying to learn windows programming from http://www.winprog.org/tutorial/ and the dialog resource example is saying theres a parse error.



    IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66...
  17. Replies
    24
    Views
    3,374

    Well I'd have to disagree with that, I'm not...

    Well I'd have to disagree with that, I'm not giving up.
  18. Replies
    24
    Views
    3,374

    Now... how do I make a text edit box and a...

    Now... how do I make a text edit box and a button, then when the button is pressed the text in the box is set to a char array? And how do I make a button press call a function?

    PLEASE don't post a...
  19. Replies
    24
    Views
    3,374

    Probably not, but will giving up get me farther?

    Probably not, but will giving up get me farther?
  20. Replies
    24
    Views
    3,374

    I have the text working :D

    I have the text working :D
  21. Replies
    24
    Views
    3,374

    http://www.cprogramming.com/cboard/showthread.php?...

    http://www.cprogramming.com/cboard/showthread.php?threadid=39836 wont open.
  22. Replies
    24
    Views
    3,374

    I couldn't care less how it works if it does what...

    I couldn't care less how it works if it does what I want it to do :mad:
  23. Replies
    24
    Views
    3,374

    I don't, how do I do that?

    I don't, how do I do that?
  24. Replies
    24
    Views
    3,374

    This compiles successfully buit does not put any...

    This compiles successfully buit does not put any text



    void posttext()
    {
    HWND hwnd;
    PAINTSTRUCT ps;
    TCHAR chTxt[]=TEXT("Hello world");
    BeginPaint(hwnd,&ps);
  25. Replies
    24
    Views
    3,374

    I used exactly what kuphryn said: void...

    I used exactly what kuphryn said:



    void posttext()
    {
    CRect rect;
    DrawText(TEXT("Display Texts"), &rect, DT_CENTER);
    }
Results 1 to 25 of 48
Page 1 of 2 1 2