Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for punchinello

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!

Member Avatar for punchinello
0
77
Member Avatar for punchinello

[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 …

Member Avatar for punchinello
0
127
Member Avatar for punchinello

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 …

0
53
Member Avatar for punchinello

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 …

Member Avatar for punchinello
0
1K
Member Avatar for punchinello

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 …

Member Avatar for punchinello
0
74
Member Avatar for punchinello
0
49
Member Avatar for punchinello

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!:)

0
52
Member Avatar for punchinello

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!

Member Avatar for punchinello
0
77
Member Avatar for punchinello

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 …

Member Avatar for Narue
0
80
Member Avatar for punchinello

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!!:)

Member Avatar for jasonline
0
78
Member Avatar for punchinello

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 …

Member Avatar for mrnutty
0
128
Member Avatar for punchinello

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 …

Member Avatar for punchinello
0
81
Member Avatar for punchinello

What does "container " refer to when talking about such programming languages like C++? Thank you very much!

Member Avatar for punchinello
-1
60
Member Avatar for punchinello

What is a segment selector? How is "overflow" defined in assembly programming language? Thank you very much in advance!

Member Avatar for punchinello
0
88
Member Avatar for punchinello

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 …

Member Avatar for NotNull
-1
89
Member Avatar for punchinello

:$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 …

Member Avatar for punchinello
-1
159