Search Results

Showing results 1 to 32 of 32
Search took 0.01 seconds.
Search: Posts Made By: bumsfeld ; Forum: C++ and child forums
Forum: C++ Sep 21st, 2008
Replies: 6
Views: 2,814
Posted By bumsfeld
With DEVCPP this works just fine:
// obtain square root

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
double s, a, b, c, area;
Forum: C++ Jun 16th, 2007
Replies: 16
Views: 2,305
Posted By bumsfeld
I was forced to learn it in school. Kind of one unsightly language, and lots of things to trip over, but you get used to that! We used Dev-Cpp (GNU CPP) and I still use that.
Forum: C++ Jun 16th, 2007
Replies: 4
Views: 1,436
Posted By bumsfeld
256 colors is 8 bits per pixel. Hope that helps.
Forum: C++ Jun 16th, 2007
Replies: 4
Views: 8,127
Posted By bumsfeld
My advice, use the vector container. One of the advantages of using C++.
Forum: C++ Feb 14th, 2007
Replies: 3
Views: 8,155
Posted By bumsfeld
Muchly great code man!
Forum: C++ Feb 14th, 2007
Replies: 7
Views: 7,355
Posted By bumsfeld
There is Windows API function, see thread:
http://www.daniweb.com/code/snippet217.html
Forum: C++ Dec 31st, 2006
Replies: 49
Views: 8,467
Posted By bumsfeld
If you had used assembly language you would now be 10% done!
Forum: C++ Oct 13th, 2006
Replies: 6
Views: 4,655
Posted By bumsfeld
If you have Windoze machine you can use MSvfw32.lib for Dev_Cpp code example see:
"An AVI Media Player (Dev-C++)"
http://www.daniweb.com/code/snippet95.html
Forum: C++ Oct 4th, 2006
Replies: 7
Views: 1,404
Posted By bumsfeld
Here are some corrections:
// blah blah blah code

cout << "Please enter initial balance: ";
cin >> acctbalance;
// add the do for the while!!!
do
{
cout << "What...
Forum: C++ Oct 4th, 2006
Replies: 10
Views: 3,750
Posted By bumsfeld
Sorting your facevalues won't work, you are sorting strings that when sorted will in no way represent the proper sequence for a straight!

You can give them integer values from 2 to 13, and notice...
Forum: C++ Oct 4th, 2006
Replies: 2
Views: 1,042
Posted By bumsfeld
Maybe it's something like this:
// simple to do with copy and paste

#include <iostream>

using namespace std;

void hour_glass()
{
cout << "*******" << endl;
Forum: C++ Oct 2nd, 2006
Replies: 10
Views: 3,750
Posted By bumsfeld
Looks like whatever is item in hand[i] is not an integer. I also fail to see how hand[i] can be 1, 2, 3 , 4, ... all at the same time?
Forum: C++ Oct 2nd, 2006
Replies: 2
Views: 1,448
Posted By bumsfeld
Thank you, makes sense! Had one of those days with a mental block!
Forum: C++ Oct 2nd, 2006
Replies: 2
Views: 1,448
Posted By bumsfeld
I wrote this little code to test a 2 dimensional array. Given the array array[row][col] I can find total_columns, but I am at loss to figure out total_rows.
// 2 D array

#include <iostream>
...
Forum: C++ May 18th, 2006
Replies: 2
Code Snippet: Pythagorus
Views: 2,126
Posted By bumsfeld
Pythagoras is the man's real name.
Forum: C++ Apr 2nd, 2006
Replies: 12
Views: 2,211
Posted By bumsfeld
I and some of my friends left project ideas on
http://www.daniweb.com/techtalkforums/thread32007.html

They can appply to any computer language!
Forum: C++ Mar 4th, 2006
Replies: 6
Views: 3,252
Posted By bumsfeld
If you exclude number 2, and start you for loop with 3, you need to check only odd numbers, increment you for loop by 2.
Forum: C++ Oct 25th, 2005
Replies: 2
Views: 1,923
Posted By bumsfeld
I have played around with SDL that can do both sounds files and graphics things. It is used by gamers a lot and is free for DevC++. Much information availabel.
Forum: C++ Oct 16th, 2005
Replies: 7
Views: 4,354
Posted By bumsfeld
Is file you want delete still on your editor?
Forum: C++ Oct 16th, 2005
Replies: 6
Views: 1,420
Posted By bumsfeld
Looking at the last three digit only, guess would be number2 is random.

Fuzzy Logic?
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 3,277
Posted By bumsfeld
Is it wastefull to throw in an extra header file that may not be needed. Does it add much to the size of the final file, or does the compiler catch it?
Forum: C++ Sep 25th, 2005
Replies: 15
Views: 4,435
Posted By bumsfeld
Address zero would not be an absolute address, or is it? Otherwise, what does it mean? I am confused now.
Forum: C++ Sep 25th, 2005
Replies: 7
Views: 2,889
Posted By bumsfeld
I need to write about a half one page instruction string for one of my C++ programs. How do I do this best, so I can read it in the code and easly update it later. I have tried concatinating, but...
Forum: C++ Sep 25th, 2005
Replies: 13
Views: 2,700
Posted By bumsfeld
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,983
Posted By bumsfeld
A processor does run raw binary code!
Forum: C++ Sep 25th, 2005
Replies: 15
Views: 4,435
Posted By bumsfeld
Is const void* p the same as a null pointer? Why would i use it?
Forum: C++ Sep 24th, 2005
Replies: 8
Views: 1,540
Posted By bumsfeld
Don't forget to multiply your centimeters by 0.033 to get the height in feets!
Forum: C++ Aug 31st, 2005
Replies: 2
Views: 1,573
Posted By bumsfeld
How to send email in Visual C++ ? What are you drinking?
Forum: C++ Aug 8th, 2005
Replies: 2
Code Snippet: Caluculator
Views: 8,541
Posted By bumsfeld
Caluculator is cute!
Forum: C++ Aug 8th, 2005
Replies: 6
Views: 15,881
Posted By bumsfeld
I think FunsterStil is Danish for WindowStyle.
Forum: C++ Aug 1st, 2005
Replies: 8
Views: 5,060
Posted By bumsfeld
Do yous have a sample of your code? What have yous tried?
Forum: C++ Aug 1st, 2005
Replies: 5
Views: 7,428
Posted By bumsfeld
These looks very much like the code VegaSeat wrote earlier?
Showing results 1 to 32 of 32

 


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

©2003 - 2009 DaniWeb® LLC