Search Results

Showing results 1 to 11 of 11
Search took 0.02 seconds.
Search: Posts Made By: vegaseat ; Forum: C and child forums
Forum: C Oct 3rd, 2009
Replies: 11
Views: 648
Posted By vegaseat
Okay, I got the message, I will post more stuff in the every so lively C forum!!!!
Forum: C Jun 15th, 2007
Replies: 5
Views: 1,325
Posted By vegaseat
Not better, but cute, create your own display window with a Windows message box ...
// use a message box to display console output
// compile as GUI
#include <windows.h>
#include <string.h>...
Forum: C Oct 18th, 2006
Replies: 3
Views: 3,430
Posted By vegaseat
Are you trying to printf() a double into an integer format specifier %d?
You could cast to an integer, but it looks like you are flirting with the integer size limits.
Forum: C Oct 3rd, 2006
Replies: 3
Views: 1,541
Posted By vegaseat
You are declaring functions residential_rate(), commercial_rate(), industrial_rate() also as floats of the same name in function main(). Remove those variables and it will work!

Oops, I was too...
Forum: C Oct 2nd, 2006
Replies: 22
Views: 3,845
Posted By vegaseat
One mild problem from past experience, if the users enters a floating point number, this loop spins out of control. Give it a try, it's good exercise.
Forum: C Sep 25th, 2006
Replies: 2
Solved: projects in c
Views: 1,754
Posted By vegaseat
Here is a small project, go through all the functions listed at:
http://www.phim.unibe.ch/comp_doc/c_manual/C/FUNCTIONS/funcref.htm
and come up with a code sample of a practical application for...
Forum: C Jan 30th, 2005
Replies: 8
Views: 13,893
Posted By vegaseat
When in doubt, use the old workhorse printf(). I have played around with manipulators like cout << setfill('0') << setw(8) << d1;
with results that cause only consternation. The old printf()...
Forum: C Dec 15th, 2004
Replies: 14
Views: 7,711
Posted By vegaseat
Console debugging has problems with old Windows and Dev C++ versions. You should be okay with version 4.9.9.0
Here is the poop:
Debugging with Dev C++:
Make sure you are using a project!
Go to...
Forum: C Nov 19th, 2004
Replies: 8
Views: 102,257
Posted By vegaseat
Convert a decimal (denary) integer to a binary string. An exercise in do ... while and while loops.
Forum: C Oct 31st, 2004
Replies: 3
Views: 2,405
Posted By vegaseat
double fmod(double x, double y) is a function, so you have to rewrite your code a little. It returns the remainder of the division x / y. Make sure to #include <math.h>
Forum: C Oct 11th, 2004
Replies: 2
Views: 3,999
Posted By vegaseat
Here is some C code that might help you get started.
// A linear list of data accessed first in, first out (FIFO) is called a QUEUE.
// Pelles C (vegaseat)

#include <stdio.h> // in/out...
Showing results 1 to 11 of 11

 


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

©2003 - 2009 DaniWeb® LLC