Search:

Type: Posts; User: deedlit

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,104

    Hi, thanks for reading my message. I've changed...

    Hi, thanks for reading my message. I've changed my code a bit and I get it to compile but the math is wrong.



    #include <iostream>

    using std::cout;
    using std::endl;

    #include "Complex.h"
  2. Replies
    6
    Views
    1,104

    Wow, I am slow....hahah I didn't even catch that....

    Wow, I am slow....hahah I didn't even catch that.


    Thanks!
  3. Replies
    6
    Views
    1,104

    Thank you very much! that took care of two of...

    Thank you very much! that took care of two of three of the errors. But why won't it let me have the int after a .h file?
  4. Replies
    6
    Views
    1,104

    Error Message Help

    Hello,

    when i try to compile this program (it has three parts) I receive an error message that confuses me. Below are the code and error message.



    #include <iostream>

    using std::cout;...
  5. Thread: end1 error?

    by deedlit
    Replies
    5
    Views
    1,353

    Do you know how to check for invalid input? I...

    Do you know how to check for invalid input? I tried to make another while loop but it wouldn't run properly
  6. Thread: end1 error?

    by deedlit
    Replies
    5
    Views
    1,353

    Thanks for your reply. The guy who was tutoring...

    Thanks for your reply. The guy who was tutoring me told me that I was wrong when I had endl; in my pseudocode. I guess I should not listen to him next time and find a new tutor.

    Do you know of any...
  7. Thread: end1 error?

    by deedlit
    Replies
    5
    Views
    1,353

    Invalid input?

    Hello! Yes this is for homework, but I only have a few teeny questions. Why, when I compile my program, does it give me three errors about end1 not being in iostream?? I know it is end(one) and not...
  8. Replies
    6
    Views
    2,212

    Thank you for your help! You are by far the most...

    Thank you for your help! You are by far the most helpful person on this board! if i am not mistaken you have helped me before and I really do appreciate it :)
  9. Replies
    6
    Views
    2,212

    I wasn't sure if I had to or not so I left it,...

    I wasn't sure if I had to or not so I left it, but when I did, the same errors came up. Yes I was trying to cast them because if I didn't then a different error saying that illegal type for the case...
  10. Replies
    6
    Views
    2,212

    polish notation calc problem

    Hey there. I have been having trouble compiling this Ritchie program on polish notation after i tried adding a mod case to it. it says I am missing a semicolon but I dont understand why. Also, for...
  11. Replies
    19
    Views
    6,021

    Thanks again.

    Thanks again.
  12. Replies
    19
    Views
    6,021

    Is it possible to add something to this program...

    Is it possible to add something to this program to make it so the latter half, the odd numbers, are also in the same order they began in at the end of the array?

    Ex:

    before: 1428754744
    after:...
  13. Replies
    19
    Views
    6,021

    Geez, now I feel stupid :o Thank you very...

    Geez, now I feel stupid
    :o

    Thank you very much for your help.
  14. Replies
    19
    Views
    6,021

    What kind of function is comp? It says something...

    What kind of function is comp? It says something about a redeclaration of comp as int at line 5 as an error??



    #include <stdio.h>
    #include <stdlib.h>
    #define DIM 10

    int comp(void *, void...
  15. Replies
    19
    Views
    6,021

    Thanks for the link, it helped explain the qsort...

    Thanks for the link, it helped explain the qsort function.


    I am still a little confused about the pointers though. When I typed in the code, it said that I had a redeclaration of 'comp'...
  16. Replies
    19
    Views
    6,021

    I'm new to the qsort function also. Is it just a...

    I'm new to the qsort function also. Is it just a shortcut that I probably haven't read about in my intro book yet?

    Also, my book has void main() everywhere and I noticed you had


    int comp...
  17. Replies
    19
    Views
    6,021

    Thanks for replying everyone. I probably had a...

    Thanks for replying everyone.

    I probably had a typo; I didn't copy and paste but retyped.

    Thanks for the help, I understand more now.
  18. Replies
    19
    Views
    6,021

    Sorting Arrays - Even and Odd Input

    I was wondering if I am on the right track with this one.

    I have to sort even and odd input numbers of an array, placing the even numbers at the front of the array, and the odd at the end.


    ...
  19. Thread: Array help

    by deedlit
    Replies
    4
    Views
    1,543

    Thanks very much. I see now what you mean, I have...

    Thanks very much. I see now what you mean, I have crazy syntax everywhere.

    :)
  20. Thread: Array help

    by deedlit
    Replies
    4
    Views
    1,543

    Hey thanks for replying so quickly! I...

    Hey thanks for replying so quickly!

    I understand what you mean by recording the location, I just can't figure out how (that's how pathetically new I am to this language).


    So after I have...
  21. Thread: Array help

    by deedlit
    Replies
    4
    Views
    1,543

    Array help

    Hi! I am currently working on a small exercise in C that I am kinda stuck on.

    It says: Write a program that reads a sequence of 8 integer numbers into an integer array, finds the minimal value in...
Results 1 to 21 of 21