Search:

Type: Posts; User: ii3ejoe

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    978

    Anyone Know any Good VC++/C++ Win tuts?

    I got the dos down like 99% but looked at a few WIN32 programs an WOW...........it totally lost me is there like an IDIOTS GUIDE TO WINDOWS PROGRAMING IN C++? hehe or something that explains good to...
  2. Replies
    1
    Views
    978

    All Files Now Say Read-only?

    i had to reformat after letting someone use my computer an having them totally mess it up, an after reinstalling VC++6 standard an copying the files(programs) i had made off a cd i burned all of the...
  3. Replies
    3
    Views
    916

    Function Help..........please

    anyone know of a good tutorial or webpage to help me out with functions? i got the basics down.........its just when it comes to making a program with like 2 or more somehow i get messed up an either...
  4. Replies
    4
    Views
    1,089

    i guess just detecting.....i have no idea how to attempt the execptions yet.

    i guess jsut handle them an tell the user that invaild data was entered.
    say i used ch for the char i know this much
    switch(ch)
    case a:
    case A: (what should i put here? since i dont want it to...
  5. Replies
    4
    Views
    1,089

    need a little help with some Functions.

    i am trying to make a program using functions
    where i want a input,output,time,and charge all to be functions.
    the problem i am having is with putting error checking into the function.
    for...
  6. thanks i got the rand part working now.....

    to make it into an actually game-like program......
    do the prompts to user..........cin the data.......then use a for loop to count from 10 to 0 (number of try the user gets to guess the number...
  7. ummmmmmmmm ok whos right :)

    i tried a few all gave at least 2-6 errors
  8. how do i make a code that choosea a random number from 1 to 100?

    i was messing around an thought that id try to make a simple DOS "Number Guessing " game, i almost all the code thought up..cept the part to pick the rand0m number?

    anyone know how this can be...
  9. Replies
    17
    Views
    2,595

    this is what he expects the program to do......

    the formula ( uncut_area + (forest_rate * uncut_area)
    using the numbers 10000 total area, 100 left uncut, .05 forest rate
    u get 100 + (.05 * 100) which is 105 which equals how much will be left...
  10. Replies
    17
    Views
    2,595

    thanks but :(

    thanks for trying..........but i think i am outta luck it dont make sense to use a For loop.......... i tried what u posted but all it out out was
    20
    1 5
    2 5
    3 5
    etc all the way to
    20 5 ?
    i...
  11. Replies
    17
    Views
    2,595

    sorry bnout that :(

    this is my wholoe CODE as is so far ( if u have any ideas as to where a FOR loop would be best let me know)


    #include<iostream.h>
    #include<iomanip.h>
    #include<math.h>

    //...
  12. Replies
    17
    Views
    2,595

    here is an example

    area _number just to help the user know what area they are entering data for ( its supposed to be made for a person who knows little bout computers)

    total_area is used to determine the percent...
  13. Replies
    17
    Views
    2,595

    the loop is supposed to be used for.......

    the for loop he wanted us to use for the years i guess........to guess make sure we can...........it works but drops off the decimals for some odd reason
  14. Replies
    17
    Views
    2,595

    i followed both of you guys ideas but......

    when i changed all to Float..........( all of the variables)
    an took off the set precission for some reason it took off the decimals?.......
    an i used the cout ideas you suggested an nope........
  15. Replies
    17
    Views
    2,595

    this is what i put for output(for testing)

    cout << endl;
    cout << area_forested << endl;
    cout << i << endl;

    i just have that to print(output) the data because it kept giving the wrong answer i wanted to narrow it down, an found that this...
  16. here is the part of the code i am having problems with.....

    i cant seem to figure out whats wrong....i have narrowed it down to this loop

    for (double i=1; i<years+1;++i)
    {
    area_forested = (uncut_area + (forest_rate * uncut_area)*i)
    }

    its...
  17. Replies
    17
    Views
    2,595

    cant figure out whats wrong with this ....

    i cant seem to figure out whats wrong....i have narrowed it down to this loop

    for (double i=1; i<years+1;++i)
    {
    area_forested = (uncut_area + (forest_rate * uncut_area)*i)
    }

    its supposed...
  18. okie but what did u have dAccum stand for?

    i havent seen it used in that form..........i guess the author of our book choose a different way or skipped it sorry........

    i think i got it........just wondering why the dAccum?

    oh yeah...
  19. ko0 thanks..but we HAVE to use for loops grrr

    ko0 whats the "*="? i havent came across that yet anywhere in class or any of the book so far?
    when u used dAccum? that was for forested area right? an the loop the "i"? doesnt represent anything?...
  20. Need Suggestions on how to start with a For loop

    A problem in timber management is to determine how much of an area to leave uncut so that the harvested area is reforested in a certain period of time. It is assumed that reforestation takes place...
  21. does it matter which i put first?

    say after i put the cout an cin statements to prompt the user to enter for example like u said "N10N" , i used switch for the Mag codes.........right after it i was thinking of putting some ifs like...
  22. can anyone help point me in the right direction with this?

    Milt Walker, the chief of advertising for the Isabella Potato Industry, wants you to write a program to compute an itemized bill and total costs of his "This Spud's for You!" ad campaign. The...
  23. Replies
    6
    Views
    1,609

    okie here's a tuff one for ya.........i got it...

    okie here's a tuff one for ya.........i got it all made an it works great ;).........but how do i get all the numbers to line up
    EX.

    first day: 342
    second day: 234
    third day:...
  24. Replies
    6
    Views
    1,609

    haha i feel stupid i think i got it tell me if u...

    haha i feel stupid i think i got it tell me if u think there is a easier way to write this

    M =((Rate2 * pow(1+Rate2,N))/(pow(1+Rate2,N)-1))*L;
  25. Replies
    6
    Views
    1,609

    cant figure out where to start

    hi i have the "Starting out with C++" by Tony Gaddis 2nd Ed. and cant find the floppy is there a place u can download whats on it?..........my main problem is with chapter 3, page 151, Programing...
Results 1 to 25 of 25