Search:

Type: Posts; User: trevordunstan

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,773

    Yeh thats what I thought, Thanks for the help,...

    Yeh thats what I thought,

    Thanks for the help, still getting my head around recursion
  2. Replies
    5
    Views
    1,773

    thanks, that coding worked but i do not...

    thanks, that coding worked but i do not understand this bit

    return((m == 1)? n :

    can you quickly break it down for me.

    thanks for the help
  3. Replies
    5
    Views
    1,773

    Recursion

    Hey there guys,

    I am doing some exercises in my study book for uni and have just started recursion. One of the exercises is use recursion to multiply 2 numbers using repeated addition.

    The...
  4. Hey guys, thought I would get back to the forum...

    Hey guys,
    thought I would get back to the forum to show the solutions that I came up with in case other people have similar problems. The problem that I was having with the empty file was because I...
  5. ok guys thanks for the info, ill have a bit of a...

    ok guys thanks for the info, ill have a bit of a closer look at it and see what I come up with, The bubble sort algorithm I got out of my study book, but yeh I can see now that the counter is not...
  6. I am unable to see exactly where the violation...

    I am unable to see exactly where the violation occurs (using DEV c++). The thing is the program works perfectly with a test file with the data that I provided earlier, so the switch statement works...
  7. the empty file exist already exists, I will try...

    the empty file exist already exists, I will try and see where the access violation occurs
  8. opening empty file causes access violation

    Hey there guys,

    I have written a program to open a file, read from it and store the data into a structure. The program works fine except when i try to use an empty file to read from the program...
  9. Replies
    2
    Views
    2,800

    Thanks man, i see the problem now.

    Thanks man, i see the problem now.
  10. Replies
    2
    Views
    2,800

    still problems with ceasar shift

    Hey there again guys,

    I am still having a little trouble with this ceasar shift program that I am doing for uni. I have got most of the program down and it seems to work pretty well, there is just...
  11. Replies
    11
    Views
    4,692

    Yeh I have heard that scanf() can be a bit of a...

    Yeh I have heard that scanf() can be a bit of a dog. We have not been introduced to fgets yet but i will look into it.

    cheers
  12. Replies
    11
    Views
    4,692

    I have tried putting in if (input != ' ') { but...

    I have tried putting in if (input != ' ') { but whenever I do It does not seem to produce the output that I desire, it will only accept the input up to to the first space then and thats it so i am...
  13. Replies
    11
    Views
    4,692

    Ceasar Shift program

    Hey there guys,

    I am currently in the process of writing a ceasar shift program for UNI and would really appreciate some advice. I have pretty much finished the program but there are 2 elements...
  14. Replies
    2
    Views
    4,147

    Thanks for the help, after re-typing the code the...

    Thanks for the help, after re-typing the code the program worked as it was designed to, and after reading your msg and looking at the program it all fell into place, Cheers !!
  15. Replies
    2
    Views
    4,147

    Basic C input output program help

    Hey there guys,

    I am new to C programming and even newer to this forum. I am trying to teach my self C programming basics in preparation for when I take the unit at uni for my second semester.
    I...
Results 1 to 15 of 15