General C++ Programming - July 2009 (Page 2)

assistance with final assignment
 
okay, i wouldnt be asking for help if i didnt need. im completely stuck and have no idea HOW to fix...
[1 reply] : You can use string::find ( http://www.cplusplus.com/reference/string/s... (by Bazzy)
Returning an array of pointers.
 
Hopeing someone can help with how to return an array of pointers to structures. But the real trick ...
[6 replies] Last: How would I fill M with data after create_matrix? //prototype Doub... (by smhillis)
textures gone wrong
 
i have this 3d game im working on and the walls of this room are bricks. everything is fine, however...
[3 replies] Last: I found this: http://www.cpp-home.com/tutorials/36_1.htm You could Go... (by helios)
Raising to power returns zero
 
I'm trying to find the maximum number of combinations for a given character set and string length us...
[1 reply] : GMP. You could also staple two long longs together and do the expon... (by helios)
Using a Matrix to Draw a Texture.
 
Alright so I'm confusing myself with Matrices at the moment and I'm not to sure if what I'm doing is...
[2 replies] Last: Lol, sadly I've been trying. (by Mythios)
Make a Download Program
 
Hello, I'm learning C++ and i like very much to develop file i/o aplications, and i want to know ...
[2 replies] Last: Hello Helios, Thanks for the link about this library called curl , ... (by nathanpc)
by reddog
cant overwrite file
 
instead of printing to screen how can i overwrite my original file #include <iostream> #incl...
[2 replies] Last: ifstream does delete the contents of the file, unless the "app" flag i... (by mrHappyPants)
i do not get planes
 
i have been trying to make collision detection in a game i have been making. and the only way i have...
[2 replies] Last: ok thanks. i will try to learn those topics to the best of my ability. (by poonninja)
macro parameter issues
 
lets say you have the form: MY_MACRO(TemplateClass<x,y>) the prepocessor sees the comma and thin...
[6 replies] Last: thanks (by joe3dge)
Class Fraction...code needed
 
Class Fraction You are asked to develop a relatively complete mathematical module on fractions. ...
[1 reply] : You are asked to develop the habit of finishing courseworks on your ow... (by wmheric)
problems in class
 
The questions are: 1. Define the class with its methods. a. The default constructor. b. The...
[5 replies] Last: @Zhuge : I'm sorry.. it's not that i'm not intended to do it by myself... (by sue elle)
reStructure of code; include 2 void functions
 
does anyone have any advice? i created a program and it works fine. my teacher, however, is aski...
[2 replies] Last: You are quite on track in logically splitting the functions. Get the... (by mraman)
doesnt calculate what i want
 
after a lot of fussing, my code finally compiles properly. but once again, its not calculating t...
[1 reply] : The code you are using to make your list (lines 38/39), don't look cor... (by firedraco)
game making troubles
 
i am making a game with opengl. its not actual a game. my idea is to just have a court yard and the ...
[17 replies] Last: i noticed that after i posted it. i feel really stupid right now. lol (by poonninja)
virtual key codes
 
is there different key codes for vista. i have a program that i need to be able to push the up butto...
[no replies]
wont calculate # scores above average
 
ok. im pretty much done with this small program my teacher asked us to write. my problem is: ...
[3 replies] Last: Actually, you're declaring average twice... (lines 53 and 62) For y... (by mrHappyPants)
by wtf
What exactly is lstdc++?
 
I need it to sucessfully compile a program cause i'm getting error messages 'cannot find -lstdc++', ...
[1 reply] : the c++ runtime library (by jsmith)
strtok_s use
 
Hey there, I've been lurking for a while, and have gained a lot of knowledge...big thanks to everyo...
[1 reply] : AIEEEEEEEEEEEEEEEEEEEE No! Never, ever, modify the buffer returned ... (by jsmith)
Am I reading file and using map container correctly?
 
int BuildUserPass(std::map<std::wstring, std::wstring>& userpass) { wchar_t tempuser , temppass ...
[7 replies] Last: Thanks both of you. I really appreciate your time and advice =D (by mackabee)
by wtf
How soon into someone's training/career should one learn ASM?
 
Given that it is a very efficient language and requires a fairly broad range of knowledge (more than...
[7 replies] Last: This is quite a nice book to start learning assembly, even though a li... (by jmc)
July 2009 Pages: 1234... 14
  Archived months: [jun2009] [aug2009]

This is an archived page. To post a new message, go to the current page.