Search:

Type: Posts; User: TheLoneWolf32

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,503

    meh nvm I finished coding it myself....

    meh nvm I finished coding it myself....
  2. Replies
    3
    Views
    2,503

    meh same error still...I would just use vectors...

    meh same error still...I would just use vectors but the problem is knowing what size to put it at for efficiency(sp?)...so I use a apstring to get the word and its length...and use the length for the...
  3. Replies
    3
    Views
    2,503

    Palindrome Coding trouble

    I am trying to code a Palindrome program...I keep on getting a runtime error called

    Index out of range: 3 string: mom

    yeah I can't figure out why though...here's my code


    void Palindrome()...
  4. Replies
    4
    Views
    1,207

    Never mind I think I figured out the character...

    Never mind I think I figured out the character issue by just declaring another thing called



    ifstream instreamTwo("C:\\STR\\melville.txt");


    right before the charcter loop so it should...
  5. Replies
    4
    Views
    1,207

    BTW I am a newbie C++ programmer if you can...

    BTW I am a newbie C++ programmer if you can see....so I don't know too mcuh about the language.
  6. Replies
    4
    Views
    1,207

    Okay I figured out the word thing...I used MS...

    Okay I figured out the word thing...I used MS word to count the words and yeah that was wrong...yeah so I used someone elses code to see how many words were there and I was right...now on to the...
  7. Replies
    4
    Views
    1,207

    Well the characters are a problem just one I am...

    Well the characters are a problem just one I am not dealing with right now...but the words for some reason is only half of what it should be and I can't find any logic problems with the code....yeah...
  8. Replies
    4
    Views
    1,207

    Coding Troubles

    Okay I have code that is supposed to get a number of words in a text file....for some reason it will half of the number of words in the text file....There are actually 6338 words in this text...
  9. Help me get this Bomberman code to work on MSVC

    Yeah I got some code and I keep on getting a linking error called

    -error LNK2001: unresolved external symbol _main
    -fatal error LNK1120: 1 unresolved externals

    Ill post the code and the extra...
  10. What are constructers and overloaded constructers?

    Can someone tell me what a constructer and an overloaded constructer are?
  11. Here's my code, any ways in shortening it?

    Okay heres the code...Ive just finished programming this, is there any way to save space. It seems a bit big. Also I deleted my name from privacy reasons.



    //This program will play ASCLLAND -...
  12. Replies
    3
    Views
    1,616

    Help with some logic questions

    Okay I am a basic C++ student in high school...I am to write a function on getting a GCF from 2 integers...I am first thinking of the logic of the problem first and how to solve it...So far I've come...
  13. Replies
    3
    Views
    825

    thanks...I've been cracking at this program for...

    thanks...I've been cracking at this program for some bit of time...I guess I'm not that logical...or I should write down my programs before hand instead of hacking away at code.
  14. Replies
    3
    Views
    825

    void Compact(apvector &List, int &N)...

    void Compact(apvector<int> &List, int &N)
    //Pre:List contains integers from 0...N-1
    //PostCondition all 0's have been removed from the list; N is reduced as appropriate
    {
    for(int i = 0; N >...
  15. Replies
    3
    Views
    825

    Help me with my C++ code please

    void Compact(apvector<int> &List, int &N)
    //Pre:List contains integers from 0...N-1
    //PostCondition all 0's have been removed from the list; N is reduced as appropriate
    {
    for(int i = 0; N >...
Results 1 to 15 of 15