Search:

Type: Posts; User: Mikecore

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,779

    ctrl+z and ctrl+c are "EOF" some where in your...

    ctrl+z and ctrl+c are "EOF" some where in your program you are telling it to ignor them. In your test condition add a test for EOF to break your
    loop.
  2. Replies
    1
    Views
    1,776

    Windows cmd program

    I wrote a small program for the command promt in windows. ( in C )
    I would like to turn it into a GUI based program how does one go
    about doing this?
  3. Replies
    3
    Views
    1,006

    What an ass Im am sorry Its been a really long...

    What an ass Im am sorry Its been a really long day for me
  4. Replies
    3
    Views
    1,006

    example from my book wont compile

    Hello Im tring to compile an example from my C++ book but its faulting with this error





    mike@laptop:~/code/C++/chapter_3$ g++ grade_3.cpp -o grade3
    grade_3.cpp:18: error: expected...
  5. Replies
    3
    Views
    2,908

    thanks

    thanks
  6. Replies
    3
    Views
    2,908

    What can cause a Segmentation fault?

    What can cause a Segmentation fault?

    Exactly what is a Segmentation fault?
  7. Replies
    6
    Views
    1,662

    Well Im a noob but

    forget it
  8. Replies
    2
    Views
    3,249

    try naim look it up on google it what you want.

    try naim look it up on google it what you want.
  9. Replies
    7
    Views
    2,705

    Well im no expert

    dont listen to me im a noob
  10. Replies
    2
    Views
    1,132

    Thanks! yup I just read about scope in my book...

    Thanks! yup I just read about scope in my book when I seen you added this to your post

    So the second prototype function is a local function that can only be called from within the function that it...
  11. Replies
    2
    Views
    1,132

    Question about function prototypes

    I am doing some home work for class and we are learing about pointers.
    anyhow I was keying in a example program from the book. and I noticed
    that it defined a function prototype before main and...
  12. Replies
    9
    Views
    4,736

    I looked at what your are saying and I did some...

    I looked at what your are saying and I did some reading and some testing.

    my school book say that you should express an dollar amount as a "%d" format specifer
    cuase your talking about money. But...
  13. Replies
    9
    Views
    4,736

    yup it was a linker problem

    yea it was a linker problem I figured that out

    I also found many other problems with my code so I fixed it




    // calculate loan payments on a mortgage
  14. Replies
    9
    Views
    4,736

    trying to use pow()

    im trying to use the power function pow() but when I do the program fails to compile
    with undefind refer to pow





    // calculate loan payments on a mortgage
  15. your right im a moron I must have done just what...

    your right im a moron I must have done just what you said. Its late i must have screwed up
    thanks for your time sorry I'm a nut job.
  16. I think your missing my point. why would it run...

    I think your missing my point. why would it run the program ./pg102 when Im positive
    I typed in ./pg120. it some how got the two programs mixed up.
  17. I know what the output is going to be from the...

    I know what the output is going to be from the code I posted I wanted to know if he gets the same problem as I did. he is using a linux box like I am.
  18. I think i figured out what was going on

    I just checked out my source files and I have a folder setup to hold all of my chapter_4
    .c files. I have two file one called pg102.c and on called pg120.c the pg120.c was the code I
    posted and...
  19. Ahhh

    Im sorry I don't know what I did I cut and pasted from your post and it worked fine
    i must have gotten code mixed up im going back right now to ckeck it out
  20. Replies
    5
    Views
    1,080

    printf ("Enter the perpendicular height of the...

    printf ("Enter the perpendicular height of the triangle:\n");
    scanf ("%lf %lf",&height,&hlength);

    printf ("\nEnter the perpendicular width of the triangle:\n");
    scanf ("%lf...
  21. Replies
    5
    Views
    1,080

    im no expert

    look at your function name
  22. I am positive I used the same code. for both...

    I am positive I used the same code. for both compilers

    this is the output I get under gcc

    1
    2
    3
    4
    5
    6
  23. C programs and differances between windows c compilers and gnu gcc

    Hello I was doing a home work assignment for my C programming class and I came across a problem. The assignment is a simple program that demonstrates how to use the "continue" statement.




    ...
Results 1 to 23 of 23