General C++ Programming - October 2012 (Page 41)

c++ a program
 
can someone give me an idea of where to start from or what to do in this coursewor, don't get me wr...
[1 reply] : Break the problem up into smaller pieces (and where convenient use a f... (by buffbill)
Linked List memory leak
 
So, I'm implementing mergesort using Nodes and Linked Lists. Running my program through valgrind, al...
[1 reply] : I don't see any leaks here. Perhaps it's in the code that is calling ... (by Disch)
Trying to use class files, getting "undefined reference to `WinMain@16'" error
 
I am building an application that calculates travel time necessary to reach a user selected destinat...
[2 replies] Last: I see, thanks for the advice. (by TheNotoriousWMB)
Function (How Can You Put a Predefined Power function in a function)
 
What I am trying to do with this function is determine the calories required for the Basal Metabolic...
[5 replies] Last: I figured it out! thanks anyways! (by insane24illusions)
Rounding up to the .5
 
Looking to write a program that rounds up to the .5, not by .5 or to the whole number. eg- 3.4 = ...
[2 replies] Last: Maybe this would do it. N<(floor(N)+ceil(N))/2 ? (floor(N)+ceil(N))... (by buffbill)
I need some help with this array!
 
I finally got this array set up but I need help modifying it to display the location (row & column) ...
[2 replies] Last: Your data resides in array Values , but you say you are passing array... (by buffbill)
Function for this
 
I have a basic program where you choose a number 0-9 and depending on what you choose you win money....
[3 replies] Last: you're absolutely right, buffbill. Modified original post to correct ... (by Disch)
Linked List
 
...
[no replies]
Problem drawing tiles in platform game
 
Hello, Im making a platform game for the learning experience, and im having a problem. The til...
[9 replies] Last: No, but i did find the answer! The problem wasnt that the tiles were b... (by nano511)
c++ stacks converting decimal to hexadecimal
 
Okay so all I need help with is the part where the remainder is 10-15 it outputs the number not the ...
[no replies]
C++ Classes + Structs
 
Hi everyone, I'm working on an assignment for school and I'm having some troubles on where / how ...
[1 reply] : You will have to store the airplanes in an 'airplane' array, and the f... (by TheJJJunk)
Easy Question! (2 seconds) :)
 
int BMR(int persons_weight); { return(70 * ( persons_weight /static_cast<double> 2.2) ); } ...
[4 replies] Last: ok Will Do. Thanks (by insane24illusions)
Output Error from trying to read in words from a file. What's wrong?
 
So my text file says this: I love you all day and all night forever and ever. In my code listed...
[8 replies] Last: I'd be happy to explain anything I post that you don't understand, how... (by cire)
by tmdm7
int and char being converted to ascii why??
 
For some reason when I store a char and an int into my struct it's storing the ascii value into the ...
[2 replies] Last: I see. A stupid mistake on my part that I should have seen. Thanks I... (by tmdm7)
Function not Outputting Correctly.Need opinion. plz.
 
Program not outputting right Not sure why. Function outputs nan when it is supposed to be a number...
[5 replies] Last: lol ok Thank For Your Help. I think I figured it out. :) (by insane24illusions)
Need help.
 
Hello everyone, so i just finished reading "Beginning c++ through game programming" - Author: Mikel ...
[no replies]
New to C++ on MAC
 
Okay, I've used C++ on Windows, but never on MAC. now I'm using a Old Tiger Computer, and i have Xc...
[15 replies] Last: Good Bye (by closed account L3bkoG1T)
Simple 2 second question.
 
How would I write 6.673*10^-8 in code? It is a gravitational constant in one of my programs.. I h...
[3 replies] Last: Wow thanks you so much. References really help! I bookmarked them lol ... (by insane24illusions)
Monitoring a port in Windows and logging the traffic into a file
 
Hello, I have a little knowledge in c++ programming. Now I am in need of creating a program/servi...
[1 reply] : There are many utilities already available, Wireshark is one such soft... (by srikanthk)
by pyfgcr
Use unsigned int range as bitset parameter
 
Hi everyone. I want to know how to use a very large number of bitset. A short version of my program...
[7 replies] Last: Ok true, the problem is unsigned int is 2^32 - 1. Thanks everyone for ... (by pyfgcr)
October 2012 Pages: 1... 3940414243... 50
  Archived months: [sep2012] [nov2012]

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