Forum: C Dec 11th, 2007 |
| Replies: 2 Views: 1,650 approximate? square root?
try looking at the functions in math.h |
Forum: C Dec 11th, 2007 |
| Replies: 3 Views: 792 i guess graphics in tc2.01 doesn't work if you're using "modern" boards (PC100 and the like)
i used another computer (board is AGP, i think) and it worked.
thanks to everyone who helped.
=) |
Forum: C Dec 10th, 2007 |
| Replies: 3 Views: 792 i choose the upgrade.
heheh.
=) |
Forum: C Dec 10th, 2007 |
| Replies: 3 Views: 792 here's the program i'm trying to run, but everytime i press ctrl+f9.. i get the error in that picture below..
#include<stdio.h>
#include<graphics.h>
#include<dos.h>
#include<conio.h>... |
Forum: C Nov 28th, 2007 |
| Replies: 16 Views: 1,701 why don't you use switch? |
Forum: C Oct 2nd, 2007 |
| Replies: 3 Views: 3,599 Oh, I didn't see your post.
Thanks!!
The people here are really nice.
^__^ |
Forum: C Oct 2nd, 2007 |
| Replies: 3 Views: 3,599 Oh! I already figured it out.
I guess you can't copy multi-dimensional arrays directly.
I did this:
char zero[5][6] = {"|||||", "| |", "| |", "| |" , "|||||"};
char... |
Forum: C Oct 1st, 2007 |
| Replies: 3 Views: 3,599 This code is part of this program I'm doing. I've edited it so it would get shorter.
#include<stdio.h>
#include<string.h>
main()
{
char zero[5][6] = {"|||||", "| |", "| |", "| |"... |
Forum: C Oct 1st, 2007 |
| Replies: 10 Views: 3,927 Shucks! Why DIDN'T I think of that.
Thanks a lot! ^__^ |
Forum: C Oct 1st, 2007 |
| Replies: 10 Views: 3,927 Okay, this is what I have so far.
#include<stdio.h>
#include<conio.h>
main()
{
int hours, minutes, seconds, input;
hours=minutes=seconds=0;
clrscr(); |
Forum: C Oct 1st, 2007 |
| Replies: 10 Views: 3,927 |
Forum: C Oct 1st, 2007 |
| Replies: 3 Views: 671 uhm.. could you just post your code? properly? ^__^ |
Forum: C Oct 1st, 2007 |
| Replies: 10 Views: 3,927 There's no mktime() function in time.h. T__T
We're using C v2.01. |
Forum: C Sep 29th, 2007 |
| Replies: 10 Views: 3,927 I guess I still have to digest all that. ^__^
I'll try to do it again tomorrow.
Thanks!! |
Forum: C Sep 29th, 2007 |
| Replies: 10 Views: 3,927 I need to create a C program that goes like this:
The user wil enter the number of seconds that the stopwatch should run starting at the equivalent time in hours, minutes and seconds of the input.... |