Forum: C
Jun 26th, 2007, 2:28 PM
|
|
Replies: 3
Views: 174
|
Forum: C
Jun 25th, 2007, 5:19 PM
|
|
Replies: 3
Views: 174
Filling in a shape
I have been having trouble with this program. It is supposed to get an input of stars as a "boundary" of a picture. It also receives a point inside of the shape that will be used as a starting point...
|
Forum: C
May 27th, 2007, 10:45 PM
|
|
Replies: 5
Views: 226
Well, I didn't really need to use any field...
Well, I didn't really need to use any field specifiers to set up the triangle. This prints it out quite nicely:
/* File name: pascal.c
* This program displays Pascal's triangle */
#include...
|
Forum: C
May 22nd, 2007, 7:51 PM
|
|
Replies: 5
Views: 226
|
Forum: C
May 21st, 2007, 8:58 PM
|
|
Replies: 5
Views: 226
Pascal's Triangle
OKay, I've been working on this program for a while and I still can't get it. This program is supposed to display the first 7 rows of Pascal's Triangle. This is what I have so far:
/* File name:...
|
Forum: C
Apr 29th, 2007, 4:12 PM
|
|
Replies: 10
Views: 413
|
Forum: C
Apr 28th, 2007, 12:43 PM
|
|
Replies: 10
Views: 413
Actually I'm programming in C, not C++. The...
Actually I'm programming in C, not C++. The program has a .cpp because when I was using the function GetLine() it would come up with an error everytime I compiled it under longstr.c. I changed it to...
|
Forum: C
Apr 28th, 2007, 11:55 AM
|
|
Replies: 10
Views: 413
|
Forum: C
Apr 21st, 2007, 6:39 PM
|
|
Replies: 10
Views: 413
Longest String
Okay. I have been working on this program for a long time. It is supposed to input multiple strings until the user types "end" and tells you the one that is the longest. If there are multiple strings...
|
Forum: C
Apr 14th, 2007, 11:20 AM
|
|
Replies: 5
Views: 214
|
Forum: C
Apr 14th, 2007, 10:16 AM
|
|
Replies: 5
Views: 214
Switch statement and strings
Okay. I am a relatively new programmer here. I was wondering about the switch statement. Is it possible to use test a string in the switch statement like this:
switch(choice)
{
case 'House':...
|
Forum: C++
Feb 14th, 2007, 11:38 AM
|
|
Replies: 3
Views: 172
|
Forum: C++
Feb 13th, 2007, 7:35 PM
|
|
Replies: 3
Views: 172
Point-of-Sale
Hello! I'm kind of new to programming so please help. I have been working on a program that would present a menu so the user can choose what they wanted. Every time they chose something the program...
|
Forum: C++
Jan 7th, 2007, 7:53 AM
|
|
Replies: 18
Views: 351
|
Forum: C++
Jan 6th, 2007, 7:39 PM
|
|
Replies: 18
Views: 351
|
Forum: C++
Jan 6th, 2007, 7:07 PM
|
|
Replies: 18
Views: 351
|
Forum: C++
Jan 6th, 2007, 6:36 PM
|
|
Replies: 18
Views: 351
|
Forum: C++
Jan 6th, 2007, 6:20 PM
|
|
Replies: 18
Views: 351
|
Forum: C++
Jan 6th, 2007, 5:26 PM
|
|
Replies: 18
Views: 351
Finding divisors
Hi, I'm new here and I'm also kind of new to C++. For one of my exercises I'm required to find the number between 1 - 1000 with the most divisors. To start, I am trying to find the divisors of 1000....
|