Search:

Type: Posts; User: Cess

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    964

    wow just reread it..:eek:.."You must write the...

    wow just reread it..:eek:.."You must write the code that actually does the conversion
    and not use special formatting in printf."

    ***Beep!!! :mad:

    I guess I won't be using the short cut at all...
  2. Replies
    5
    Views
    964

    he wants us to do it manually for this assment,...

    he wants us to do it manually for this assment, thanks though... cuz that does help with my next assessment since he doesn't state in that one that we don't have to use a for loop so I'm using it in...
  3. Replies
    5
    Views
    964

    just figured it out I think......... for...

    just figured it out I think.........


    for (i=0; i < 8 ; i++)
    {
    hexStr[i] = '0';
    }
    hexStr[8]=0;
    for (i=1; i < 8 ; i++)
    {
  4. Replies
    5
    Views
    1,394

    Ok I"m new too but hopefully this helps...I found...

    Ok I"m new too but hopefully this helps...I found your code kind confusing but maybe with some work we can get it to work. 1st I would pay more attention to your brackets.... you just seem to place...
  5. Replies
    5
    Views
    964

    help with makeing a forloop for hex please

    I'm trying to make a for loop for hex... I had the code below but I would figure it would be less confusing with a for loop but I"m having trouble geeing it to work right


    hexStr[i] = '0';
    ...
  6. Replies
    6
    Views
    1,369

    ok I got it to work better but it is acting funny...

    ok I got it to work better but it is acting funny with 0 0 1 when it should say "Sorry the roots are not real!!" anyone know why it does that and how I can fix that?


    #include <stdio.h>
    #include...
  7. Replies
    6
    Views
    1,369

    ok been working on it and now I just can't get it...

    ok been working on it and now I just can't get it to give the correct roots.... can anyone help me?




    #include <stdio.h>
    #include <stdlib.h>
    #include <iostream>
    #include <cmath>
  8. Replies
    6
    Views
    1,369

    why doesn't this work?

    this is my 1st attempt with pointers and I can't get this program to tell if there not real or to produce roots. Any help would be great... cuz I know its not 0.000 0.000 thanks


    #include...
  9. what does str[i] = str[i] - 'a' + 'A'; mean in...

    what does str[i] = str[i] - 'a' + 'A'; mean in the code below


    #include <iostream>

    using namespace std;

    int main()
    {
    cout << "Enter a character string: ";
  10. Ok still going over the C++ tutorial on lesson 3...

    Ok still going over the C++ tutorial on lesson 3



    #include <iostream>
    using namespace std; // So the program can see cout and endl
    int main() { // The loop goes while x < 10, and x...
  11. Oh ok ya so even though "that OR will be...

    Oh ok ya so even though "that OR will be evaluated after AND. " you have to still follow order of operations 1st! ok that makes sense. thank you!


    (0||1) = true
    !(0||1) =false
    1 && 0 = false
    !...
  12. 3. Evaluate !(1 && !(0 || 1)). A. True I...

    3. Evaluate !(1 && !(0 || 1)).

    A. True

    I don't understand why this is true......can someone please break it down and explain it to me? thanks
  13. ok another program I was working...

    ok another program I was working on......:confused:


    #include <iostream>

    /* Write a program that will calculate the average of n data points which are entered by the
    user and print out the...
  14. thank you again, whats a bit wise operator?

    thank you again, whats a bit wise operator?
  15. ok I'm tryin to practice before doing...

    ok I'm tryin to practice before doing homework...cuz I still don't get it and I was trying to do a simple program but I can't seem to fix it....:o:confused:


    #include <iostream>

    using...
  16. thanks, this is very helpful! I don't understand...

    thanks, this is very helpful! I don't understand all of it yet, but I hope to learn to soon. thanks
  17. >ch -u "simpleFilt.cpp" ERROR: maybe missing...

    >ch -u "simpleFilt.cpp"
    ERROR: maybe missing ';' before '='
    ERROR: with unnecessary identifier 'i' in casting operator
    ERROR: incompatible types for casting operation, casting void to int...
  18. my professior gave us an example program for a fiter.. but I can't get it to work...

    my professor gave us an example program for a filter.. but I can't get it to work...
    This is my 1st time using C++ and before we where learning C... so I can't easily see why it doesn't work.......
  19. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    I really should post the 1st code, and not try...

    I really should post the 1st code, and not try and mess with it cuz I only seem to make it worst.
    this is what I had after he informed me of what to do, before I started to mess with it and screw it...
  20. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    I know this isn't right... but I'm a little...

    I know this isn't right... but I'm a little confused by what you said so if you can guide me on my errors it would be great. Its always says zero no matter what value I give it... This is what I...
  21. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    I tried different things.. so I returned that to...

    I tried different things.. so I returned that to what the professor put originally .... I know that won't work...
  22. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    ok fix that and now it ends if you enter more...

    ok fix that and now it ends if you enter more then 20 values.
    However I am still having trouble with the variance... it always shows 0 that would be great...I'm trying to figure it out using stuff...
  23. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    ha ! yes!! thank you! ok now I'm going to work...

    ha ! yes!! thank you!
    ok now I'm going to work on the rest of it.
    thank you again
  24. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    ok thanks but ya its doing this still >ch...

    ok thanks but ya its doing this still



    >ch -u "professior given"
    Enter the number of points: 2
    Enter a value: 2
    Enter a value: 4
    Average = 3.000000
    Biggest = 0.000000
  25. Thread: functions

    by Cess
    Replies
    24
    Views
    2,915

    ok thanks but I can't seem to get that to work...

    ok thanks but I can't seem to get that to work still gives me zero.....:mad:


    /* Melissa Schwager Homework 4
    Write a program that will accept the number of points
    and then read in the points...
Results 1 to 25 of 57
Page 1 of 3 1 2 3