Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2008 |
| Replies: 3 Views: 415 |
Forum: Visual Basic 4 / 5 / 6 Nov 4th, 2008 |
| Replies: 3 Views: 415 |
Forum: Visual Basic 4 / 5 / 6 Jun 25th, 2008 |
| Replies: 0 Views: 547 How to get "user account" Hi all,
How should I get the user account that is shown in Control panel? Because I only found the sample code for user name that is actually System name.
Although I change user account, all sample... |
Forum: Visual Basic 4 / 5 / 6 Jun 11th, 2008 |
| Replies: 8 Views: 875 |
Forum: Visual Basic 4 / 5 / 6 Jun 11th, 2008 |
| Replies: 8 Views: 875 |
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008 |
| Replies: 8 Views: 875 |
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008 |
| Replies: 8 Views: 875 |
Forum: C++ Jun 3rd, 2008 |
| Replies: 9 Views: 1,007 |
Forum: C++ Jun 3rd, 2008 |
| Replies: 9 Views: 1,007 Re: Get "fatal error C1001" Hi all,
You all are right. I am using Microsoft VC++ 6.0. I also see where the error is, but I don't know what the problem is.
If so, I need to change a new version software to run it?
Thanks a... |
Forum: C++ Jun 2nd, 2008 |
| Replies: 9 Views: 1,007 Re: Get "fatal error C1001" These all are error codes.
--------------------Configuration: example 7 - Win32 Debug--------------------
Compiling...
example 7.cpp
c:\documents and settings\Administrator\desktop\testing... |
Forum: C++ Jun 2nd, 2008 |
| Replies: 9 Views: 1,007 Get "fatal error C1001" Hi,
Could anyone explain me above error?
// friend overload + operator function
#include<iostream>
using namespace std; |
Forum: C++ Jun 1st, 2008 |
| Replies: 2 Views: 530 |
Forum: C++ Jun 1st, 2008 |
| Replies: 2 Views: 530 Get errors by using "friend function" Hi,
Why I get the errors when using 'friend function'?
// friend function as bridges on two different objects
#include <iostream>
using namespace std; |
Forum: C++ May 28th, 2008 |
| Replies: 14 Views: 703 Re: Problem in Inheritance Hi all,
Could I ask one more question?
What is the difference by using 'private' and 'public' in derived class.
Eg:
class DistSign:public Distance and class DistSign:private Distance
Thanks |
Forum: C++ May 28th, 2008 |
| Replies: 14 Views: 703 Re: Problem in Inheritance Hi niek_e,
After changing the error that you told me, the program can run well.
#include<iostream.h>
class Distance
{
protected: |
Forum: C++ May 28th, 2008 |
| Replies: 14 Views: 703 Re: Problem in Inheritance Hi all,
Sorry for my careless mistakes ;)
But........... I still cann't solve this problem.:'(
Who can give me a hand?
Many Thanks....:) |
Forum: C++ May 28th, 2008 |
| Replies: 14 Views: 703 |
Forum: C++ May 28th, 2008 |
| Replies: 14 Views: 703 Re: Problem in Inheritance Hi Salem,
After 69 posts you're still using void main, and still can't use code tags.
Actually, after niek_e and mitrmkar told me to use the code tags, I try to use it. You will see that I am not... |
Forum: C++ May 27th, 2008 |
| Replies: 14 Views: 703 Problem in Inheritance Hi,
I get some problems when I run the following codes.
That shows (4) errors.
1. unexpected 'class Dist_Sign ('
2. unexpected token(s) preceding ':'; skipping apparent function body
3.... |
Forum: C++ May 26th, 2008 |
| Replies: 4 Views: 282 |
Forum: C++ May 26th, 2008 |
| Replies: 4 Views: 282 Re: skip the second time 'Read Value' Hi Ancient Dragon,
>>cin >> (choice,'\n') is wrong because I am doing some testing. I think your way will be corrected. I need to flush the input buffer first before I read the next input. But, I am... |
Forum: C++ May 25th, 2008 |
| Replies: 4 Views: 282 skip the second time 'Read Value' Hi,
Why the program skip 'read value' in second time? First time reading value is ok, but the problem will get after pressing 'Enter key' for the next time read.
//array of pointers to person... |
Forum: C++ May 22nd, 2008 |
| Replies: 5 Views: 524 Re: Compile error for RTTI Hi mitrmkar,
You are right. I should enable RTTI mode in setting. Now, my code can be run well.
I just a learner in C++. If so, I am not familiar in debugging.
Thanks a lot,
zawpai |
Forum: C++ May 22nd, 2008 |
| Replies: 5 Views: 524 Re: Compile error for RTTI Hi niek_e & mitrmkar,
Next time, I will use the code-tags to post my codes.
But, the program still have a problem. When the program arrive this line
cout << typeid(*p).name() << endl;
, the system... |
Forum: C++ May 22nd, 2008 |
| Replies: 13 Views: 724 Re: File Comparison Hi,
Now, I can compare the two files by using "mitrmkar's way". But, I need to find out how to create the exe file as "niek_e" told me.
Thanks all for giving the good suggestions.
Best... |
Forum: C++ May 22nd, 2008 |
| Replies: 5 Views: 524 Compile error for RTTI Hi all,
I am learning about RTTI, but I really don't know where the error is. Please check it out for me.
#include<iostream>
#include<typeinfo>
using namespace std;
class Base
{ |
Forum: C++ May 21st, 2008 |
| Replies: 13 Views: 724 Re: File Comparison Hi niek_e,
I run my codes in 'Microsoft Visual C++ 6.0'. I am using window XP.
Thanks,
zawpai |
Forum: C++ May 21st, 2008 |
| Replies: 13 Views: 724 Re: File Comparison Hi John A,
Your way will be corrected, but I can't still do well. My friend told me not to run the code and compile the exe file. He also told me after building my code, I will see the exe file.... |
Forum: C++ May 20th, 2008 |
| Replies: 13 Views: 724 Re: File Comparison Hi niek_e,
I also don't know where the problem is exactly. Thank you for ur replying.
Best Regards,
zawpai |
Forum: C++ May 20th, 2008 |
| Replies: 13 Views: 724 Re: File Comparison Hi niek_e,
The following is my sample code. Please check for me. Actually, I have already saved the two files in the same folder before doing the compiling my codes.
/*
Create a file comparison... |
Forum: C++ May 16th, 2008 |
| Replies: 13 Views: 724 File Comparison Hi,
Could anyone please check my sample code? I am a beginner in C++. This code is for file comparison. Whenever I run it, the compiling result is always "Usage: compiles <file1> <file2>".
I think... |
Forum: C++ Apr 28th, 2008 |
| Replies: 3 Views: 381 Re: Can't od the complie Hi;
bugmenot: sorry for not to tell about my question clearly. If you execute my code, you will see 13 lines error. I have already solved it because I do the mistake. I should put "()" behind the... |
Forum: C++ Apr 28th, 2008 |
| Replies: 3 Views: 381 Can't od the complie Hi,
Could anyone please check the following for me? I can't run it yet.
Best Regards,
zawpai |
Forum: Visual Basic 4 / 5 / 6 Apr 28th, 2008 |
| Replies: 13 Views: 1,313 |
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2008 |
| Replies: 13 Views: 1,313 |
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2008 |
| Replies: 13 Views: 1,313 Re: Create the Password Hi choudhuryshouvi,
Thank you for giving a sample code. I understand well and know where the data are saved.
Best Regards,
zawpai |
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2008 |
| Replies: 13 Views: 1,313 Re: Create the Password Hello choudhuryshouvi,
It is corrected. If we save the data with textual format, the user can be easily modify them. I said I will store the data in '.dat' or '.txt' file because I have two sample... |
Forum: Visual Basic 4 / 5 / 6 Apr 24th, 2008 |
| Replies: 0 Views: 273 Gloden parser Hi,
Do anyone know how the golden parser work? I have read that code, but I really don't know what the structure is. I just know that engine is testing for grammar.
I will put it with the... |
Forum: Visual Basic 4 / 5 / 6 Apr 24th, 2008 |
| Replies: 13 Views: 1,313 |
Forum: Visual Basic 4 / 5 / 6 Apr 23rd, 2008 |
| Replies: 13 Views: 1,313 Re: Create the Password Hi,
jireh:
Actually, I am not sure which methods, DataBase or Fiel, is better to save old datas, username and password. Do you know which one is easier?
debasisdas:
where do u plan to store the... |