Forum: C Jan 26th, 2009 |
| Replies: 0 Views: 276 I am try to change my previous created program that get student data from 5 students and stores it into a data base. i want to make it that you can choose the amount of students to put in. I was... |
Forum: C Oct 2nd, 2008 |
| Replies: 3 Views: 585 |
Forum: C Oct 2nd, 2008 |
| Replies: 3 Views: 585 please help... my computer moves wont work. it not an error it a crash or infinite loop.
#include <stdio.h>
#include "strlib.h"
#include "simpio.h"
#include "genlib.h"
#include "string.h"
... |
Forum: C Sep 21st, 2008 |
| Replies: 2 Views: 494 I need help with program i cant find a way to get rid of the error and if i think a little bit more my head will explode this is a 2day program for me
#include <iostream>
#include <stdio.h>... |
Forum: C Sep 15th, 2008 |
| Replies: 4 Views: 560 run it type hello, press enter then type end in a c ompiler
#include <stdio.h>
#include "strlib.h"
#include "simpio.h"
#include "genlib.h"
#include "string.h"
#define size 50
void... |
Forum: C Sep 14th, 2008 |
| Replies: 1 Views: 449 please help with this program i dont know whats wrong.
#include <stdio.h>
#include "strlib.h"
#include "simpio.h"
#include "genlib.h"
#include "string.h"
void reverse(void);
int main() |
Forum: C Sep 6th, 2008 |
| Replies: 3 Views: 444 im having trouble and cant find whats wrong... plz help
#include "strlib.h"
#include "simpio.h"
#include "genlib.h"
#include "string.h"
int main()
{
int i, high;
string answer; |
Forum: C Sep 1st, 2008 |
| Replies: 2 Views: 388 I having trouble... for some reason strcpy(b,a) is not working... it says b is not identified
#include <stdio.h>
#include "simpio.h"
#include "genlib.h"
int main()
{
string a, b, c; |
Forum: C Aug 28th, 2008 |
| Replies: 1 Views: 1,492 I cant find whats wrong to this program... im new to C... Please help.
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"
#define size 5
#define size2 3
void getArray (int... |
Forum: C Aug 21st, 2008 |
| Replies: 3 Views: 593 i need help with this program im getting this
1>selections.obj : error LNK2019: unresolved external symbol "void __cdecl displayArray(int * const)" (?displayArray@@YAXQAH@Z) referenced in function... |
Forum: C Aug 19th, 2008 |
| Replies: 7 Views: 1,235 shit i missed something big! |
Forum: C Aug 19th, 2008 |
| Replies: 7 Views: 1,235 that doesn't solve the problem its still list every number from 2 to 299 |
Forum: C Aug 19th, 2008 |
| Replies: 7 Views: 1,235 |
Forum: C Aug 19th, 2008 |
| Replies: 7 Views: 1,235 i am having trouble fixing this program... its not printing the number any tips???
i am using sieve of Eratosthenes
#include <cstdio>
#include "simpio.h"
#include "strlib.h"
#include <iostream>... |
Forum: C Aug 17th, 2008 |
| Replies: 3 Views: 454 Thanks... and sorry i cant say all of it was because i was new to arrays... |
Forum: C Aug 17th, 2008 |
| Replies: 3 Views: 454 I am learn about using arrays and i need help
#include <cstdio>
#include "simpio.h"
#include "strlib.h"
#include <iostream>
using namespace std;
#define Max 6
int main() |
Forum: C Aug 15th, 2008 |
| Replies: 6 Views: 2,497 i am try to create a program that prints the numerical value of EOF...
any ideas for the function get the value of EOF using the ASCII table???? |
Forum: C Aug 14th, 2008 |
| Replies: 1 Views: 420 When i run the program it shows the first line then blank i dont know whats wrong!
#include <cstdio>
#include "simpio.h"
#include "strlib.h"
int main()
{
int i, d, t;
printf("This... |
Forum: C Aug 13th, 2008 |
| Replies: 4 Views: 683 can you check the code... it doesn't work for some reason i tryied everything
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"
int Fibonacci(int fnum);
int main()
{
int fnum; |
Forum: C Aug 4th, 2008 |
| Replies: 5 Views: 1,141 It still doesn't work!
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"
int main()
{
int n1, n2, y, x;
printf("This program list all the twin primes.\n"); |
Forum: C Aug 4th, 2008 |
| Replies: 5 Views: 1,141 i am trying to write a program that finds all twin primes between 1 and 100. any suggestions?
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"
int main()
{
int n1, n2, y, x;
... |
Forum: C Jul 30th, 2008 |
| Replies: 5 Views: 1,681 I cant find anything wrong with my program, any suggestions?
#include <stdio.h>
#include "simpio.h"
#include "strlib.h"
#include "random.h"
int main()
{
int s, r, h, w, l, t, shape;
string... |
Forum: C Jul 26th, 2008 |
| Replies: 4 Views: 727 We i compile this program is shows that percents as 0.... any suggestions.
#include <stdio.h>
#include "simpio.h"
#include "strlib.h"
#include "random.h"
#include <math.h>
int main()
{
int... |
Forum: C Jul 26th, 2008 |
| Replies: 3 Views: 667 I am trying to create a program that finds the GCD of two numbers using the brute force...
So far i have this but my problem (I hope) is that i cant get the value of g into int main()
Here is my... |
Forum: C Jul 25th, 2008 |
| Replies: 8 Views: 1,060 That can't be it because i still have the same problem but get another one |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,408 Thanks for all the help... i am still learning and so glad i have other people than a program to help! |
Forum: C Jul 25th, 2008 |
| Replies: 8 Views: 1,060 I have the same problem again but with a different program, any suggestions.
#include <iostream>
#include <stdio.h>
#include "simpio.h"
#include "strlib.h"
#define GCD();
int main() |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,408 i am still confused here is my program so far do you see any changes?
#include <iostream>
#include <stdio.h>
#include "simpio.h"
#include "strlib.h"
#include "random.h"
#include "math.h"... |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,408 How do you do that?... Sorry i am kind of new this is my 3rd week in the course i am taking. |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,408 Ok... Thanks that solved that, but i have a new problem, i can't get the decimals with the number here is the improved program.
#include <iostream>
#include <stdio.h>
#include "simpio.h"
#include... |
Forum: C Jul 25th, 2008 |
| Replies: 5 Views: 673 Thanks for the help! but it is still annoying closing the window. |
Forum: C Jul 24th, 2008 |
| Replies: 15 Views: 1,408 I am trying to create a program that gets the solution of a quadratic formula, but i keep getting an error and i cant figure it out.
1>quad.cpp(14) : error C2440: '=' : cannot convert from 'int... |
Forum: C Jul 23rd, 2008 |
| Replies: 5 Views: 673 No but it is closed i even look with ctrl alt delete, it not running. |
Forum: C Jul 23rd, 2008 |
| Replies: 5 Views: 673 I am having a problem when i compile a program. What happens is that i would compile program, run it, see a problem, fix it, then try to compile it again and i get LINK : fatal error LNK1168: cannot... |
Forum: C Jul 23rd, 2008 |
| Replies: 8 Views: 1,060 I am trying to fix this "error C2447: '{' : missing function header (old-style formal list?)" i looked over the program and cant find anything wrong. Here is my program.
#include <iostream>... |
Forum: C Jul 20th, 2008 |
| Replies: 2 Views: 510 I am wonder how do you make it that you have to letters = to one number with only typing it once? Here is my program. My problem is that the result printf("%d reversed is: %d\n",num , res); is 0... |
Forum: C Jul 18th, 2008 |
| Replies: 1 Views: 922 I am trying to create a program that gets the min and max of a list. I so far have this but when I run the program and put in a list i get the max, but the min is 0 because you have to end it with... |