Search:

Type: Posts; User: tru.cutru

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,559

    okay! i fixed my code and it works like I wanted....

    okay! i fixed my code and it works like I wanted. Can you please critiqued it and comment how I could make more efficient.


    #include <stdio.h>
    #include <stdlib.h>

    int series()
    {
    int u_input...
  2. Replies
    3
    Views
    1,559

    Thanks for pointing out the rest of the errors....

    Thanks for pointing out the rest of the errors. Going back to the parallel formula (and dividing and multiplying in general). If user inputs 0 for multiplication, the result will always print out...
  3. Replies
    3
    Views
    1,559

    Help debugging a simple program

    My assignment is to create a program that has 3 options:

    a) add in series
    b) add in parallel
    c) quit

    So far this is what I have. However, I'm stuck in the parallel function, I can not figure...
  4. Replies
    3
    Views
    4,912

    Decimal to Binary conversion help

    This is my code and this is my logic



    #include "stdafx.h"
    #include "stdio.h"
    #define SIZE 7

    int main()
    {
  5. Replies
    6
    Views
    1,609

    indeed it works. I am confused as to how it...

    indeed it works. I am confused as to how it exactly works but I will dig into it, thank you.
  6. Replies
    6
    Views
    1,609

    I didnt even know I was calling the main...

    I didnt even know I was calling the main "recursively" Can you further explain what is that? Or Ill look it up. So taking the main() out will get the job done. But If I take out the main() then how...
  7. Replies
    6
    Views
    1,609

    please? lol

    please? lol
  8. Replies
    6
    Views
    1,609

    Help Me Find My Error Please (loops)

    Is a menu and the only thing that works as of now is the option 0 and q to terminate. Everything works fine but the only thing that bothers me is that when I ran the program I can press q and the...
  9. Replies
    2
    Views
    1,507

    OH JESUS. I probably had that wrong on my other...

    OH JESUS. I probably had that wrong on my other code too. Thanks
  10. Replies
    2
    Views
    1,507

    Problem with do while loop

    I am pretty sure my code is right i copied it right out of the book. But for some reason I get this error message

    First-chance exception at 0x667f6af2 (msvcr90d.dll) in doingWallE.exe: 0xC0000005:...
  11. the % instead of the & was indeed a typo (I had...

    the % instead of the & was indeed a typo (I had moved on and changed my code, and I clicked undo several times and modified the code, only so I could post my question). Actually I've encountered...
  12. oh okay thanks. So is only use for boolean? is...

    oh okay thanks. So is only use for boolean? is not use for anything other than boolean expressions. Thank you
  13. why is it wrong? i put the 'q' i just took them...

    why is it wrong? i put the 'q' i just took them out by mistake when i put it on the thread
  14. I need help with simple program if can please

    i can move the code around and make the 'q' a number 10 or i could use the switch case itd be much easier but i wanna struggle with if statements for now. Why wouldnt the appointed line work? why...
  15. Replies
    9
    Views
    1,208

    holy moly you are a big baller lol :) i had that...

    holy moly you are a big baller lol :) i had that scanf but not the spaces, I didnt know that could impact the code so much. WOOOW, thanks alot

    thats tricky stuf right there
  16. Replies
    9
    Views
    1,208

    tried it just now it doesnt work

    tried it just now it doesnt work
  17. Replies
    9
    Views
    1,208

    tried it just now doesnt make a difference

    tried it just now doesnt make a difference
  18. Replies
    9
    Views
    1,208

    in this case when i put 21 for desicionTime() the...

    in this case when i put 21 for desicionTime() the line that says "again?" prints out on the screen but it does not wait for an answer and it goes straight back to the main menu.
  19. Replies
    9
    Views
    1,208

    i dont know which return you are talking about...

    i dont know which return you are talking about but i tried taking each of them at a time and it didnt help. Can you be a little more specific?
  20. Replies
    9
    Views
    1,208

    help on code thats all

    i am studying c on my own because i need it for my senior project and i also want to know it for my own.

    Objective: Make menu with 10 options. Option 0 takes u to a silly "prelab" sub function and...
Results 1 to 20 of 20