Search Results

Showing results 1 to 40 of 1000
Search took 0.17 seconds.
Search: Posts Made By: Ancient Dragon
Forum: C 1 Hour Ago
Replies: 4
Views: 49
Posted By Ancient Dragon
Worked fine for me using vc++ 2008 express
Forum: Windows Vista and Windows 7 1 Hour Ago
Replies: 5
Views: 85
Posted By Ancient Dragon
Many games that run on XP will not run on Win7. So if you are a big gammer and like the games you are playing, then stick with XP.
Forum: Windows Vista and Windows 7 1 Hour Ago
Replies: 17
Views: 177
Posted By Ancient Dragon
I have HP OfficeJet All-In-One 6500. I just went to hp.com to find out if they have an updated program and it says
Forum: C 1 Hour Ago
Replies: 4
Views: 49
Posted By Ancient Dragon
>>while ((addr = ((void*(*)(void))addr)())

Didn't your compiler produce an error or warning on that line?? tryit() does not return a value, yet in the above addr is being assigned the return...
Forum: C++ 1 Hour Ago
Replies: 3
Views: 68
Posted By Ancient Dragon
line 61 in the code you posted: That function displays random/wrong values because it is using uninitialized variables.
Forum: C++ 2 Hours Ago
Replies: 3
Views: 76
Posted By Ancient Dragon
>>which c++ compiler is easy n best?
Those are two exclusive requests -- the best compiler/IDE is not necessarily the easiest to use. If you want ease of use then you will probably have to...
Forum: Windows Vista and Windows 7 20 Hours Ago
Replies: 17
Views: 177
Posted By Ancient Dragon
I have only seen a couple of incompatabilities -- one of my games that played ok on Vista Home will not play on Win7. Also, the other day I bought a blue-ray video that contained a file that I could...
Forum: C++ 21 Hours Ago
Replies: 2
Views: 71
Posted By Ancient Dragon
Yes, start out by opening the file and learning how to just read it. Just display the file contents on the screen.

After you get that going, you should be able to start reading the file contents...
Forum: C++ 21 Hours Ago
Replies: 8
Views: 116
Posted By Ancient Dragon
Why don't you solve them yourself? You won't learn anything by cheating.
Forum: C++ 21 Hours Ago
Replies: 2
Views: 86
Posted By Ancient Dragon
It returns gibberish because when that NextTag() returns the array radial is destroyed, which invalidates tags[1]. What you need to do is allocate memory for the text. Then main() will have to...
Forum: C++ 21 Hours Ago
Replies: 2
Views: 74
Posted By Ancient Dragon
If the item numbers are consecutive (no missing numbers) then you don't need to keep them in an array. Just use the array index of the text array as the item number. One way to do it is like this:...
Forum: C 1 Day Ago
Replies: 1
Views: 85
Posted By Ancient Dragon
>> line 20: fflush(stdin);
fflush() is only guaranteed to work with output streams, not input streams.

>> line 21: gets(p[i])

Two problems:

never ever use gets() because it may write...
Forum: C 1 Day Ago
Replies: 2
Views: 97
Posted By Ancient Dragon
Deposit $10,000.00 USD in my PayPal account and I will write one for you :)
Forum: C++ 1 Day Ago
Replies: 4
Views: 119
Posted By Ancient Dragon
Initialize the array by flooding it with all 0s. char title[10] = {0};
Forum: C++ 1 Day Ago
Replies: 1
Views: 90
Posted By Ancient Dragon
lines 8 and 11 of the first code are using uninitialized variable ch
Forum: C++ 1 Day Ago
Replies: 8
Views: 172
Posted By Ancient Dragon
No it doesn't have it.
Forum: C++ 1 Day Ago
Replies: 1
Views: 149
Posted By Ancient Dragon
1) Line 13 is wrong. It should use the == boolean operator, not the = assignment operator.

>>If not, specify a situiation in which this version will fail.

I can think of three kinds of data...
Forum: C 1 Day Ago
Replies: 2
Views: 112
Posted By Ancient Dragon
variable ptrA needs to have three stars

#define maxrows 2
#define maxcols 5


int main()
{
double a[maxrows][maxcols];
double ***ptrA = malloc(maxrows * sizeof(double*));
Forum: C++ 1 Day Ago
Replies: 2
Views: 88
Posted By Ancient Dragon
You should not be using tabs but setw() method. Tabs may display differently on different computers/monitors. I think setw() will give you a consistent appearance.
Forum: C++ 2 Days Ago
Replies: 2
Views: 101
Posted By Ancient Dragon
If you are going to do this kind of advanced-level programming then you really need to learn how to debug your own errors. The problem is those two defines on lines 552 and 553. Delete them.
Forum: C++ 2 Days Ago
Replies: 9
Views: 135
Posted By Ancient Dragon
>>What should I use instead on void main()

int main()
Forum: Geeks' Lounge 2 Days Ago
Replies: 41
Views: 1,003
Posted By Ancient Dragon
Agree. But I don't think severs are what we are talking about.
Forum: Geeks' Lounge 2 Days Ago
Replies: 8
Views: 146
Posted By Ancient Dragon
Use this bandwidth test (http://www.bandwidthplace.com/)
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 7
Views: 168
Posted By Ancient Dragon
I noticed it was a little slow today but nothing like it has been in the past.
Forum: C++ 2 Days Ago
Replies: 2
Views: 121
Posted By Ancient Dragon
If you want the 2d vector to contains either strings or ints, then maybe you need to create a template class.
Forum: C++ 2 Days Ago
Replies: 9
Views: 135
Posted By Ancient Dragon
Look at line 42 as stated in the error message (line 32 of your post). Multi-line if statements have to be enclosed in { and } braces

if( something )
{
// blabla
}
else
{
// blabla
}
Forum: C++ 2 Days Ago
Replies: 9
Views: 135
Posted By Ancient Dragon
Post some of the compiler error messages.


>>void main()

NEVER EVER use void main() Here's why (http://www.gidnetwork.com/b-66.html)
Forum: C 2 Days Ago
Replies: 2
Views: 108
Posted By Ancient Dragon
There are options in VC++ to produce several kinds of assembly code from the C or C++ code. I don't use NetBeans but I would imagine it has an option too.
Forum: C++ 2 Days Ago
Replies: 2
Views: 81
Posted By Ancient Dragon
My guess is that you are using the wrong sql statement. If you are using Oracle then you need to read this article...
Forum: C++ 3 Days Ago
Replies: 2
Views: 101
Posted By Ancient Dragon
Read your textbook about how to write a c++ class. There are also millions of tutorials on the web you can read. Don't be so lazy and do a little research and reading.
Forum: C++ 3 Days Ago
Replies: 11
Views: 181
Posted By Ancient Dragon
1) Create another loop

int main()
{
while( true )
{
// blabla
}
}
Forum: C++ 3 Days Ago
Replies: 11
Views: 181
Posted By Ancient Dragon
Just as I suspected -- you can not include those two *.cpp files in main.cpp. Delete lines 2 and 3, then add function prototypes for each of those two functions.
Forum: C++ 3 Days Ago
Replies: 11
Views: 181
Posted By Ancient Dragon
post the entire main.cpp.
Forum: C++ 3 Days Ago
Replies: 11
Views: 181
Posted By Ancient Dragon
After line 12 or the code you originally posted, create a switch statement and call either BFP() or BMI().

switch( pnum )
{
case 1:
BFP();
break;
case 2:
...
Forum: C++ 3 Days Ago
Replies: 1
Views: 124
Posted By Ancient Dragon
SaveFileDialog() doesn't save anything -- it's just a dialog box that lets you nagivate to the folder where you want the file saved and give the file a name. After SaveFileDialog() returns to your...
Forum: Geeks' Lounge 3 Days Ago
Replies: 41
Views: 1,003
Posted By Ancient Dragon
Oh so you don't think *nix is not just a bunch of hacked together programs??? After I installed Ubuntu and Fedora 11 they both went to their respective web sites and downloaded updates. Even after...
Forum: C++ 3 Days Ago
Replies: 3
Views: 89
Posted By Ancient Dragon
Please ask more questions if you are still having problems with this -- someone is likely to answer them.
Forum: C++ 3 Days Ago
Replies: 11
Views: 181
Posted By Ancient Dragon
You can't call *.cpp files, but methods and functions that reside in the files. If you want to call IBM.cpp then call one of the functions or methods that is coded in that file.
Forum: C++ 3 Days Ago
Replies: 3
Views: 160
Posted By Ancient Dragon
We don't have the definition of your queue class so can't really tell if some of those are right or wrong.

2. Probably wrong. You are not supposed to delete the item from the queue. Just...
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 7
Views: 180
Posted By Ancient Dragon
or
or
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC