Search:

Type: Posts; User: Neildadon

Search: Search took 0.01 seconds.

  1. comparing character arrays from a class and and the interface

    ive become frustrated with this application im trying to solve and would be most grateful if someone could help.

    im designing an application which will enable a user to enter marks for a module...
  2. Replies
    2
    Views
    1,175

    comparing character arrays

    would someone be able to show me were to start please i have a problem when im trying to compare 2 charater arrarys.The first character array has read in module codes from a text file the second has...
  3. returning an appropriate string for an expected int value ??

    Hi can anyone help?

    Im trying to write a single function which sets a small array with 2 characters to the ordinal suffix of a number. 1st, 2nd, 3rd 4th etc

    and the suffix refers to the laters....
  4. Replies
    0
    Views
    4,071

    calculating user time and time elapsed

    Hi im a little bit stuck on this program im working on.

    im creating a program which uses the data type Mytime the output should look something like

    Enter start hh mm : 7 30

    Enter finish hh...
  5. Replies
    7
    Views
    6,269

    thanks dude it works

    thanks dude it works
  6. Replies
    7
    Views
    6,269

    thanks for your help mate just another question...

    thanks for your help mate just another question really

    ive done what you say and the program doesnt end but it doesnt return to my menu any suggestions ??

    ive tried to call menu in the...
  7. Replies
    7
    Views
    6,269

    not in this program it ends. when i run either...

    not in this program it ends. when i run either member_list or book_list it lists the books then ends.
  8. Replies
    7
    Views
    6,269

    getting a function to return to main??

    how do i get my fuctions to return back to main. when it runs my function ends e.g. the member_list function after operation i want it to go back to main because thats where my menu is the program is...
  9. Replies
    2
    Views
    5,921

    my program wont read my text files in??

    When my program runs and i press 1 or 2 from the menu the function member_list or book_list runs but doesnt read any data from the text file it just prints out the cout statements a number of times....
  10. Replies
    1
    Views
    2,352

    passing structs to functions?

    hi im having a few problems with this program im making. Its a library program being made in unix g++. When i compile i get 2 errors

    neil.cc:120: conversion from `cust *' to non-scalar type `cust'...
  11. Can anyone explain to me what buffering is?

    Can anyone explain to me what buffering is , what it does, and provide a coded example for me please

    many thanks
  12. Replies
    5
    Views
    1,912

    thanks for your help i got the program working. i...

    thanks for your help i got the program working. i just have one quick question

    char stop_name[BUFSIZ] = {0};

    is what made the difference in the program could you tell me why
    [BUFSIZ] = {0};...
  13. Replies
    5
    Views
    1,912

    still getting the same error

    thanks for your advice i tried it but im still getting 1 error with the bus_stop_name function

    it says expression syntax error

    can anyone see the errror from this code which ill provide
    ...
  14. Replies
    5
    Views
    1,912

    switch and string copy problems ?

    How do i change an int to a char when using a switch and the string copy command

    the way im doing it isnt working

    everything is declared right. What i want is when 1 is pressed it prints...
  15. Replies
    1
    Views
    3,477

    C Programming Project Help!!!

    Hi im a 18 year student from the UK I really need help with a project i have to work on for my college assignment. Im learning borland c i would say my level is basic i have to write a bus ticket...
Results 1 to 15 of 19