Search:

Type: Posts; User: DJ_Steve

Page 1 of 2 1 2

Search: Search took 0.01 seconds; generated 2 minute(s) ago.

  1. Replies
    11
    Views
    14,537

    lol I did try it on my compiler but it came up as...

    lol I did try it on my compiler but it came up as

    Invalid Operands to Binary %
  2. Replies
    11
    Views
    14,537

    would that mean I could just use "rem = num1 %...

    would that mean I could just use

    "rem = num1 % num2;"

    instead?
  3. Replies
    11
    Views
    14,537

    @ Tabstop - lol thanks, I probably would have...

    @ Tabstop - lol thanks, I probably would have never noticed that

    @ Rocky - I've seen a lot of people using that actually but it just confuses me :/



    I will work on my code a little longer...
  4. Replies
    11
    Views
    14,537

    Modulus Program

    Write a C program that reads in two numbers, calculates the modulus of the two and prints out the result. You must use at least three functions (plus main) in your program, however, you must not use...
  5. Replies
    3
    Views
    1,280

    ok! thanks for help guys! Its starting to work...

    ok!

    thanks for help guys! Its starting to work a lot better now :D
  6. Replies
    3
    Views
    1,280

    Caculation Problem

    Hello

    I'm currently working on a program that when you input a number in Kelvin, it will give u the temperature in either Farenheit or Celcius then tell you what state its in (liquid, solid, gas)...
  7. Replies
    3
    Views
    1,127

    Converting to Modular

    Is there an easy way to convert programs into modular? I just realised my code has to be in modular and have no clue how to convert my code easily



    #include <stdio.h>
    #include <conio.h>...
  8. Replies
    6
    Views
    1,807

    ahh thanks for the help! Its all sorted now :D

    ahh thanks for the help!

    Its all sorted now :D
  9. Replies
    6
    Views
    1,807

    Ok, I just put if statements for 'press q at any...

    Ok, I just put if statements for 'press q at any time' but im still having the same problem with an Equal Triangle
  10. Replies
    6
    Views
    1,807

    Triangle Question

    Hello, I'm currently working on a program that reads in 3 numbers then tells you what triangle it is or if its invalid

    I'm pretty much nearly finished except I need help on 2 things


    ...
  11. Thread: Program Help

    by DJ_Steve
    Replies
    2
    Views
    1,375

    Program Help

    Well I'm not sure if I'm on the right track or If I way off but this is what I have so far



    #include <stdio.h>
    #include <ctype.h>

    void step1()
    {
    double temp;
  12. Replies
    21
    Views
    4,107

    ahhh it worked! thanks! I must have edited it...

    ahhh it worked!

    thanks! I must have edited it without thinking, I would have never known that was the reason why the menu displays twice

    thanks! :D
  13. Replies
    21
    Views
    4,107

    hey shir, thanks for all the help you've given...

    hey shir, thanks for all the help you've given me. My program was working perfect just a second ago and then I went to run it again and my main menu keeps being displayed twice in a row for some...
  14. Replies
    21
    Views
    4,107

    last snippet?

    last snippet?
  15. Replies
    21
    Views
    4,107

    hmm, how would I go back to loop 1 after the...

    hmm, how would I go back to loop 1 after the person has selected an option?

    I know that return; will go back to int main() so I replaced break; with return;

    the problem is that, it goes back...
  16. Replies
    21
    Views
    4,107

    wow, you seemed to ease through that, thanks! :D...

    wow, you seemed to ease through that, thanks! :D

    my loop was way off :(
  17. Replies
    21
    Views
    4,107

    lol :(

    lol :(
  18. Replies
    21
    Views
    4,107

    ok, this is what I have so far... #include...

    ok, this is what I have so far...



    #include <stdio.h>
    #include <ctype.h>

    void step1()
    {
    char letter;
  19. Replies
    21
    Views
    4,107

    Can anyone give me any tips on a link to a...

    Can anyone give me any tips on a link to a tutorial that would enable me to

    "Read in a positive number between 1-50 and display all numbers from 0 up to the number entered. E.g. if the user enters...
  20. Replies
    21
    Views
    4,107

    ack, I thought that would be the problem but when...

    ack, I thought that would be the problem but when I tried it, it still didn't work.

    I just realised I missed out the ; at the end of it last time!

    it works now, thanks :D
  21. Replies
    21
    Views
    4,107

    Modular Programming Help

    Hello, just wondering if anyone could help with me a piece of code



    #include <stdio.h>
    #include <ctype.h>

    void step1()
    {
    printf("You have 3 choices\n");
  22. Thread: Char to Ascii

    by DJ_Steve
    Replies
    25
    Views
    3,102

    Yes!!! I did it! Thanks everyone :D ahh...

    Yes!!! I did it!

    Thanks everyone :D

    ahh that is a good week of frustration gone :D
  23. Thread: Char to Ascii

    by DJ_Steve
    Replies
    25
    Views
    3,102

    I keep getting the same problem with getting...

    I keep getting the same problem with getting spammed Ascii Value = >number<

    !



    #include <stdio.h>
    #include <ctype.h>

    int main()
  24. Thread: Char to Ascii

    by DJ_Steve
    Replies
    25
    Views
    3,102

    wow, thanks for all that MTK! I knew it would be...

    wow, thanks for all that MTK! I knew it would be something to do with the curly brackets but everytime I moved them about it never worked :(

    yeah I hadn't included the switch case in the code yet...
  25. Thread: Char to Ascii

    by DJ_Steve
    Replies
    25
    Views
    3,102

    ahh thanks for that MTK at the moment my...

    ahh thanks for that MTK

    at the moment my current code is




    #include <stdio.h> /* Standard Input/Outut */
    #include <ctype.h> /* I don't know what this means, I know it should be there tho*/
Results 1 to 25 of 43
Page 1 of 2 1 2