- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
Hi I'm new to MFC programming. What do I do if I want to make my window look better? Say, with a button that is not rectangular but oval? And maybe throw in some animation effects? Thank you very much! |
|
[CODE]class HRException { public: HRException() : m_pMessage("") {} virtual ~HRException() {} HRException(const char *pMessage) : m_pMessage(pMessage) {} const char * what() { return m_pMessage; } private: const char *m_pMessage; };[/CODE] It's a definition of an exception class I guess. How does the colon and the following "m_pMessage("")" work? Why does … |
|
I've build a program with MFC using vc6.0. It consists of a dialogbox and another dialogbox that pops up when you click a button on the first one. And I want to enable TTS on both dialogboxes. Any idea to make sure it works on both? Suppose I use the … |
|
Do any of you veterens have expirence with displaying and controling a 3d model with c++ programming code and maybe spicifically with vb6.0? Any literature on the subject you would like to recommend or any key words I could use with searching? How do I go about learning it? Thank … |
|
I am trying to write a program using vb6.0 with sapi's speech recognition support. When I tried English everything came out alright. But when I swithed to Chinese, there's always this error when loading grammar and rules from an xml file. Why could it be? Anything to take special notice … |
|
Please excuse me but what is SAPI reference API? :icon_biggrin: |
|
If I want to write a program that implements remote control of a computer over the internet. What programming knowledge do I need? How should I go about doing that? Any literature you want to recommend? Thank you very much!:) |
|
Here is the code: [CODE] if(i&~077)[/CODE] , where i is an int value. The condition is supposed to be testing whether i is within a proper range. But how? Thank you very much! |
|
Why would the following things be advisable? Prefer a plain int over a short int or a long int. Prefer a double over a float or a long double. Prefer plain char over signed char and unsigned char. Why ordering members of a struct by size can minimize wasted space … |
|
1. What's hard-coding? 2. What is a standards-conforming implementation? 3. What's "hand-written code"? 4. what's "objects created on the free store"? 5. I tried the escape character '\a' in my c++ program code, but no sound was emitted. Could anybody please tell me why? Thank you very much in advance!!:) |
|
Here's the code: [CODE]#include<iostream.h> int test(); int main() { cout<<test(); return 0; } int test() { int a=1; a==1? return 1: return 0; }[/CODE] Could anyone please help me by telling me why VC++ 6.0 rejects this piece of programming code? Is the line" a==1? return 1: return 0;" grammatically … |
|
As I was told, recursion is a good way to make things simple in terms of writing programming code, but the outcome usually involves extra overheads. I was also told that for some recursion algorithms it is possible to adapt them to make corresponding nonrecursion ones. I wonder if there's … |
|
What does "container " refer to when talking about such programming languages like C++? Thank you very much! |
|
What is a segment selector? How is "overflow" defined in assembly programming language? Thank you very much in advance! |
|
Excuse me but isn't this program going to display "1" on the screen? Thank you very much! [CODE].8086 DATA SEGMENT CHAR DB 31H DATA ENDS STACK SEGMENT STACK STACK ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA,SS:STACK MOV AX,DATA MOV DS,AX MOV AX,STACK MOV SS,AX ;--------------------------------- START: MOV DL,CHAR MOV AH,2 INT 21H … |
|
:$Hi! Please excuse me if this is a stupid piece of programming code I wrote. I just started to learn how to program in x86 assmbly and apparently it's gonna be quite a while before I get the hang of it. Well with this program I want to convert the … |