After days of head banging, I've fianlly managed to solve the problem. Thanks everyone for your help, I really appreciate it. Now to complete the main part of the project lol.
Thanks again.
Type: Posts; User: namespace::me
After days of head banging, I've fianlly managed to solve the problem. Thanks everyone for your help, I really appreciate it. Now to complete the main part of the project lol.
Thanks again.
I would have thought that this would keep the value of i constant. In turn, there should only be one pixel drawn. However, even though this is the only for loop in the program, it still makes the...
Sorry about the messy code. I'm just trying so much stuff, and was planning on fixing the format once it was working. Should've made it tidy before posting, so apologies there. I tried creating a...
Thanks, UMR_Student. I put the memset in the main, and it ran with no errors and I can have the background any colour I want. I noticed that if I have anything after the two FOR.....NEXT loops, they...
Thanks. I keep getting an error with the memset though. I commented it out, but the following code only works if the RGB values are all 0xFF (i.e. a plain white background) otherwise it comes up with...
Thanks for the information. I've been given a header file (54 bytes). I am supposed to create a new bitmap file, using the header file given. Then, I just need to create different shapes (like...
I've added the header file in, which I assume contains the attributes as well? I tried appending the information of the pixels (by setting fout as ios::app), but it didn't make a difference. Sorry,...
Here's what I've got so far:
#include <fstream>
#include <iostream>
#include <vector>
using namespace std;
Thanks for the reply. What would be the best way to be able to access (read and write) to each pixel? How would I go about getting a pixel, and storing it in an array?
Hi,
I'm trying to output a plain red bitmap using only the C++ stl (so I can't use windows.h and it's functions). How would I go about doing this? At the moment, I've imported a (working) bitmap...
Hi,
Has anyone here had any experience with TorqueX and XNA? At the moment I'm using XNA game studio express, but I'm confused as to what TorqueX actually does. I assume it lets you create the...
Apologies for the delayed reply, and also for posting in the wrong forum. The technician will be back on Monday or Tuesday, so I'll have a word with him. I'm using Visual Studio, but in particular,...
Hi,
I'm on uni computers at the moment and am using Visual Studio 2005 (pro ed). I'm trying to create a WinForms application. When I create a new WinForms project, all the necessary files and...
Prelude - Don't get me wrong. I'm not saying that using google or suggesting it is wrong. However, if you are to reply to someone's post, at least reply properly with ideas of what could be typed...
@Mario F - Do you not have the time, or have you turned your back on this thread because you've realised your comments were very unhelpful? I'm not sure if you've noticed, but none of your links...
Ok. I fail to see the point of a message board if google can find all. Anywho, care to suggest what I should type in? ...
Erm, thank you for your 'amusing' post. However, I think you've missed the point entirely. I'm quite familiar with google, believe it or not, and I didn't find this website by randomly typing...
Hi everyone
I'm new here. I've been learning C++ over my holidays and thought I'd start using the GUI side. I'm using the form designer in MSVC++ express edition. I followed the video tutorial on...