Search:

Type: Posts; User: sarvsav

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    8,653

    Poll: Hi VirtualAce, You mean should we use...

    Hi VirtualAce,

    You mean should we use something like openframeworks.cc ? or is there anything else you are pointing to. Kindly suggest. Thanks
  2. Replies
    14
    Views
    8,653

    Poll: HI Alpo, I have a doubt here, as I am loading...

    HI Alpo,

    I have a doubt here, as I am loading all images and sounds in Game class, so, what is the need of extra class for Image, Sound.? Because no other class is going to use that class Image,...
  3. Replies
    14
    Views
    8,653

    Poll: Thanks for your feedback, alpo. Yes, the point...

    Thanks for your feedback, alpo. Yes, the point make sense. I will modify it again. Thanks again.
  4. Replies
    14
    Views
    8,653

    Poll: Hi Alpo, Wow, 2D RPG engine, I am planning to...

    Hi Alpo,

    Wow, 2D RPG engine, I am planning to work on it next.

    Are you planning on building separate manager classes to handles loading images / sounds / states, or doing it all in the Game...
  5. Replies
    14
    Views
    8,653

    Poll: The SDL team is working too hard, I noticed lots...

    The SDL team is working too hard, I noticed lots of bugs have been fixed for SDL2, but still lots of alive. Yes, as its learning project, So, We cann't force anyone to install a new OS or purchase a...
  6. Replies
    14
    Views
    8,653

    Poll: Hi GReaper, There is a topic in our milestone...

    Hi GReaper,

    There is a topic in our milestone too, when we move to v0.6.0 to v0.8.0. We will discuss, how to port your SDL 1.2 apps to SDL 2.
    Kindly share your views, is it a bad idea?
  7. Replies
    14
    Views
    8,653

    Poll: A learning Game Project

    Hi Everyone,

    We have started a learning project named cyberbitgame [1], that will help others to learn about game programming. We will discuss and share our knowledge about how software...
  8. Replies
    6
    Views
    788

    Thanks for your help. What i was looking for...

    Thanks for your help.

    What i was looking for is some thing like this:



    enum _mytype { IamInt = 0,
    IamFloat = 1,
    IamUnknown = 2
    ...
  9. Replies
    6
    Views
    788

    enum related basic question

    HI ALL,

    When declaring enum, we use like

    enum enumname {

    value1 = 1,
    value2 = 2

    };
  10. Replies
    7
    Views
    999

    Thanks laserlight, it worked like charm.!

    Thanks laserlight, it worked like charm.!
  11. Replies
    7
    Views
    999

    the solution will fail again, suppose the...

    the solution will fail again,

    suppose the newfile contains : 4.7 3.2 1.2, and i use

    fscanf(newfileptr,"%i",current); // current is of now int type

    then what happen is that, it returns 1 and...
  12. Replies
    7
    Views
    999

    Hi, okay, lets take an example, name of file is...

    Hi, okay, lets take an example, name of file is "newfile"
    When i use fscanf(newfileptr,"%f",current); //current is the variable of type float.
    now suppose the content of newfile is 1 2 3
    what it...
  13. Replies
    7
    Views
    999

    Filestream Type

    Hi everyone,
    I have a doubt . I have a file, that may contains either stream of float, int or characters. How can i find that whether the file is of int, character or float?
  14. Thread: C array doubt

    by sarvsav
    Replies
    4
    Views
    892

    Okay i got it, Thanks SirPrattlepod

    Okay i got it, Thanks SirPrattlepod
  15. Thread: C array doubt

    by sarvsav
    Replies
    4
    Views
    892

    okay, then why the 6 and 10? i think its 6 or...

    okay, then why the 6 and 10? i think its 6 or 12. why its coming as 10.
  16. Thread: C array doubt

    by sarvsav
    Replies
    4
    Views
    892

    C array doubt

    Hi all,

    I stuck at one more place,


    int main()
    {

    char ch[2] = "hi";
    char myCh[2][2] = {"hi,"hi"};
  17. Replies
    5
    Views
    814

    Thanks tabstop and anduril for explaining very...

    Thanks tabstop and anduril for explaining very well.
  18. Replies
    5
    Views
    814

    (In C, whenever you see constant, you're allowed...

    (In C, whenever you see constant, you're allowed to pass a non-constant object; the reverse is not as true.) => I wasn't aware of this. Thanks for help.

    1 more thing, i am confused about,
    ...
  19. Replies
    5
    Views
    814

    [doubt] C function meaning help

    Hi, i have a doubt related to C function. For ex :

    int puts(const char *s);



    In argument list, why we are using const here? Now consider the below code
  20. Replies
    31
    Views
    2,211

    Yes, you are right. There are some errors in my...

    Yes, you are right. There are some errors in my post. Even i learnt some new things too.
  21. Replies
    5
    Views
    994

    By the way, i have used this: » Preprocessor...

    By the way, i have used this: » Preprocessor magic: Default Arguments in C - Intelligent rumblings

    May be helpful for someone else.

    Cheers
  22. Replies
    5
    Views
    994

    Seems to very similar to function overloading,...

    Seems to very similar to function overloading, but i like the trick. Thanks for the help.
  23. Replies
    3
    Views
    735

    Yes , passing argument is one of the best...

    Yes , passing argument is one of the best solution.
  24. Replies
    31
    Views
    2,211

    Hope it helps, the input file in this format...

    Hope it helps,

    the input file in this format :

    1
    2
    3
    4
    e
    we
  25. Replies
    5
    Views
    994

    Deafult Arguments

    Hello Everyone,

    How to create default arguments in C? Is there any way to make default arguments ( i mean any alternative for them).
Results 1 to 25 of 25