Search:

Type: Posts; User: bballzone

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    16,058

    that's not the problem. not compiling is the...

    that's not the problem. not compiling is the problem.
  2. Replies
    24
    Views
    16,058

    char num[100] = ""; ... ... for (int z = 0; z...

    char num[100] = "";
    ...
    ...
    for (int z = 0; z < 10; z++)
    {
    num = myarray[z];
    SetClipboardText(num,strlen(num));
    }
  3. Replies
    24
    Views
    16,058

    i tried that but got ugly results. maybe i don't...

    i tried that but got ugly results. maybe i don't know how to do it correctly.
  4. Replies
    24
    Views
    16,058

    i'll check out dev-c++ again this weekend. ...

    i'll check out dev-c++ again this weekend.


    for now i have another question. how would i go about passing an int array or an int into the SetClipboardText() called here..

    ...
  5. Replies
    24
    Views
    16,058

    that's my problem dev-c++ and other free...

    that's my problem dev-c++ and other free compilers are the same as piece's of crap when installed on my computer. they just don't work or i get errors all of the time.

    with my DM compiler i can...
  6. Replies
    24
    Views
    16,058

    it was part of a whole program that did use those...

    it was part of a whole program that did use those headers.

    i use the Digital Mars compiler that requires all headers to end in a '.h' extension.
  7. Replies
    3
    Views
    898

    i tried this ifstream a_file("test.txt");...

    i tried this


    ifstream a_file("test.txt");
    a_file.getline(text, 50);
    a_file.close();

    it compiles but does not print anything when running.
  8. Replies
    3
    Views
    898

    input from a file, problem with spaces

    char text[50];

    ifstream a_file("test.txt");
    a_file >> text;
    a_file.close();

    cout << text << endl;
  9. Replies
    24
    Views
    16,058

    and now... thank you dante :D

    and now... thank you dante :D
  10. Replies
    24
    Views
    16,058

    since this is related to this topic i'll just put...

    since this is related to this topic i'll just put this here also. why isn't this allowed?


    keybd_event(VK_V,0,0,0);
    keybd_event(VK_V,0,KEYEVENTF_KEYUP,0);

    i can use VK_CONTROL but i can't...
  11. Replies
    24
    Views
    16,058

    thanks a lot bithub :cool: :)

    thanks a lot bithub :cool: :)
  12. Replies
    24
    Views
    16,058

    Error: need explicit cast for function parameter...

    Error: need explicit cast for function parameter 2 to get
    from: unsigned
    to: char *

    at this line

    SetClipboardText(szName,strlen(szName));
  13. Replies
    24
    Views
    16,058

    yea i did. i don't like those forums as much...

    yea i did. i don't like those forums as much because they do not respond as fast.

    is there also a way that i can just put the contents of a variable into the clipboard. for example if i prompt the...
  14. Replies
    24
    Views
    16,058

    copying to clipboard

    i was given this example to paste from the clipboard and it works fine.


    #include <stdio.h>
    #include <windows.h>
    #include <iostream.h>
    #include <fstream.h>
    #include <stdlib.h>
    #include...
  15. Replies
    19
    Views
    4,280

    i did some debugging and made a separate program...

    i did some debugging and made a separate program



    int main()
    {
    HDC hdcScrn;
    COLORREF array1[100][100];

    Sleep(2000);
  16. Replies
    19
    Views
    4,280

    COLORREF array1[1000][1000]; ... for (INT col =...

    COLORREF array1[1000][1000];
    ...
    for (INT col = 400; col < 500; col += 10)
    {
    for (INT row = 400; row < 500; row += 10)
    {
    //GetCursorPos(&pt);
    //clr=GetPixel(hdcScrn,pt.x,pt.y);...
  17. Replies
    19
    Views
    4,280

    INT array1[1000][1000]; .... for (INT col =...

    INT array1[1000][1000];
    ....
    for (INT col = 400; col < 500; col += 10)
    {
    for (INT row = 400; row < 500; row += 10)
    {
    GetCursorPos(&pt);
    clr=GetPixel(hdcScrn,pt.x,pt.y);...
  18. Replies
    19
    Views
    4,280

    i'm not reading your nonsense noob's guide to...

    i'm not reading your nonsense noob's guide to asking a question. what i said was not even a question it was a statement of the problem. i have explained the problem enough that any person with any...
  19. Replies
    19
    Views
    4,280

    what's so confusing about what those few...

    what's so confusing about what those few sentences said?

    "it compiles but does not run. i comment that line out it compiles and runs like normal. whatever is wrong with the program is in that...
  20. Replies
    19
    Views
    4,280

    in my code i put the line in array1[x] =...

    in my code i put the line in

    array1[x] = pixColor2;

    it compiles but does not run. i comment that line out it compiles and runs like normal. whatever is wrong with the program is in that line.
  21. Replies
    19
    Views
    4,280

    hmm well i can get it to compile but when i run...

    hmm well i can get it to compile but when i run it it immediately exits the program.
  22. Replies
    19
    Views
    4,280

    thanks a lot. but what about assigning the value...

    thanks a lot. but what about assigning the value of pixcolor2 to an array.


    for (int x = 0; x < 5; x++)
    {
    COLORREF pixColor2 = RGB(10,50,100);
    clr=SetPixel(hdcScrn,col,row,pixColor2);
    ...
  23. Replies
    19
    Views
    4,280

    colorref and setpixel

    why can't i do this?


    COLORREF pixColor2 = (10,50,100);
    cout <<pixColor2 << endl;
    clr=SetPixel(hdcScrn,col,row,pixColor2);


    (this is in 2 for loops and it makes about 100 pixels that color...
  24. Replies
    17
    Views
    3,841

    hmm...alright that puts it in english for me...

    hmm...alright

    that puts it in english for me but could you direct me to a tutorial? or what general topic that is under so i can run a search for it?
  25. Replies
    17
    Views
    3,841

    alright after a month of thinking and other...

    alright after a month of thinking and other things i've decided to try and do this program again. how would i go about simply viewing the source of http://www.yahoo.com/index.html and being able to...
Results 1 to 25 of 67
Page 1 of 3 1 2 3