ok i got every thing running but im getting 2 phrase errors at the very end now on line 320 and 327
#include <stdio.h>
#include <string.h>
int classname(void) //gets charcter class
{
int...
Type: Posts; User: kl3pt0
ok i got every thing running but im getting 2 phrase errors at the very end now on line 320 and 327
#include <stdio.h>
#include <string.h>
int classname(void) //gets charcter class
{
int...
oh opps i must have missed those when i re
wrote it
ok this is how i have fixed up my program it compiles now but now when i run it i get a illegal operation
#include <stdio.h>
#include <string.h>
int classname(void) //gets charcter class
{...
you need to have
#include <conio.h>
and your statment
printf("\nPlease Select a number between 0 and 5! \n\n",);
doesnt need the \n at the start of the string
ya kow what im goingto go to bed and take this think on in the moring with a clear head
will you post your code? cuz i seem to mess it up when it touch it
ok hers new code
#include <stdio.h>
#include <string.h>
char *food_name[12] =
{
whoa class is already a var? oops ill change that and try it
ok it didnt work......i dont know i think i hit it with some thing large and heavy
no its c\c++
ok the os is windows and
the compilers is C++BUILDER COMMAND LINE
i know my cide has alot of mess ups in it but im slowly working them out
#include <stdio.h>
#include <string.h>
ok when i compile my program i get errors like call to
function 'printf' with no prototype in function main
but i
#include <stdio.h>
so im lost plez help
yeah i dont think he found it funny at all but i did :cool:
with doing the arrays like that is there any files that i need to include cuz its only accepting data in that format.....
thanx thats what i needed and the color made it 100 times better thanx alot
~kl3pt0~
ok this is the type of array i need but i need to be able to have my data in it
i have 8 different 11x6 matrixs that i need to put in to one array
yeah the reason i asked about how to clear screen is because ever time i try
system("cls"); it goes to the start of main()
but now i have a final question for this thread i need to make a 3D int...
wow look like you had fun editing
and the reason for there being pointless ints and no return at the end is because this is just the 1st part of my program
i found another question is there a...
ok sweet that worked now i have one more question
how can i check to make shure that what you input has no decimals would it be a stament like
if (ID!=round(ID)) return (0); and if thats what i...
ok i changed
printf ("your section id is\n %s \n",*section_id[ID]);
printf ("your class is \n%s \n",*class_name[class-1]);
to
printf ("your section id is\n %i \n",ID);
ok i changed what you guys said to but it still gives me part of one of the strigs, (null) or just blank heres the revised code tell me is theres any part i missed
#include <stdio.h>
main ()
{...
ok my program is relitivly simple at the moment but i cant get it to print out what class and id that you select will some one show me what i did wrong??
#include <stdio.h>
main ()
{
char...