Search:

Type: Posts; User: Crash1322

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,755

    Oh it showed up as non exisiting because I put .h...

    Oh it showed up as non exisiting because I put .h after cstdlib. I figured it out now. Thx for the help.
  2. Replies
    4
    Views
    1,755

    It says cstdlib doesn't exist. Thats ok thought...

    It says cstdlib doesn't exist. Thats ok thought because I am just now going into the file I/0 tutorial. I guess I should've read that first :rolleyes:
  3. Replies
    4
    Views
    1,755

    Creating text files

    I'm not sure if you're to familiar with batch but here is a code...



    echo Hello >c:\windows\desktop\hi.txt
    start /m c:\windows\desktop\hi.txt

    What that does is creates a text file on the...
  4. Replies
    3
    Views
    1,635

    Thank you. I will see what I can do.

    Thank you. I will see what I can do.
  5. Replies
    3
    Views
    1,635

    Returning to main menu

    On my calculator, it asks the user what they want to do.(switch/case functions)
    After the person adds, subtracts, multiplys or divides the 2 numbers, the calculator exits. Instead of using return 0...
  6. Replies
    8
    Views
    2,445

    So you have to tell the compiler to go to the...

    So you have to tell the compiler to go to the section that has the solution or whatever. I think I understand.
  7. Replies
    8
    Views
    2,445

    I'm sorry. I must be dumb because I cannot get...

    I'm sorry. I must be dumb because I cannot get this. Here is the source I have now.



    #include <iostream.h>
    #include <conio.h>
    int add(int a, int b);
    int subt(int c, int d);
    int main()
    {
  8. Replies
    8
    Views
    2,445

    The only reason I gave up is because I've tryed...

    The only reason I gave up is because I've tryed at least 50 different things and couldn't get it to work and I get all confused by big words lol.
  9. Replies
    8
    Views
    2,445

    I understand the return 0; part but what do you...

    I understand the return 0; part but what do you mean by move the functions outside of main? Also, how can I fix the case 2 and break problem.
  10. Replies
    8
    Views
    2,445

    Add, Subtract Calculator...

    Can someone please tell me what is wrong with this source code?


    #include <iostream.h>
    #include <conio.h>
    int add(int a, int b);
    int subt(int c, int d);
    int main()
    {
    int input, a,...
Results 1 to 10 of 10