Beginners - July 2011 (Page 9)

MultIt function
 
The cout statements work to enter the information but the actual answer never returns. Am I missing a cout mabye. You help is so greatly appreciated. #incl...
[1 reply] : Yes, you need to have a statement to display the result of the multIt(... (by kooth)
SDL applying surfaces problem
 
the Graphics class has 2 member functions. LoadImage and ApplySurface both of which of copied from Lazy Foo' so I know they should work. Class State include...
[2 replies] Last: Yup lol (by nano511)
Operator Overloading
 
I am have problems with operator overloading and my instructor hasn't provided much help. I can get data into the array variable for the aClass object, but I...
[9 replies] Last: When you're implementing an operator as a member, you need to act on t... (by andywestken)
by codrgi
time increase
 
how would i be able in c++ to increase the time() by a day or month?
[3 replies] Last: The time() function returns the number of seconds since 00:00 hours, ... (by shacktar)
Desperate help with OpenGL?
 
Right, I've been programming C++ for a while now, but I got pretty bored with the command line interface and wanted to start learning some computer graphics. I ...
[7 replies] Last: EDIT: You do not accept them either lol. Click user cp at the topright... (by nano511)
LNK error 2005?
 
Dont even link my do that MSDN page because i was already there and i still cant figure out the problem. Im getting these erros: 1>------ Build started...
[3 replies] Last: Is Graphics a templated class? I think not, but I don't excel at read... (by webJose)
ISO C++ forbids comparison between pointer and integer
 
Hi when I try compile code from this site : http://www.cplusplus.com/articles/S8hv0pDG/ I get error here: void DeleteFromTheList(INDEX idx) { if(entry...
[3 replies] Last: It works....thx a lot (by krnacandrej)
Return statement.
 
Hey guys, I need your help on this one. I'm writing a text RPG game. Basically after creating your character you can either click 1 to play or click 2 to edit y...
[7 replies] Last: You need to revisit function syntax. Study my posting above, then loo... (by kooth)
Problem with Sprite class and SDL
 
Hi I wanna have a root class (Sprite) which I want shall hold a name and an image (SDL_Surface). But when i am creating an object of Sprite, say spaceship, t...
[11 replies] Last: You still have, what you pass to Sprite is a pointer to the SDL_Surfac... (by closed account N85iE3v7)
How to return an array
 
So i know that it has the strings library but I prefer to create my own splicer for the experience... what i have is not working for only one reason... what the...
[4 replies] Last: OMG! That fixed it! Thank you soo much! (by Watachiaieto)
What is basic_ios::clear?
 
Hello everybody. The code below tries to read data from an empty file. I catch the exception but it reads basic_ios::clear . What exactly does it mean? Than...
[1 reply] : The actual message is implementor defined, but that is an on odd mes... (by closed account z05DSL3A)
Static Variables?
 
I am sorry. I have another (archived) thread started by myself for this particular topic. I cannot continue that because it is archived. Could anyone please el...
[3 replies] Last: I forgot to mention, but I have already gone through those topics. As ... (by Zia Ur Rehman)
[Linker Error] Unresolved external '_Form1'
 
Hello! Trying to compile a program (simple as Hello,world!) on Borland C++6 builder I'm getting the following error messages: [Linker Error] Unresolved ...
[6 replies] Last: Yeah, thanks - i'll try choosing console application -see it this wor... (by Frank Duval)
std::list::empty not working as expected
 
The following snippet is intended to loop through a std::list until it finds the list to be empty. However, in my case, it is only entering the loop once and p...
[5 replies] Last: [quote=joatmon]I'm using merge [...] because I want to keep the origin... (by m4ster r0shi)
i DESPERATELY NEED some help in my CASE STUDY
 
so I'm using Borland Turbo c++ coz that is what my whole class is using... i can't seem to correctly create codes for a certain problem... >>> Using C++ pro...
[3 replies] Last: The formatting functions were not used properly. int array_mo ; i... (by Turbine)
HTTP request using C++ program
 
Hi, I'm working on a personal project which involves sending a http (Specifically POST) request using a C program. I'd like to know how to do this in C\C++. I'...
[1 reply] : Look into a networking library such as libcurl: http://curl.haxx.se/li... (by ModShop)
Guys Can you help me out on this im a new student in this class
 
create a program that will display the discount amount of the customer if he purchases greater than 10 the discount will be based on the total quantityof the pu...
[2 replies] Last: Read your slides. Read a book. ;) It looks like the first or second... (by Turbine)
Allowing a double base/exponent in pow() function
 
Hello All, I'm trying to find the n-th root of an equation using the power function. However, the n-th root that I want to find is not a nice round integer, ...
[2 replies] Last: Thanks for the quick response. I found that if I did pow((a/b),double... (by TRWells1)
Help with push_back for vector <vector <long double>>
 
I have a little bit of code that I feel should work as is, but does not. I will paste the code below, and follow it up with the specific error that the compiler...
[9 replies] Last: Okay thanks. I discovered the problem: it was overflow I think. I was... (by AchyMain)
How to download an http file?
 
I'm trying to make a program that scans a txt file line by line, then takes the data from that line and downloads a url formed from that data. what i mean is if...
[2 replies] Last: Thanks man (by Brady Dow)
July 2011 Pages: 1... 7891011... 54
  Archived months: [jun2011] [aug2011]

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