Search:

Type: Posts; User: molleman

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    1,849

    this code should be compliable.......... can...

    this code should be compliable..........

    can someone try compile it!!!! please...it wont work for me





    /*Here i must include the standard input output libary for input and output from the...
  2. Replies
    14
    Views
    1,849

    C:\Users\molleman\Desktop\C...

    C:\Users\molleman\Desktop\C Programming\Makefile.win [Build Error] [main1.o] Error 1

    i got this error.....
  3. Replies
    14
    Views
    1,849

    # Project: AlgorithmsTest # Makefile created by...

    # Project: AlgorithmsTest
    # Makefile created by Dev-C++ 4.9.9.2

    CPP = g++.exe
    CC = gcc.exe
    WINDRES = windres.exe
    RES =
    OBJ = main.o main.o $(RES)
    LINKOBJ = main.o main.o $(RES)
    LIBS...
  4. Replies
    14
    Views
    1,849

    int main(){ char delay; int...

    int main(){
    char delay;
    int numSelected,i;


    do{
    FILE*fp;


    if((fp=fopen("c:BOOKS.DAT","wb")) ==NULL){
  5. Replies
    14
    Views
    1,849

    thats it main.o: main.c $(CC) -c main.c -o...

    thats it

    main.o: main.c
    $(CC) -c main.c -o main.o $(CFLAGS)
  6. Replies
    14
    Views
    1,849

    Help File handling

    /* Function Protypes*/
    void saveToFile(FILE*);
    void getFromFile(FILE*);



    void saveToFile(FILE*fp){
    fp = fopen("c:BOOKS.dat","wb");
    int i;
  7. Replies
    6
    Views
    1,232

    sorry it dosnt compile!!! but i need to...

    sorry it dosnt compile!!!

    but i need to compare the string i read in to a global variable called "quit" at any point juring the while statement....

    within my while statement i have calls to...
  8. Replies
    6
    Views
    1,232

    help comparing strings

    ok


    while(strcmp(scanf("%s",qui),quit) != 0)


    this is within one function
    i have a local variable called char qui[3];

    and then i have a global variable called quit[] = "quit"
  9. Replies
    9
    Views
    1,157

    void delayMessage(){ char delay; ...

    void delayMessage(){
    char delay;

    printf("\n Please press enter to return to the main menu\n");
    fflush(stdin);
    scanf("%c",&delay);
    }
  10. Replies
    9
    Views
    1,157

    i had that in already....and i just treid it...

    i had that in already....and i just treid it agian...smae thing still happens

    it displays the books and then the message but does not scan

    but right now i realised what was wrong

    and now im...
  11. Replies
    9
    Views
    1,157

    void viewBooks(){ printf("Displaying all...

    void viewBooks(){
    printf("Displaying all books...\n");
    for(int i = 0; i< count;i++){

    // printf("%d. Bookname %s \n Book Serial %ld\n",i+1,books[i].title,&books[i].serial);
    ...
  12. Replies
    9
    Views
    1,157

    new to c ...please help

    hello
    first my code


    void delayMessage(){
    char delay;

    printf("\n Please press enter to return to the main menu\n");

    scanf("%c",delay);
Results 1 to 12 of 12