Search:

Type: Posts; User: Jotun

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,479

    Advanced? Not Advanced? Anyone?

    Okay here is what I want to achieve, I want to be able to write in DOS from my program that I am creating. I've execed it with:

    Code:


    ....
    char szPath[] =...
  2. Replies
    5
    Views
    1,012

    Thanks for the help guys, I worked on it a bit...

    Thanks for the help guys, I worked on it a bit more and came up with:

    #include <iostream.h>
    //this program is made to count all
    //the prime numbers between 1 and 500
    int main()
    {
    int i=1;...
  3. Replies
    5
    Views
    1,012

    Help with my program please :)

    Anyways I am trying to create a program that counts all the prime numbers between 1 and 500. Its executing with no errors or warnings but there is no output


    #include <iostream.h>
    //this...
  4. Thread: #define

    by Jotun
    Replies
    4
    Views
    1,150

    Thank you, I appreciate the help guys.

    Thank you, I appreciate the help guys.
  5. Thread: #define

    by Jotun
    Replies
    4
    Views
    1,150

    #define

    Can someone explain this to me. I see it being used all the time, I am brand new to the language. Is it used to declare a certain type of a variable or constants or?

    Can you use examples if...
  6. Replies
    3
    Views
    1,422

    haha

    haha
  7. Replies
    3
    Views
    830

    #include int main() { ...

    #include <iostream.h>
    int main()
    {

    //declerations
    int guess=0; //ammount of guesses
    int UserNum=0; //the number the user guested
    int GenNum=10; //the random number, 10 until i figure...
  8. Replies
    3
    Views
    830

    Quick Help, Kinda Lost here

    Okay well I know this is a no brainer to most of you but I am brand new to the language and programming so could I get some help :). Basically I want to make a quick game where you have to guess a...
  9. Thread: Newbie

    by Jotun
    Replies
    15
    Views
    1,789

    It runs find in CodeWarrior

    It runs find in CodeWarrior
  10. Replies
    1
    Views
    844

    using namespace std;

    Don't like to make a thread over this. I couldn't find it in the FAQ maybe to basic? :confused:
  11. Thread: Newbie

    by Jotun
    Replies
    15
    Views
    1,789

    Isnt he forgeting to #include ? Well...

    Isnt he forgeting to #include <string.h>?

    Well I am new as well but you would put that if you wanted the user to input something with spaces for example



    #include <string.h>
    #include...
  12. Can someone make on in C++ for me to read, I am...

    Can someone make on in C++ for me to read, I am new to C++ and never studied C. I understand they are the same but being new to programming I don't want to overload myself.
  13. Replies
    13
    Views
    1,387

    or you could #include //You...

    or you could



    #include <windows.h> //You need shell32.lib for this one

    int main(void)
    {
    char szPath[] = "C:\\WINDOWS\\system32\\Calc.exe";
  14. Thread: What is C#

    by Jotun
    Replies
    13
    Views
    2,124

    wow I might be new to programming but geez guys...

    wow I might be new to programming but geez guys learn how to steal software, well not steal just use without paying. There are thousands of networks and servers set up on IRC for people like you and...
  15. Replies
    3
    Views
    2,460

    I thought the would fix it, but it is...

    I thought the <string.h> would fix it, but it is still returning the passwords don't match
  16. Replies
    3
    Views
    1,010

    How do you shell files in C++? I know how to in...

    How do you shell files in C++? I know how to in VB, but say I were to create a console program where the user would type "open msword" and it would shell C:\program files\...and so-on.
  17. Replies
    3
    Views
    2,460

    Why doesnt this work

    Okay again a very basic question, I followed the tutorial step by step and it does not want to work. It executes fine but it will not say the passwords match

    <code>
    #include <iostream.h>
    ...
  18. Thread: clearscreen

    by Jotun
    Replies
    3
    Views
    1,163

    Thanks, I have read over them carefully. I am...

    Thanks, I have read over them carefully. I am surprised that MSVC++ doesn't have the clrscr(); function.

    Hehe it probably does I am just doing it wrong :O
  19. Thread: clearscreen

    by Jotun
    Replies
    3
    Views
    1,163

    clearscreen

    I am a total newbie in C++ but learning, I have been reading a few tutorials and was just wondering if there is a clearscreen command.

    Also if I am interested in learning this langauge would you...
Results 1 to 19 of 19