Search:

Type: Posts; User: Chobo_C++

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: key

    by Chobo_C++
    Replies
    1
    Views
    877

    key

    im new to windows programming. how do i make certain events trigger when user presses a certain key. like i want a square to be drawn on the window if user presses "s".
  2. Replies
    2
    Views
    2,085

    somethings wrong

    can anybody find an error in this code

    //---------------------------------------------------------------------------
    LRESULT CALLBACK WndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)...
  3. Thread: objects

    by Chobo_C++
    Replies
    1
    Views
    800

    objects

    i created a simple program to store two different names. how do i acesss the objects thats in int main from a class function?

    #include <iostream>
    #include <conio.h>

    using namespace std;
    ...
  4. Replies
    16
    Views
    1,875

    ok thnx this seems easier

    ok thnx this seems easier
  5. Replies
    16
    Views
    1,875

    ok -.- i just wanted to add special feature to my...

    ok -.- i just wanted to add special feature to my program


    #include <windows.h>
    #include <iostream>
    #include <conio.h>

    using namespace std;

    void gotoxy(int x, int y)
  6. Replies
    16
    Views
    1,875

    oooooooo this is interesting stuff but a bit...

    oooooooo this is interesting stuff but a bit advanced for me >.< damn programming hard...
  7. Replies
    16
    Views
    1,875

    does this require knowledge of window programming?

    does this require knowledge of window programming?
  8. Replies
    16
    Views
    1,875

    o/s = operating system im using? im using windows...

    o/s = operating system im using? im using windows xp and dev c++, the beta one
  9. Replies
    16
    Views
    1,875

    2 actions at once

    how do i perform 2 actions at same time in c++? c++ only seems to run codes one by one sequentially.
  10. Replies
    2
    Views
    1,611

    thnx

    thnx
  11. Replies
    2
    Views
    1,611

    how to terminate for loop

    this sounds like a simple job but i dont nkow how to terminate for loop. i tried things like

    for (i = 0; (i < 10) && !endForLoop; i++)
    endForLoop is bool type. but when i use this some part of...
  12. Replies
    7
    Views
    1,723

    ok, i see how it works. i was just working with...

    ok, i see how it works. i was just working with random numbers and i came up with another question. lkook at my code:


    #include <iostream>
    #include <conio.h>

    using namespace std;

    int...
  13. Replies
    7
    Views
    1,723

    do variables die in function

    if varianbles are declared within a function, do they die when the function finish?
  14. Replies
    1
    Views
    1,495

    tutorial on displaying images

    is displaying images in c++ easy? if not, can any of you give me a good tutorial website that teaches you how to display images in console application?
  15. Thread: getch|()

    by Chobo_C++
    Replies
    7
    Views
    1,122

    hmm is win32 api what beginners should learn...

    hmm is win32 api what beginners should learn after learning the basic of c++? like after learning the tutorial on this website?
  16. Thread: getch|()

    by Chobo_C++
    Replies
    7
    Views
    1,122

    getch|()

    im trying to accept input from the user and meanwhile i want to loop something, for example when i use getch() to get input, i dont want the program to stop and wait until the user types sometyhing,...
  17. Replies
    8
    Views
    983

    er.... this code dont work #include...

    er.... this code dont work

    #include <iostream.h>

    class myclass {
    friend class yourclass;
    protected:
    int variable;
    public:
    myclass();
  18. Replies
    8
    Views
    983

    can u give an example code?

    can u give an example code?
  19. Replies
    8
    Views
    983

    class problem

    i declared 2 class, and with a function from one class i want to access the data in the other class but im not sure how this can be done. when i tried, i kept on getting error messages.
  20. Thread: text color?

    by Chobo_C++
    Replies
    3
    Views
    985

    is it possible to changce text color in console...

    is it possible to changce text color in console applications?
  21. Replies
    9
    Views
    1,301

    ok thanks prelude, you sure do know a lot of...

    ok thanks prelude, you sure do know a lot of things about programming :cool:
  22. Replies
    9
    Views
    1,301

    ooooooo ok. i just came up with another question....

    ooooooo ok. i just came up with another question. how do you pass an array from function to main function? oh and when using dynamic memory, does pointer become an array or just act as if it was an...
  23. Replies
    9
    Views
    1,301

    hmm.... it's hard to undestand what you guys are...

    hmm.... it's hard to undestand what you guys are saying but i think i get the idea. thanks for the help, and by the way, why do i have to release the memory? do i relelease it at the end of the...
  24. Replies
    9
    Views
    1,301

    dynamic memory?

    why is this not possible?

    im trying to declare an two dimentional array this way but i get an error message "Cannot convert 'int ( *)[2]' to 'int *'
    #include <iostream.h> int main() {int *...
  25. Replies
    1
    Views
    2,209

    how to sort out an array?

    hello! let's say i have an array called "number[?]" and it's going to store several different values. what i want to do is to sort it out, for example from least to greatest so when i use "cout" to...
Results 1 to 25 of 31
Page 1 of 2 1 2