Search:

Type: Posts; User: beginner

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,754

    Search the board

    Search the board you can probably find a good source code too!
  2. Replies
    5
    Views
    1,694

    Hum..

    The virtual functions should behave the way you wanted it to if your derived class, Circle in this situation inherits the base class that defines the virtual function behave().
    thats all i know.. :(
  3. Thread: RoDBoT: BETA

    by beginner
    Replies
    33
    Views
    3,059

    Okay...

    >>nowadays asking the sex may be a good idea...
    So, do you introuduce yourself first or ask somebody to introduce him/herself first...???
    >> Enter you name:... Enter your.. bla bla...
    or..
    Hey...
  4. Thread: RoDBoT: BETA

    by beginner
    Replies
    33
    Views
    3,059

    How about...???

    How about introducing yourself first.. like a nice and polite robot...
    and asking the user/stranger their info like you r doing a real conversation instead of being a regular commanding computer.....
  5. Replies
    4
    Views
    1,590

    Thanks

    Thanks a lot!! appreciat your help!!!
  6. Replies
    36
    Views
    4,367

    Treasure Hunt with Embedded System

    My first game was Treasure Hunt. I made it for my class project for embedded system. Used Multi-C. Made upto level 2.
  7. Replies
    4
    Views
    1,590

    which is standard??

    SDL is a cross-platform and cross-language library so there's
    no specific Win32 library, Just download the standard one.

    The webpage doesn't say which is the standard one to download.
    So am I...
  8. Replies
    4
    Views
    1,590

    Which Libraries for SDL??

    Okay good fellows!
    I just want to start the ABC of SDL with all your help... I've downloaded bunch of game programs that use SDL library. I would like to mess up with 'em so that I get the feeling...
  9. Replies
    7
    Views
    1,879

    OOP

    OOP is just great... !!! This makes C++ "C++".
    I just started learning OOP. It might be kinda hard and little frustrating (well thats what I felt!:) ) in the beginning but you'll find it charm... as...
  10. User input

    Okay here's an working example assuming that the user inputs the data from the keyboard... the only thing you would have to do is read from the file in the similar way..:)


    #include <iostream>...
  11. Replies
    7
    Views
    1,606

    #include #include int...

    #include <string>
    #include <iostream>

    int main(void)
    {
    string a;
    string b;
    int pos;

    cout << "Enter string: ";
  12. Replies
    6
    Views
    1,116

    Copy constructor

    I didn't read the whole code thoroghly... but what i spotted at a glance is your copy constructor... It may not be the soultion you are expecting. What i know of is the parameter of the copy...
  13. Replies
    10
    Views
    2,087

    Thanks Stoned_Coder

    Thanks a lot sir!
    I recreated the whole project actually and carefully selected the console app. It worked without any problem!
    Thanks a lot agian!
  14. Replies
    10
    Views
    2,087

    warnings no problem! but the errors!

    The warning were just fine! wouldn't cause any problem for the program to run! but the two errors i keep getting!!!!!!
    I posted the errors two posts above!!
    Here it is again, for your convenience!...
  15. Replies
    10
    Views
    2,087

    OOpsss I can compile!

    Okay, I forgot that I could still compile... :D ...
    here are the warnings i get:


    main.cpp
    C:\OOP\Project1\main.cpp(21) : warning C4786:...
  16. Replies
    10
    Views
    2,087

    Thanks a lot!

    Thanks a lot silentStrike for your great explanation. That helped me to understand!

    I would post the warining, if i got to that point now :(.
    First time it worked fine. So I tried to do the whole...
  17. Replies
    10
    Views
    2,087

    Thank you!

    thanks a lot silentStrike!!
    It worked just fine. still gives some long warnings... but executes fine!



    std::string name;
    bool operator < (const Cat& other) const;
    };

    this part you added...
  18. Replies
    10
    Views
    2,087

    OOP problem with "set"

    Greetings everybody!
    I searched the board and the google... but couldn't find any help.
    So, I hope somebody here does surely have the answer!
    I just started with OOP. The following program works...
  19. Replies
    5
    Views
    2,222

    Most teachers are old-fashoined!:) They prob. do...

    Most teachers are old-fashoined!:) They prob. do say the difference in using int main and void main but the newbies just get the habbit with void main(for the easy sake!, i guess).
  20. Replies
    8
    Views
    1,393

    Also....

    To add little more on what nvoigt said...
    you don't have to write "using namespace std;" if you have used <library.h> (notice the ".h">, but i think the standard way (and the easier too) is to write...
  21. Replies
    33
    Views
    3,145

    MSVS C++ generally. gcc for my class esp. to...

    MSVS C++ generally. gcc for my class esp. to compile C codes.
    Planning to switch to .NET soon. :)
  22. Thread: need help

    by beginner
    Replies
    8
    Views
    1,103

    sorry!

    I hurriedly answered your question just to help you get started(also din't have much time before the class...:)
    The swap function I wrote before works only for C++. In C everything is pass by...
  23. Thread: need help

    by beginner
    Replies
    8
    Views
    1,103

    swap

    A part of the solution

    You can write a separte swap function:



    void swap(int &a, int &b)
    {
    int temp = a;
    a = b;
  24. Thread: Save to File

    by beginner
    Replies
    19
    Views
    2,890

    Eibro's correction worked with my Compiler

    Eibro's codes compiled and executed fine with my compiler. I'm using Visual Studio 6. :) Can you write what it does for you, if its not working?
  25. Thread: c to c++

    by beginner
    Replies
    2
    Views
    1,085

    www.cplusplus.com

    Try www.cplusplus.com to start out with...
    I started with C++. Though I still suck in C++, I can write some small programs in C :). I felt C++ more flexible and easier than C.

    Good luck!
Results 1 to 25 of 36
Page 1 of 2 1 2