General C++ Programming (Page 80)

Question about test scores program w/ pointers
 
Hello all, I have created a program that allows for a user-defined number of test scores as input...
[2 replies] Last: Yes, but how do I create a function that can determine exactly how man... (by closed account 3UMLy60M)
How do I overload variables in derived classes?
 
Is it possible to overload a variable in a derived class? Example: struct Circle { int rad...
[7 replies] Last: @benbalach Everything works! How does the line of code above work exa... (by vlad from moscow)
self object
 
Can a C++ class have an object of self type?
[11 replies] Last: Simulate a null reference via an exemplar. #include <iostream> #incl... (by JLBorges)
by SeBeQ
Free() problem, app crash
 
Hi everyone! I get problem with code from tutorial NeHe OpenGL int LoadGLTextures() { ...
[2 replies] Last: Thanks for reply I will choose another library with different functio... (by SeBeQ)
How many times do you usually need to compile?
 
In a scenario where you wanted your program to work on almost any PC with an OS no older than Window...
[4 replies] Last: for as long as my compiler doesn't give me errors. For easy errors to ... (by DeXecipher)
Basic Program to take an integer and returns 0 and 1s of that digit.
 
Create a Program That will take an integer and return a certain amount of 1 and 0's depending on the...
[no replies]
by jh79
Saving and Recovering a file named by an user-entered parameter
 
I'm currently using C++. Need help in the following, 1. How can I save a text file using a param...
[1 reply] : 1. Use cout (http://www.cplusplus.com/reference/iostream/) to get u... (by tcs)
by MM45MM
creating a generator assistance-PLEASE
 
I need some assistance, creating a generator that would create binary com files. I have the simple ...
[no replies]
Compiler stops working? :S
 
I have this code, and basically what I have to do is take the info from two archives to some arrays ...
[8 replies] Last: Added variable cont2 for the second array. Still, I don't think that's... (by StarCharm)
by seiji9
one dimensional array
 
Is it possible to prompt information from user then display the result in a one dimensional array fo...
[7 replies] Last: @MiiNiiPaa "cin >> gross ; err... shouldn't it be cin >> gross ;" wait... (by seiji9)
by hvigil
How to start counting time ?
 
Hey , I want to know if there is a function or library that starts counting time when the program st...
[2 replies] Last: #include <iostream> #include <chrono> // C++11 int main() { usin... (by JLBorges)
Calling functions of class and outside with same name!
 
Hey friends... Long time didnt use forum... But now i got a fairly interesting thing to get solved. ...
[7 replies] Last: I realize your example may be for demonstration purposes only, but ple... (by xismn)
Connecting rooms in grid map
 
I have a map that is full of 4+ rooms each with one randomly selected door on one of its sides. I n...
[8 replies] Last: Thanks so much for your help Disch. This is about what most my maps lo... (by orourkeh)
C++ counting arrays output help?
 
Hi, I was wonding if anyone could please help me with my programming. I got most of my programming d...
[1 reply] : This code is already invalid i= 0; while(i < n-1){ Let assume that n... (by vlad from moscow)
C++ arrays in function
 
Write a function named "sum" that takes as its arguments the following: (1) an array of floating po...
[2 replies] Last: It is not a question on programming. It is a question on arithmetic. D... (by vlad from moscow)
Memory alignment
 
I need to understand memory alignment thingy, to be able to use SSE instructions which needs data to...
[9 replies] Last: [quote=morando]" I think its better for me to use alignment on AABB on... (by Framework)
How do I add elements to an array?
 
I've a file that looks like this: 84484-37.96-Castor, Kathy 39050-69.68-Chandler, Ben 26183-70....
[4 replies] Last: @Smac89 your code is incorrect. -extend_arr's return type should be a ... (by L B)
How to have the console recognize every word?
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int x; string ...
[1 reply] : Chervil already answered this question in your other post here: http:... (by Disch)
by dima93
What are the basics of pointers (*) and (&)addresses ?
 
I cant understand the concept of the ( & ) and ( * ) symbols in C++, what is the difference betw...
[4 replies] Last: [quote=DANNY123]I think int & n2 = n; means that n is represented by ... (by L B)
Adding UI
 
Any tutorials on adding a UI to a console application? Any and all useful help is welcomed. All I re...
[1 reply] : http://wiki.tcl.tk/1304 (by ne555)
Pages: 1... 7879808182... 91
  Archived months: [mar2013]

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