General C++ Programming (Page 2)

I need some help with creating a bool function for my program
So I am kinda stuck and fuzzy on the bools I need a bool function for my program that is called from...
[1 reply] : First: The prototype void getTime (Time & time); does not match th... (by coder777)
long long hex into long long array
I need help, I have a long long variable in hex. I want to convert them into a long long array so th...
[4 replies] Last: Thanks for the information it helps me solve my problem :) (by eleazer215)
Pathing algorithm conundrum
Hello I have been studying pathing algorithms suchs as A * and Dijkstra's, and for the most part ...
[4 replies] Last: If the AI is dealing with unknown map area, then what is "reasonable t... (by DarkLightHitomi)
template with method depending on type
Dear all, Thank you for taking the time to read this. Here is my question: Let say I create temp...
[2 replies] Last: Great, thank you golden chicken (by Tontonbaboum)
by Borneq
Simple kernels and virtualizers
I am searching simple, educative nano kernels and simple virtualizers.For example, kernel can be htt...
[2 replies] Last: Thanks, osdev it is good place. (by Borneq)
C++ program
I am trying to make a piece of code that calculates the actual size of a hard drive storage for exam...
[10 replies] Last: As has been pointed, there is GB vs GiB, which is constant, but there ... (by DarkLightHitomi)
please help with this?
This program will calculate the gain or loss for stock that you have purchased and later sold. Wr...
[2 replies] Last: I haven't bought the book and this is due tonight Do you simply hate... (by Enoizat)
Question about value of inlining functions or not.
A function call has a cost, but separating things out into functions is useful for breaking up the c...
[11 replies] Last: Thanks for the replies. Plenty to consider here. (by DarkLightHitomi)
AI Pathfinding method
I am building a general AI for controlling a unit in a simulated environment, like a game (and will ...
[5 replies] Last: The idea is that as the AI learns new routes, it can apply traits to t... (by DarkLightHitomi)
Sales tax programming help?!
Write a C++ program that will compute the total sales tax on a $95 purchase. Assume the state sales ...
[2 replies] Last: For a simple program like this you can follow the IPO principle ( inpu... (by Thomas1965)
string header
I'm able to use all the string functionality in my program even though I have not declared #include ...
[2 replies] Last: > 'm able to use all the string functionality in my program even thoug... (by JLBorges)
Need Help
You are to write a program which will ask the user for number of students (dynamic array of class St...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
help with multiple defined symbols found
int main }
[4 replies] Last: oc (by Andrewcen16)
Which way is better? inheritance or member?
Which way is better? So, for example, let's say we have a game engine class through which you can ad...
[4 replies] Last: Thanks!!!! (by Putarda)
How to exit the program and and continue
include<iostream> using namespace std; int main() { float weight, height, bmi; cout<<"Enter weight...
[3 replies] Last: Thanks. Understood how to do it.I will take care of that gaps. Actuall... (by abcdef123)
Running a simple C++ program combined with a web interface
Dear All, I have some C++ code I would like to run on a web server. The C++ code itself is attach...
[1 reply] : Normally you would create a website in html with the input form. Once ... (by Thomas1965)
No clue how to start?
So i just transferred into a computer science and im like two weeks behind. I have no clue how to ev...
[5 replies] Last: jonnin, I stand corrected. (by Enoizat)
Hi guys , i have a question . Example : i declared 2 int variables . It is possible to find which is...
[2 replies] Last: (by Thomas1965)
SDL Snake Clone has troubles rendering the snake
Hi everyone! I rencently discovered the SDL library, and when I tought I was ready for it, I starte...
[2 replies] Last: That makes sense, thanks alot (by goldenchicken)
Create a file list (platform-independent way?)
Hi guys, although this questions has been asked many times, I haven't found a working solution fo...
[3 replies] Last: @Duthomhas Thank you very much for your solution with the recursion. B... (by olfibits)
Pages: 1234... 16
  Archived months: [jul2017]

Cannot post in this page. To post a new message, go to the first page.