Forum: C
Nov 18th, 2005, 6:15 PM
|
|
Replies: 12
Views: 517
Ok, so that's how those work.
Gawd I'm such a...
Ok, so that's how those work.
Gawd I'm such a n00b at this.
Ok, so I appended the program so it includes fgets and the decrementer.
When I enter say 'diary', I get:
Please enter a noun(up to 28...
|
Forum: C
Nov 18th, 2005, 5:22 PM
|
|
Replies: 12
Views: 517
|
Forum: C
Nov 18th, 2005, 4:53 PM
|
|
Replies: 12
Views: 517
|
Forum: C
Nov 18th, 2005, 5:51 AM
|
|
Replies: 12
Views: 517
|
Forum: C
Nov 17th, 2005, 10:31 PM
|
|
Replies: 12
Views: 517
Well here it is, I was just following the...
Well here it is, I was just following the guidelines and not posting the whole thing. Hope it helps.
/*********************************
*********************************/
#include <stdio.h>
#include...
|
Forum: C
Nov 17th, 2005, 10:10 PM
|
|
Replies: 12
Views: 517
String error in if statement
The Problem:
As I try to compile a small C program I get the following error messages:
ghp11.c:25: error: syntax error before '{' token
ghp11.c: At top level:
ghp11.c:30: error: syntax error before...
|
Forum: C
Nov 3rd, 2005, 3:13 PM
|
|
Replies: 5
Views: 279
|
Forum: C
Nov 3rd, 2005, 11:18 AM
|
|
Replies: 5
Views: 279
|
Forum: C
Oct 21st, 2005, 8:52 PM
|
|
Replies: 20
Views: 612
|
Forum: C
Oct 21st, 2005, 8:00 PM
|
|
Replies: 20
Views: 612
|
Forum: C
Oct 21st, 2005, 7:50 PM
|
|
Replies: 20
Views: 612
Thanks, I didn't realize what I had typed in on...
Thanks, I didn't realize what I had typed in on both accounts.
And as far as my posting is concerned, I posted because it was the same error message but slightly different that the original poster....
|
Forum: C
Oct 21st, 2005, 7:33 PM
|
|
Replies: 20
Views: 612
Well anyways, I have one problem now that it...
Well anyways, I have one problem now that it runs.
#include <stdio.h>
#define size 10
int main(void)
{
float sluggo[size];
int i=0,j=0,k=0;
printf("\nWelcome to Sluggo, the program that...
|
Forum: C
Oct 21st, 2005, 6:54 PM
|
|
Replies: 20
Views: 612
|
Forum: C
Oct 21st, 2005, 5:53 PM
|
|
Replies: 20
Views: 612
Bumping this for my own problem.
As per the...
Bumping this for my own problem.
As per the original post I'm having the same error...I have no idea why.
The entire program:
#include <stdio.h>
#define size 10
int main(void)
{
float...
|
Forum: C
Oct 14th, 2005, 7:24 PM
|
|
Replies: 5
Views: 325
|
Forum: C
Oct 14th, 2005, 4:22 PM
|
|
Replies: 5
Views: 325
Prototype:
void calculate...
Prototype:
void calculate (int,int*,int*,int*,int*,int*);
Declaration:
calculate(cash_input,&fifties,&twenties,&tens,&fives,&ones);
Cash input is a variable I saved in main that was created in...
|
Forum: C
Oct 14th, 2005, 4:09 PM
|
|
Replies: 5
Views: 325
pointer number alteration
Purpose: To take whole dollar ammounts inputed by the user and break it down into the least ammount of bills.
Error: The tens denomination either adds or subtracts from itself. Ex.$77 is put in, the...
|