Search:

Type: Posts; User: parad0x13

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,107

    Thanks bubba, sorry I didn't attach the source....

    Thanks bubba, sorry I didn't attach the source. Your right, I will do that for now on.

    And you can get TASM for free too, I straight looked for it on google but I heard you can get it with one of...
  2. Replies
    5
    Views
    5,107

    Detailed ASCII Pong Game, please review!

    I wanted to start programming games for DOS again, specifically ASCII. I picked up on a few new concepts (Setting the clock to refresh at higher rates than ~1/18hz) and came up with this game! Its...
  3. Unfortunately i'm not sure how to implement this...

    Unfortunately i'm not sure how to implement this so i'll draw out how I interpret it:

    Class1.h


    #ifndef _CLASS1_
    #define _CLASS1_

    #include "RandomAudioFramework.h"
  4. Classes access other classes local variables

    Lets say I have a header file that declares a class, I have another header file that declares another separate class so now we have Class1 and Class2 who have no contact with one another. Class2 gets...
  5. thanks c_ntua for the reply, but is this really...

    thanks c_ntua for the reply, but is this really the best way of doing things? I mean, is the mass pointers class really the thing to be doing? Is it clean cpp wise I mean
  6. Whats the best way to control a global class?

    I'm developing software that computes many different types of fractal equations and draws them to the screen using OpenGL. Different types of equations such as Complex Fractals, Cellular Automata,...
  7. Global Access to Global Class without so many pointers

    I was wondering if there is a way to create a class as such:

    toBeGlobal.h


    #ifndef _TOBEGLOBAL_
    #define _TOBEGLOBAL_

    class toBeGlobal
    {
  8. Replies
    6
    Views
    1,526

    The array has to be able to be resized at whim,...

    The array has to be able to be resized at whim, reallocated more specifically
  9. Replies
    6
    Views
    1,526

    Access array from class

    Lets say I have a class declared in say 'Class.h' as such:


    class Foobar
    {
    public:
    struct Vertex
    {
    float x, y, z; // Position of vertex in 3D space
    RGBquad color; // Color of vertex
  10. Replies
    1
    Views
    1,921

    Loading image from Resource

    In my .rc file I have such:


    icon ICON "wxVertigo.ico"

    splashImage BMP "Splash.bmp"

    and the Splash.bmp file IS included within the binary, when I check the size to tell, but I have no idea...
  11. Replies
    0
    Views
    1,245

    DLL resources with, image files?

    How can I include resources such as images that I want to be used within my program inside an external DLL for instance? Like what if I want all images for icons within my program to be included in...
  12. Replies
    23
    Views
    2,834

    Yes, you are right. The program will be...

    Yes, you are right. The program will be compatible with linux and windows so I want to include the image inside the binary for ease of portability
  13. Replies
    0
    Views
    917

    file to... array?

    Is there a way that I can include... any binary data I want into an executable?

    For instance say I want to save an executable... inside my executable and be able to save it when prompted

    Or for...
  14. Replies
    23
    Views
    2,834

    yes this is true, I was hoping there was a jpeg...

    yes this is true, I was hoping there was a jpeg to array converter or something lol

    this way I can load things like jpegs directly intothe binary and load it in a way that I'd like
  15. Replies
    23
    Views
    2,834

    My goal is to add the file directly in the binary...

    My goal is to add the file directly in the binary at compile time, like you can with an xpm. I don't want the image to be loaded as a resource...

    It's unfortunate that I can't include the image in...
  16. Replies
    23
    Views
    2,834

    I want to include an image banner inside the...

    I want to include an image banner inside the executable, so its easy to include xpm format for this purpose, however like I stated before it is very bulky.

    If its true that I can include any...
  17. Replies
    23
    Views
    2,834

    I'm embarrassed to say that I'm not familiar with...

    I'm embarrassed to say that I'm not familiar with this technique...

    Are you saying that formats such as .jpg can be included within the binary through use of resource files?!
  18. Replies
    23
    Views
    2,834

    Compilable image formats

    I know that I can include xpm file format into code:


    #include "image.xpm"

    and it will be included within the binary, adding on to the image size.

    However my issue is that xpm files aren't...
  19. Replies
    7
    Views
    1,482

    for loop, multiple checks

    Is there a way to shorten this?


    for(foo == bar || foo == pub)
    {
    // Incert drunken code here
    }


    More specifically, is there a way to as such:
  20. Replies
    4
    Views
    1,685

    Hey, thank you VERY much with your responces! ...

    Hey, thank you VERY much with your responces!

    You were EXACTLY right, I didn't catch it until now lol

    And your right, I should be using the new function instead. I will work on converting the...
  21. Replies
    4
    Views
    1,685

    malloc access problem

    the code:



    struct Vertex
    {
    float x, y, z; // Position of vertex in 3D space
    RGBquad color; // Color of vertex
    };
  22. Replies
    5
    Views
    9,545

    wxWidgets and OpenGL frustration!!!

    I installed Dev Cpp, along with the wxWidgets devpak and I can successfully compile both a widgets program and a opengl program, however separately.

    I want to incorporate glcanvas into my...
  23. Thread: Debugging

    by parad0x13
    Replies
    3
    Views
    1,280

    Debugging

    I know I'm going to get shunned at by the whole of the programming community, however I've never succesfully used or relied on a debugger... yes I know shame shame!

    I would like to learn how to...
  24. Complex Source Management and Compillation

    I'm rather new to compiling and creating large projects that include many source files, header files, resource files etc... since i've only really programmed code that fits within one to two files,...
  25. Replies
    4
    Views
    1,662

    If you optimize for speed does that optimize...

    If you optimize for speed does that optimize runtime speed, or startup speed? Because I might be shooting myself in the foot and making my many calculations just a bit slower, when the program is...
Results 1 to 25 of 58
Page 1 of 3 1 2 3