Search:
Type: Posts; User: turgenev
Search:
Search took 0.05 seconds.
-
September 7th, 2006, 03:34 AM
-
September 7th, 2006, 01:52 AM
When I use STL class (for example, map), there are always a lot of complie warning. They have NO relation with my program, for example, the following compile warning.
"C:\program files\microsoft...
-
Suppose a more complicated case:
class SimpleGA
{
void Step();
virtual bool done() = 0;
virtual int ObjectiveFun() = 0;
}
class SteadyStateGA
-
I developed two classes, which represents two kinds of algorithm, like the following:
class SimpleGA
{
void Step();
virtual int ObjectiveFun() = 0;
}
class SteadyStateGA
{
-
June 23rd, 2005, 07:16 AM
Suppose the circle rotates around X-axis for 30 degree, then rotates around Y-axis for 45 degree, then rotates around Z-axis for 75 degree. VC can NOT provide API to draw an ellipse whihc reflects...
-
June 23rd, 2005, 07:14 AM
Do you mean VC can NOT implement rotation in 3D space?
-
June 23rd, 2005, 03:45 AM
I draw a circle in the screen. After I rotate this circle around X-axis or Y-axis (in 3-dimension), it will be an ellipse in the screen. Does VC provide API to drawn such kind of circle? For...
-
January 20th, 2005, 09:27 PM
In VB, we have a function named InputBox() to let user input text in a message box. Does VC have the corresponding function? Thanks.
-
January 19th, 2005, 01:38 AM
-
January 18th, 2005, 10:29 PM
There are three buttons in the dialog. In the runtime, I want to make one of them invisible when some codition is met, and visible again when other condition is met. But I can NOT find a member...
-
November 16th, 2004, 09:27 PM
>>For IP address searches, the machine will first look in the local "hosts" file. If it >>can't find it there, it will query the DNS server for the address.
You are quite right. What I want to do...
-
November 16th, 2004, 04:12 AM
Actually, it is quite possible that IP address of host name is wrong in hosts file. For example, IP address of host A is saved in hosts file previously, then host A changes IP address. Now IP...
-
November 16th, 2004, 04:07 AM
Normally API gethostbyname() can get IP address by host name. But this API has a serious problem: it retrieves IP address from file WINDOWS\system32\drivers\etc\hosts firstly. It will search...
-
September 12th, 2004, 08:33 PM
nobody knows the solution?
-
September 8th, 2004, 05:32 AM
I use Visual C++ 6.0 to write an ISAPI extension program and a service program. There are some bugs in them, but I don't know how to debug such kind of program. I want to set a break point in the...
-
September 7th, 2004, 10:43 PM
Here is my program. Program arguments is "test".
#include <tchar.h>
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
for(int i=1; i<argc; i++){
_tprintf(_T("%s"), argv[i]);
}
-
September 7th, 2004, 12:45 AM
I am trying to dubug a program. I have the source code of both parent class and child class, but they are in different Workspace. I press F10 to follow the execution flow, and when I meet a...
-
April 26th, 2004, 11:24 AM
I see. Thank you very much.
-
April 26th, 2004, 11:13 AM
ClassA.h
template <class T, int n> class ClassA
{
public:
ClassA() {size = 0; }
virtual ~ClassA() {}
void Insert(T x);
private:
-
April 26th, 2004, 11:02 AM
I want to use template in my program.
First, I define a class.
template <class T, int n> class ClassA
{
public:
ClassA() {size = 0; }
virtual ~ClassA() {}
void Insert(T x);
-
July 21st, 2003, 12:19 PM
Sure, we can ignore the error. But isn't there a method to detect whether the user close the Word doc not not?
-
July 20th, 2003, 07:42 PM
No, what I mean is how to know whether the user close the Word doc or not. You see, in the Command1_Click() event I use automation to open the Word doc. After the user read it, he may close the...
-
July 19th, 2003, 04:50 PM
I use following code to open Word file:
Dim objWD As Word.Application
Set objWD = CreateObject("Word.Application")
objWD.Visible = True
objWD.Documents.Open FileName, , True
Then use...
-
February 26th, 2003, 03:24 PM
Thanks!
I just want to know how many lines my code has:)
-
February 24th, 2003, 03:03 PM
Sometimes when I am writing the code, I want to know the current line number. How to make the Visuall Basic editor show the line number? Thanks.
|
Click Here to Expand Forum to Full Width
|