Search:

Type: Posts; User: langamer101

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    2,124

    whats endl? i did a major revision of my code...

    whats endl?

    i did a major revision of my code
    i dont know if this is correct or not. plss help with the do while.


    #include<iostream.h>
    #include<conio.h>
    int prnmsg(int a);
    main()
  2. Replies
    29
    Views
    2,124

    i think i get the uhm -- thing. here's a sample...

    i think i get the uhm -- thing.
    here's a sample


    a--
    sum=a
    return sum;


    so i must use -- first before assigning it to sum? correct?.
  3. Replies
    29
    Views
    2,124

    ok lol, ill try asking my teacher why the heck do...

    ok lol, ill try asking my teacher why the heck do i a student have to use an ancient c++ compiler which is outdated and not like the rest which uses a modern c++ compiler, which i found out recently...
  4. Replies
    29
    Views
    2,124

    thanks std10039. i shall carefully analyze...

    thanks std10039.

    i shall carefully analyze your sentence and understand it to why my program does not work.
  5. Replies
    29
    Views
    2,124

    uhmm, i get that return sum returns the variable,...

    uhmm, i get that return sum returns the variable, thats all i get. all the others are just confusing to me.
  6. Replies
    29
    Views
    2,124

    i think this is an ANCIENT (turbo c++ 3.0)...

    i think this is an ANCIENT (turbo c++ 3.0) compiler which i heard from my teacher or some online forums whatnot. why does my school use ancient compilers ahhhhhhhh.
  7. Replies
    29
    Views
    2,124

    im using turbo c++ 3.0 im a noob at programming...

    im using turbo c++ 3.0
    im a noob at programming and my teacher taught me this way of writing a program through C++.

    #include<iostream.h> works for some reason in my compiler
    i dont know about...
  8. Replies
    29
    Views
    2,124

    Function Loop problem

    a program with a function printmsg() that has a parameter n. the function prints the messag "hello world" n time
    tried making one. not looping. what is problem


    #include<iostream.h>...
  9. Replies
    30
    Views
    4,334

    here is code now with && logical operator ...

    here is code now with && logical operator


    #include<stdio.h>
    #include<conio.h>
    main()
    {
    clrscr();
    int x,y,z,l;
    printf("Enter value for x: ");
  10. Replies
    30
    Views
    4,334

    my teacher has not taught me about "&&, ||, !"...

    my teacher has not taught me about "&&, ||, !" logical operators yet.
    only these ">,<,=,==,>=,<=" relational operators. :(
  11. Replies
    30
    Views
    4,334

    ummm, hmm, thanks. time to start reading and...

    ummm, hmm, thanks.
    time to start reading and quiz myself on C tutorial.
  12. Replies
    30
    Views
    4,334

    it this code correct now?. I run it, put aruns...

    it this code correct now?. I run it, put aruns x=10,y=5,z=15 and x=5,y=4,z=6 and works.


    #include<stdio.h>
    #include<conio.h>
    main()
    {
    clrscr();
    int x,y,z,l;
    printf("Enter value...
  13. Replies
    30
    Views
    4,334

    lol that was all. x>y>z on the first if OH I...

    lol that was all. x>y>z on the first if
    OH I SEE. omg I look so ..............
    thanks guys.
    edit
    more problems...............omg ill try to figure it out.
  14. Replies
    30
    Views
    4,334

    omg, what sorcery it this. output is...

    omg, what sorcery it this.
    output is 5??????????????????????
  15. Replies
    30
    Views
    4,334

    ArunS I run program then I input x=10,y=5,z=15...

    ArunS
    I run program then I input x=10,y=5,z=15
    output = 10
    hmmmm double digits and single digit numbers do not work.
    it seems that i was so happy with the program working with 1 digit xyz...
  16. Replies
    30
    Views
    4,334

    Its looks exactly the same but its not in logic....

    Its looks exactly the same but its not in logic.
    so basically i started looking where would the large number go if true or false
    if x > y it would print x if false goes to next else if
    if z > y it...
  17. Replies
    30
    Views
    4,334

    It seems Tibo-88 suggestion worked for me thanks...

    It seems Tibo-88 suggestion worked for me thanks and thanks for all the help guys
    so here is code redone
    so I tried calculating true or false and saw that "z > x" and "y > x" was wrong.

    ...
  18. Replies
    30
    Views
    4,334

    so i redo everything here is code it works but...

    so i redo everything here is code
    it works but still there is problem in y or z
    if i input in x as 1, y as 32, z as 3
    the output goes directly to z or 3. wth?


    #include<stdio.h>...
  19. Replies
    30
    Views
    4,334

    for some reason if i put printf inside "else if"...

    for some reason if i put printf inside "else if" it dont work just goes directly to else? what the heck.
  20. Replies
    30
    Views
    4,334

    seems to me that I have no idea of putting printf...

    seems to me that I have no idea of putting printf outside of else @ledow so I will try @stahta01 suggestion.
  21. Replies
    30
    Views
    4,334

    so I don't put printf inside else. ok let me try

    so I don't put printf inside else. ok let me try
  22. Replies
    30
    Views
    4,334

    If else if stament help

    from what I understand of this this code I created using if else if statement (assignment) seems correct to me.
    but for some reason it is not printing L or

    #include<stdio.h>
    #include<conio.h>...
  23. Replies
    2
    Views
    948

    thank you very much Adak. I got confused with...

    thank you very much Adak. I got confused with what squareroot formula is but there wasn't any, thanks man.
  24. Replies
    2
    Views
    948

    Radius formula help

    to get radius is = squareroot area / pie
    the heck do i get squareroot?
    what is the secret formula for squareroot?


    #include<stdio.h>
    #include<conio.h>
    main()
    {
    clrscr();
  25. Replies
    7
    Views
    1,984

    CommonTater thanks man now it loops itself when...

    CommonTater
    thanks man
    now it loops itself when i input a letter
    thanks for the warning about fflush()
Results 1 to 25 of 33
Page 1 of 2 1 2