Search:

Type: Posts; User: xlnk

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    938

    Dialog popup when program executed.

    I want some extra parameters intialized before I run my actual application which is a dialog. I want to have a smaller dialog to popup when I first run my program to ask for the two parameters.
    ...
  2. Replies
    1
    Views
    1,850

    CStdioFile - Reading last line...

    How can I use CStdioFile to read the last line of a file. I thought I could use a while loop and just keep reading each line till the end, but it did not seem to work. Are there any other...
  3. Thread: icon not showing

    by xlnk
    Replies
    2
    Views
    1,149

    Ahh! Thanks so much!

    Ahh! Thanks so much!
  4. Thread: icon not showing

    by xlnk
    Replies
    2
    Views
    1,149

    icon not showing

    In my MFC project I have an icon that shows up in the top corner of the program and in the about box, but in lets say explorer the icon is still the mfc icon. How can I change that icon to my current...
  5. Thread: CString

    by xlnk
    Replies
    3
    Views
    1,148

    CString

    I want to use CString in win32. What header files should I include to use CString?
  6. Replies
    2
    Views
    1,875

    Program freezing..

    Here is my code:



    BOOL CALLBACK DlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
    {

    HWND display = GetDlgItem(hwnd,IDL_DISPLAY);
    int n = 0;
  7. Thread: Word Documents

    by xlnk
    Replies
    1
    Views
    819

    Word Documents

    Is there any way to parse a word document?
  8. Replies
    6
    Views
    7,594

    Is there an alternative I can use? I could...

    Is there an alternative I can use?

    I could use <string> but how can I convert from UINT to string and back?
  9. Replies
    6
    Views
    7,594

    Is it even possible to use CString in straight...

    Is it even possible to use CString in straight win32 API or is it MFC specific?
  10. Replies
    6
    Views
    7,594

    nm i think i got it. Though I get an error when I...

    nm i think i got it. Though I get an error when I try to use CString:



    error C2065: 'CString' : undeclared identifier
    error C2146: syntax error : missing ';' before identifier 'str'
    error...
  11. Replies
    6
    Views
    7,594

    UInt to CString and back

    How can I convert from UInt to CString and back and LPTSTR to CString and back?
  12. Thread: Mfc Dll

    by xlnk
    Replies
    2
    Views
    1,029

    Thanks!

    Thanks!
  13. Thread: Mfc Dll

    by xlnk
    Replies
    2
    Views
    1,029

    Mfc Dll

    I'm using Microsoft Visual C++ 6.0 and instead of sharing the mfc dll i would like to compile this in with whatever program im making. I remember seeing an option for it, but when i go to project...
  14. Replies
    33
    Views
    3,481

    gcc/g++

    gcc/g++
  15. Replies
    3
    Views
    941

    Re: Help with GoalKeeper '03

    #include <iostream.h>
    #include <fstream.h>
    #include <ctype.h> // toupper
    int first();
    int main()
    {
    char goal[20];
    int show;
    int done;
    char quitting;
  16. you can use recursion: void solve(char...

    you can use recursion:



    void solve(char source, char temp, char dest, int n)
    {
    if (n != 0)
    {
    solve(source,dest,temp,n-1);
    cout << "move disk " << n << " from peg "
  17. Replies
    3
    Views
    897

    Awesome thanks guys! It works!

    Awesome thanks guys! It works!
  18. Replies
    3
    Views
    897

    help with errors...

    im working on a a scripting language...called EASL (Easy Ass Scripting Language) just for learning.



    // Main.cpp
    #include "VirtualMachine.h"

    using std::vector;

    void main()
  19. Replies
    4
    Views
    3,074

    keyboard capturing

    How do I capture keyboard presses in C/C++?

    Like to exit the program when ctrl-c is pressed.

    Thanks!
  20. Replies
    5
    Views
    1,517

    Thanks! Well, i want to build a cellular...

    Thanks!

    Well, i want to build a cellular automata program (Conways game of life) so I'll have a set amount of rectangles before hand.

    Thanks again!
  21. Replies
    5
    Views
    1,517

    array of rectangles

    I want to create an array of rectangles. How would I got about doing this? Do I create an array of RECT? are there other ways?
  22. Thread: grid

    by xlnk
    Replies
    3
    Views
    1,165

    What if I load a bitmap of a grid. Could I still...

    What if I load a bitmap of a grid. Could I still make the individual boxes clickable and fillable?
  23. Thread: grid

    by xlnk
    Replies
    3
    Views
    1,165

    grid

    I'm working on a cellular automata program. (Conway's Game of Life) for example.

    Heres a java example: http://hensel.lifepatterns.net/
    click on "Enjoy Life" to launch applet.

    You can see...
  24. Thread: winsock problem

    by xlnk
    Replies
    3
    Views
    1,083

    Thanks, so its an error with recv... Gives me...

    Thanks, so its an error with recv...

    Gives me a start, thanks again.
  25. Thread: winsock problem

    by xlnk
    Replies
    3
    Views
    1,083

    create object of SOCKET, exp...

    <client function>
    create object of SOCKET, exp
    determine socket descriptor, assign to exp
    create object sockaddr_in, target
    assign target values
    connect
    enter data to be sent
    send data...
Results 1 to 25 of 186
Page 1 of 8 1 2 3 4