- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
16 Posted Topics
Re: Try this. [CODE=CPP] SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), BACKGROUND_RED BACKGROUND_INTENSITY); [/CODE] You can change RED to GREEN or BLUE and BACKGROUND to FOREGROUND. If you want to mix colors you just separate them with a | | |
Re: [QUOTE]Does the sun rise in the east ?[/QUOTE] Why would I care? If you lie are you telling the truth? | |
Hi I have a problem, I hope you can help me with. I have a number, which I need to compare to some values. I do not wish to go through all the values, and compare them individually, as I there are too many for it to be efficient. Neither … | |
Re: I would recommend a disassembler, but requires you to know assembly. | |
Re: put the declaration in the header file and the definition in the other [CODE=CPP] //declaration class foo { void bar(); }; //definition void foo::bar() { } [/CODE] | |
Re: Possibly the fact that struct keyword mostly is used for containers? | |
I have been testing a C++ based SDK and now i have a few questions for you that i hope you will answer . 1. When passing objects between each other is it preffered to use references if not what then? 2. Is it good or bad to make a … | |
Hi and sorry for the inconvenience I am trying to make an interface where a function is run given a number(windows API). I want a default function to be run if it hasn't been overwritten by the user. So my question is can i assign a number to a function/method … | |
Re: I don't think you can't assign values to functions/methods. I don't know what you want to do but as I see it you use the assignment as a way to make the method do nothing until you find out how to implement the method. To do this in C++ you … | |
Re: Just use <iostream> there is nearly no syntax difference and your program might not compile on all compilers | |
Re: Use this [CODE=CPP] ofstream out; out.open("\\reg.txt"); [/CODE] | |
Hi. I am making an application that will use the screen and do something with it(live). My problem is that when i do that i get the previous screen made by my program last time i updated the window what would you suggest i do? any help would be appreciated. | |
| |
Re: When you double click the *.pps file does it then open? If it does try checking what app is used to open *.pps files. | |
Hi i am trying to make a notepad like program. The problem is that when i try to display some text nothing happens. If someone could help me i would really appreciate it. The function call: [code=c++] ... SetWindowText(edit, "TEST"); ... [/code] Creation of edit: [code=c++] ... HMENU Menu, SubMenu; … | |
hi i was wondering how much i should use classes in C++. Should i use it as much as possible? |
The End.