Search:

Type: Posts; User: coreyt1111

Search: Search took 0.01 seconds.

  1. so to run it using the cmd commnad I would type...

    so to run it using the cmd commnad I would type what? The program is located in my documents/programs folder/neverfear.cpp

    how would I type that in the dos screen to run it? Thanks alot guys for...
  2. is the return 0 code closing it? How do I run it...

    is the return 0 code closing it? How do I run it from the console window? I want to understand why this program closes so I wont make this mistake in the future. Thanks
  3. why do some programs work on some compliers while others dont?

    ok so im using Dev-C++ complier. I just wrote the simpliest program ever yet I cant get it to run. I complied it and all but dos just pops up really quick and disappears. Here is the code:


    ...
  4. I would also need it when users input a word for...

    I would also need it when users input a word for the program to search the program for these unique words.
  5. using structures to assign unique values to words?

    Ok, I need to assign unique values to words. Like say for instance the word "business" has a value of $%%^&*(*
    Is it possible to do by using structure variables?
  6. Replies
    6
    Views
    899

    thanks manutd. I will try it out.

    thanks manutd. I will try it out.
  7. Replies
    6
    Views
    899

    thanks manutd. What exactly does a fstream do? Im...

    thanks manutd. What exactly does a fstream do? Im a little confused.
  8. Replies
    6
    Views
    899

    how do I store it in a text file, what would this...

    how do I store it in a text file, what would this method be known as? Sorry im still learning.
  9. Replies
    6
    Views
    899

    using varaibles to store data?

    ok so I wanna use varaibles to store data. The thing is I wanna use the Cin >> input so that everything people type in is stored in the program. I understand that you can allow users to type in info...
  10. One thing I do notice is I can only enter one...

    One thing I do notice is I can only enter one number for conversion then when I press enter again it closes, maybe thats why the book didnt tell me those two lines of code? Thanks alot for the help...
  11. I got it!! I inserted this code like Desolation...

    I got it!! I inserted this code like Desolation said:


    cin.ignore();
    cin.get();


    What I wanna know is why did my C++ without fear not advise me to enter that code at the end so I could run...
  12. I cant seem to get the run cmd way to work. If my...

    I cant seem to get the run cmd way to work. If my file is named convert.cpp and is located in my documents then would it be mydocuments/convert.cpp
    ?
  13. why is my book not teaching me to do this if this...

    why is my book not teaching me to do this if this isnt the correct way? Maybe that comes later in the book?
  14. Thanks Desolation. So your saying if I add those...

    Thanks Desolation. So your saying if I add those two lines I can run the program without typing cmd etc? Where would I insert those two lines? Thanks
  15. Oh yea the complier im using is Dev C++ 4.9.9.2...

    Oh yea the complier im using is Dev C++ 4.9.9.2 beta if that matters.
  16. What is wrong with my code? My first program......

    Ok so this is my first program ive written. Its a Celsius to Fahrenheit converter. Its the first code example in the book I bought C++ without Fear. I did the code exactly as the book showed, the...
  17. Replies
    10
    Views
    4,614

    You think I should learn both? Isn't C++ powerful...

    You think I should learn both? Isn't C++ powerful enough to handle it all?
  18. Replies
    10
    Views
    4,614

    Should I learn C++ or Prolog?

    Well im making a AI program and I heard prolog is good for AI. Anyone here know Prolog? I just dont know what to use, C++ might be hard for AI. My AI program will have databases, the program will...
Results 1 to 18 of 18