- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 12
- Posts with Upvotes
- 12
- Upvoting Members
- 9
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
student
- Interests
- C++, video games, Latin
Re: Hi, I need help playing a sound in Visual C++ 2008. (Windows Forms App). I've tried many things searching on google, I used this method: [CODE]PlaySound("beep.wav", 0, SND_LOOP|SND_ASYNC);[/CODE] Then I get the error, "'PlaySoundW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR''. Can anyone help me play … | |
Re: Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and … | |
Re: :$ Hi every one! I'm new here, just finished my registration! I know a little of c++ and I'm starting a project for a game of the new generation of games... like Gears of Wars or Bioshock but I'm feeling a little lost! And I wanted to ask [B]what is … | |
Re: hhey sir i need some information about his topic urgently | |
Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user … | |
Re: hey whatzzzup guys??? i just want to know if this c++ programming language is hard co'z my clasmates are keep on complaining abort that hehe | |
Re: There's a simple question? how to print the size of a variable without using functions like sizeof() ? for example if you were asked to write a program that prints size of int without using sizeof() with a resault as below: cout<<sizeof(int); | |
| Re: I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example [CODE] [COLOR=Red]var1 = 23;[/COLOR] [COLOR=Blue]// assigning 23 to var1[/COLOR] [COLOR=Red]var2 = var1; [/COLOR] [COLOR=Blue]// assigning the value of var1 to var2[/COLOR] [COLOR=Red]var3 = &var1;[/COLOR] … |
Hey, Right now I'm using XP, and I was thinking of getting a laptop. Now, I've heard a lot of bad stuff about Vista, but most of the things I heard are "It sucks." Or "don't get it" or "it's extremely slow". Now, except for the last one those are … | |
I've been trying to code a catch me game (for anyone who doesn't know: a game with a ball that randomly jumps around the screen - the goal is to click the ball before it moves, and not to miss it). I've got the clicks part down. You can click … | |
Re: I 'm making a game in C++ and I need some help, I want to display a bmp image. I want to read a a bmp file and save the color ids in a matrix. Could you please help me. :) | |
On a laptop running Windows XP, I can't seem to view webpages or actually connect to any server. Going to pages in IE or firefox give me unable to connect/cannot display errors. Trying to ftp to a server through windows explorer or filezilla gives me simmilar errors. Everything I do … | |
Hey, I download DarkGDK for Visual C++ 2008 Express (also downloading the correct version of the Direct X SDK). I just saved the SDK in some random directory, so when I try to execute the test code, i get an error telling me d3dx9.h can't be found. So, where do … | |
I have a child of std::exception defined as: [CODE=c++] struct image_load_failed : public std::exception { image_load_failed(std::string const s) : message(s) {} virtual ~image_load_failed() throw() {} const char* what() const throw() { return "image load failed";//message.c_str(); } std::string const message; }; [/CODE] (I would normally have what() return message.c_str(), but I've … | |
Re: Hi all, ok i have just started learning C++ today and i have download "Visual C++ 2008 Express Edition" and i am trying to make the "Hello World" program. I clicked on "Create Project" and then "Win32 Console Application" and then typed in the name "Hello World" then i right … | |
I'm trying to load a bitmap into an Image object using the following code: [CODE=Java] System.out.println("Point A"); System.out.println("Point B"); m_image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(filename)); System.out.println("Point C"); MediaTracker mt = new MediaTracker(null); System.out.println("Point D"); mt.addImage(m_image, 0); System.out.println("Point E"); try { System.out.println("Point F"); mt.waitForID(0); System.out.println("Point G"); } catch (InterruptedException ie) { System.err.println(ie); System.exit(1); } … | |
Re: Hi, Naina Gill Welcomes you in this thread. Here all experts and newbies are invited. It would be kind of experts that they extract out little time our of their busy schedule and guide those people who want to do something in games programming world. So disciples get ready for … | |
Does anyone actually use the .hpp file extension for C++ header files? I've never seen it used, but I was just working with geany, and I noticed that it only syntax highlights C++ specific things if the file extension is .hpp (or .cpp, obviously, but not .h). So what's the … | |
Hey, I just recently ran into a problem compiling a C++ project (no, I didnt mean to put this in the C++ forum). I got an error saying that a certain header file couldn't be opened (I had compiled with the same file before). I looked up the error and … | |
Re: i have a problem creating games with C++, if anyone has a source code in C++, please share with me, i need help, simple game is okay e.g: snake, arkanoid i just need a source code for a simple game, without open GL or something like that (because i can't … | |
I'm trying to upload .js files onto my sever. This is the code: [CODE]<html> <head> <title>Add Ubiquity Command</title> </head> <body> <form action="add_ubiquity_cmd.php" method="post" enctype="multipart/form-data"> Name: <input type="text" name="name" /><br /> Description: <textarea rows="8" cols="30" name="description"></textarea><br /> JS File: <input type="file" name="file"><br /> <input type="submit" value="Add Command" /><br/> </form> <?php if(isset($_POST["name"])) … | |
Does mysql_real_escape_string() escape HTML character entities? I want people on my comment board to be able to post quotes in their comments, but they get escaped as raw ascii, so I run them through htmlentities() first, but it doesn't help. I only get it to work when I remove mysql_real_escape_string(), … | |
Hey, Are any of the brands of memory considerably better than any of the others? Should I worry about that, or should I worry more about the actual memory I'm getting. thanks. | |
Hey, I'm a first-time builder, and I just have some questions about what components to get. 1. How many watts do I need for my power supply? I know there are calculators for that online, but I'd rather get a rough estimate from a human. I'm getting an Intel Core … | |
Hey. I've never worked in industry, and I was just curious as to how exactly things work in the real world (as a C++ programmer). To be a bit more specific, what kind of things do you do in a day? If you're working on a program, how many people … | |
Re: Those of you running vista know what I'm talking about. Mine is currently 3.6 but that is because my video card doesn't have drivers, I expect it to goto at least 5.6 once I get those installed (as that is the next lowest number on the page) :cheesy: | |
Re: Hello all, I'm new here, and not a programmer but obviously have an interest in computers/technology, blah, blah, blah. I was curious to know if there's anything out there about cross console gaming. For example a user playing a game on a Mac being able to play someone else on … | |
Hey I'm writing a color class, and I want to have a constructor that can take in an unsigned int like 0x00FF00FF and interpret it as fully opaque green. I have code for that (I think it should work, could someone check it?): [CODE] rzb::color::color(unsigned int hex) { m_red = … | |
Hey. I'm planning on buying a desktop, but I'm a little confused as to the difference between 32-bit Vista and 64-bit Vista, and exactly what those differences entail. Now, I think the technical difference is the size of the memory bus. Well, if I'm right, I'm not exactly sure what … | |
Hey, I've been trying to create an RPG, and I really have trouble moving with it. I really can't find any decent tutorials (or even books). The only book I've heard of (Making RPGs with DirectX, or something, by Jim Adams) got pretty bad reviews. The part I can't really … |