[c-prog] New to C...suggestions?

2006-08-18 Thread Noctaire
Been a while since I did much programming but I'm returning to the fold. :) I need to learn C/C++. I'm pulling out some old books I have in my library but I'm also looking for a good, solid tutorial -- book or even online (i.e., CBT). So, I thought I'd see if anyone had any they would

[c-prog] Cannot loop this thing.

2006-08-18 Thread Kishan Tikandar
Hi, I'm trying to create a program for calculate grace marks for a student based on certain rules. The logic works fine but it is not looping as I want it to. I want this program to prompt me whether i wish to check for another student but it just executes for one time and end. tried with

Re: [c-prog] Serious Newbie Seeks Compiler

2006-08-18 Thread andrew clarke
On Fri, Aug 18, 2006 at 02:31:19AM -, uvcceet wrote: I will start with C, mostly for PICs, and embedded stuff, but I want to get to know a bit about the Windows Programming as well, so I am looking at M$ C++ 2005 Enterprise Edition, which I downloaded and installed. Presumably you meant

Re: [c-prog] New to C...suggestions?

2006-08-18 Thread andrew clarke
On Fri, Aug 18, 2006 at 06:39:32AM -, Noctaire wrote: I need to learn C/C++. I'm pulling out some old books I have in my library but I'm also looking for a good, solid tutorial -- book or even online (i.e., CBT). So, I thought I'd see if anyone had any they would recommend. See

Re: [c-prog] New to C...suggestions?

2006-08-18 Thread Tamas Marki
On 18/08/06, Noctaire [EMAIL PROTECTED] wrote: Been a while since I did much programming but I'm returning to the fold. :) I need to learn C/C++. I'm pulling out some old books I have in my library but I'm also looking for a good, solid tutorial -- book or even online (i.e., CBT). So, I

Re: [c-prog] Cannot loop this thing.

2006-08-18 Thread andrew clarke
On Fri, Aug 18, 2006 at 07:49:49AM -, Kishan Tikandar wrote: I'm trying to create a program for calculate grace marks for a student based on certain rules. The logic works fine but it is not looping as I want it to. I want this program to prompt me whether i wish to check for another

[c-prog] need programmes for beginers in c

2006-08-18 Thread cmaruthiramakrishna
Hello andhrew i am maruthi ramakrishna., i am learning c languge now. i wanna programmes for beginers and so that they can try too. I am using c++ IDE compiler of Borland's. I don't knw the customize optioons available in that complier. can u explain me. Have u read deitel deitel book of c++.

[c-prog] Re: Cannot loop this thing.

2006-08-18 Thread Kishan Tikandar
Thanks for replying.. I don't think I got you correctly... I'm not familiar with fgets() and strtol(). I tried replacing the scanf(%c,another); with another = getchar();. The program still behaves in the same way. :( --- In c-prog@yahoogroups.com, andrew clarke [EMAIL PROTECTED] wrote: On

Re: [c-prog] c-prog

2006-08-18 Thread Victor A. Wagner Jr.
At 12:12 2006-08-17, andrew clarke wrote: On Thu, Aug 17, 2006 at 12:05:35AM -0600, Victor A. Wagner Jr. wrote: If I do leave it one day it will probably be due to me neglecting the C/C++ languages in favour of higher-level languages - primarily Python. I don't consider run-time-typing to

RE: [c-prog] RE: Telephone Bill (need some help!!!!) C programming

2006-08-18 Thread Victor A. Wagner Jr.
At 09:17 2006-08-17, Kerry Thompson wrote: Eliacem Galon wrote: thanks for the rply.it was my cousin who send that it many times coz they felt confuse that my msg was sent. so she decided for the one or twice. im confusing that: when i'm using 24 hrs format, sample of this when the

[c-prog] Re: Serious Newbie Seeks Compiler

2006-08-18 Thread uvcceet
--- In c-prog@yahoogroups.com, Sean Brewer [EMAIL PROTECTED] wrote: sure what you got does compile C code, but the fact that you obtained it illegally, well, is bad. Well, actually, the only crime commited is that I cannot type... :-) Its not the enterprise edition, it is the free, 2005

RE: [c-prog] New to C...suggestions?

2006-08-18 Thread Noctaire
See http://groups.yahoo.com/group/c-prog/links Yeah, idiot alert -- I should have hit the links before posting that. That's what I get for a late night post :) As I work through the group site, I'm finding this group is much better organized than most others; that will help out quite a lot.

Re: [c-prog] Re: Serious Newbie Seeks Compiler

2006-08-18 Thread Brett W. McCoy
On 8/18/06, uvcceet [EMAIL PROTECTED] wrote: It uses the GCC compiler, which is pretty standard in the UNIX world, and is open source, and compiles C and C++ code. Thank you. I will check it out. Looking forward to making some progress this weekend... Since they are both free (Dev-C++

[c-prog] help me, pls

2006-08-18 Thread alex_merlin_1985
hi there, I'm Alex, I'm trying to make a type sequence in a program made in BGI mode, but it doesn't work fine. The purpose is that the user is asked to type in his name and to get that in a string. Like this: #include conio.h #include graphics.h void main() { int i; char key;

RE: [c-prog] RE: Telephone Bill (need some help!!!!) C programming

2006-08-18 Thread Eliacem Galon
hi.. thanks for the wornderful rply. i do learn from my mistake.. i must to read and try. until i can do it. i read some books about c then i found out i must convert it. then when i try i got the answer. i have this code. if you willing to help. pls help me. i also try to read buks to find

RE: [c-prog] RE: Telephone Bill (need some help!!!!) C programming

2006-08-18 Thread Kerry Thompson
Victor A. Wagner Jr. wrote: ummm, Kerry, most computers think that 1305 - 1259 results in 46 (pt, try it on your calculator) Hmmm... I did, and got AC. I converted that to decimal, and got 172. Cordially, Kerry Thompson, hoping that astronomers appreciate dry wit To unsubscribe,

[c-prog] about c++ compiler

2006-08-18 Thread suneeta545
its better to use dev-c++4.9.9.2 than turbo c++ i think.so if you want to download it.it is found in www.bloodshed.net To unsubscribe, send a blank message to mailto:[EMAIL PROTECTED]. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ *

RE: [c-prog] RE: Telephone Bill (need some help!!!!) C programming

2006-08-18 Thread Kerry Thompson
Eliacem Galon wrote: if (dayCall=1 dayCall=5) // 1 represent monday and 2 represents tuesday, so on.. { if (timestart=0600 timestart=1800) bill=(2.5 * timeduration); else bill=(2.0 * timeduration); pf(bill: %.2lf,bill); } else if (dayCall=6 || dayCall=7)

Re: [c-prog] about c++ compiler

2006-08-18 Thread Sean Brewer
suneeta545 wrote: its better to use dev-c++4.9.9.2 than turbo c++ i think.so if you want to download it.it is found in www.bloodshed.net Good job, people really like the compiler that Microsoft offers for free. Either way, they're EONS better than Turbo Suck C++. To unsubscribe, send a blank

Re: [c-prog] about c++ compiler

2006-08-18 Thread kevin
I use that compiler and I've never used turbo. Therefore, I have no point of reference...but dev c++ is very good. Kevin http://kevinsisco.topcities.com - Original Message - From: suneeta545 [EMAIL PROTECTED] To: c-prog@yahoogroups.com Sent: Friday, August 18, 2006 11:29 AM Subject:

[c-prog] fputwc and gcc

2006-08-18 Thread Pedro Izecksohn
Does the code below compile with gcc and run on your machine? Do you see all the right characters? Or most characters appear as question marks? Could you give me details (OS, libc, processor, distro)? Do not answer if you are not compiling with gcc. Mingw and Cygwin answers are welcome.

[c-prog] Re: help me, pls

2006-08-18 Thread mosheokman
Hi, I am not so sure that my answer is correct however it is worth a try. The outtextxy() get as the third parameter a pointer to a string char *text. I beleive that your first atempt: OUTTEXTXY(100,100,Type in your name:) was successful. In your second activation of that function you provide a

Re: [c-prog] Re: Cannot loop this thing.

2006-08-18 Thread andrew clarke
On Fri, Aug 18, 2006 at 12:25:08PM -, Kishan Tikandar wrote: I'm not familiar with fgets() and strtol(). I suggest you read about them. To unsubscribe, send a blank message to mailto:[EMAIL PROTECTED]. Yahoo! Groups Links * To visit your group on the web, go to:

Re: [c-prog] fputwc and gcc

2006-08-18 Thread andrew clarke
On Fri, Aug 18, 2006 at 07:56:06PM -, Pedro Izecksohn wrote: Does the code below compile with gcc and run on your machine? 6:45 [EMAIL PROTECTED] [~/src/c]uname -prs FreeBSD 4.10-RELEASE i386 6:45 [EMAIL PROTECTED] [~/src/c]gcc -W -Wall -o wchar wchar.c wchar.c: In function `main':

Re: [c-prog] fputwc and gcc

2006-08-18 Thread Sean Brewer
Pedro Izecksohn wrote: Does the code below compile with gcc and run on your machine? Do you see all the right characters? Or most characters appear as question marks? Could you give me details (OS, libc, processor, distro)? Do not answer if you are not compiling with gcc. Mingw and

Re: [c-prog] Re: help me, pls

2006-08-18 Thread Brett W. McCoy
On 8/18/06, alex_merlin_1985 [EMAIL PROTECTED] wrote: The point is that it works fine, but it displays an extra char with each character I input. For example: -I type a, but it displays: a@(or something that looks like @) I don't see where you are actually capturing the keyboard