Search Results

Showing results 1 to 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: MosaicFuneral ; Forum: C and child forums
Forum: C Oct 14th, 2009
Replies: 4
Views: 373
Posted By MosaicFuneral
Even more peculiar is have the E in 'ecake' disappears, what a mystery! :icon_lol:
Forum: C Oct 13th, 2009
Replies: 2
Views: 338
Posted By MosaicFuneral
One, you have to specify to the linker that it's a windowed application.

Then you get the window handle, and with ShowWindow(), in the second parameter use SW_HIDE.

edit:
You'll probably also...
Forum: C Aug 4th, 2009
Replies: 15
Solved: Simple IF Loop
Views: 896
Posted By MosaicFuneral
Don't use goto, try a function. You already have a switch in an if statement, don't make it any more complex.

Avoid fflush() and look into a replacement of scanf()
Forum: C Jun 29th, 2009
Replies: 4
Views: 551
Posted By MosaicFuneral
When you set a pointer and don't always use every "point" in it(especially while dealing with user input), you need memset() to set a default value.
Forum: C Jun 24th, 2009
Replies: 3
Solved: doubt in c??
Views: 285
Posted By MosaicFuneral
conio.h isn't used, and should never be.
Macros used like that are dangerous.
It's: int main() { return(0); }
Forum: C May 30th, 2009
Replies: 5
Views: 1,206
Posted By MosaicFuneral
Referring back several pages on the forum:

http://www.daniweb.com/forums/thread187421.html
Forum: C May 7th, 2009
Replies: 5
Views: 490
Posted By MosaicFuneral
What is a "nos"?
Forum: C Apr 24th, 2009
Replies: 57
Views: 2,463
Posted By MosaicFuneral
You could simplify your whole Keyboard() function to a few if else conditions.
Forum: C Apr 16th, 2009
Replies: 27
Solved: Average/max/min
Views: 1,802
Posted By MosaicFuneral
It's so non-standard the kid would get in trouble anyway.
Forum: C Apr 10th, 2009
Replies: 11
Views: 708
Posted By MosaicFuneral
Prototypes don't go inside other functions.
Forum: C Feb 1st, 2009
Replies: 9
Solved: GOTO statement
Views: 516
Posted By MosaicFuneral
Many "normal" people would just call it a conditional loop.
Forum: C Jan 31st, 2009
Replies: 9
Solved: GOTO statement
Views: 516
Posted By MosaicFuneral
The compiler has less of an ideal of what you're doing, when you use gotos, and people who use them in place of functions might see a dramatic decrease of performance.
Plus it becomes impossible to...
Forum: C Dec 5th, 2008
Replies: 7
Views: 705
Posted By MosaicFuneral
Have you you tried compiling it, and reading the error reports? There's invalid operations, spelling mistakes, missing types, definitions where there shouldn't be, et al.
I think you need to start...
Forum: C Dec 5th, 2008
Replies: 7
Views: 705
Posted By MosaicFuneral
What is line 10, and 11?
main() must be able to return zero, and there really is no file called <iostream.h>, look it up.
Is getche() a typo, or do you really need it?
Biggest question: is your...
Forum: C Dec 4th, 2008
Replies: 4
Solved: Timer Function?
Views: 640
Posted By MosaicFuneral
Take the initial time withtime(), use inside a loop take the time again, then use difftime() to check the diffrence between the two; if it's greater than the max time, break the loop.
Forum: C Dec 4th, 2008
Replies: 10
Solved: Word Reversal
Views: 996
Posted By MosaicFuneral
Tell them to use it, and search for the char with '.'.
Forum: C Nov 17th, 2008
Replies: 23
Views: 3,234
Posted By MosaicFuneral
I saw people asking this, in Yahoo Answers last week.

I like this funnier leaning tree version(I don't have a life to be writing this stuff):
for(int i = 0; i < 16; i++)
{
for(int...
Showing results 1 to 17 of 17

 


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

©2003 - 2009 DaniWeb® LLC