General C++ Programming - July 2013 (Page 30)

by Rikkin
Read a file and put in a array[][]
 
Hi guys, I need to do a program that reads a file, that contains something like this: 8 2 3 4 2...
[2 replies] Last: Your conversion is bad in line 39. line is not numeric type. Use atoi... (by ats15)
Just check to make sure
 
5. Mary Conrad wants a program that allows her to save each letter of the alphabet and an associated...
[4 replies] Last: As you're saving to file, I'm not sure why you're calling your file st... (by cire)
Can someone review my master program?
 
Here is the code for my master program. Please tell me what you think so I can make improvements. ...
[14 replies] Last: Any more ideas? I did post the whole code though. I am not done with i... (by Superdude)
by Niven
Glew won't initialize
 
I'm trying to make a simple opengl program. I've just started it but am already running into a probl...
[1 reply] : Just curious, if I want to make my own classes for my shaders (matrici... (by Niven)
Large Matrix Operation
 
I am having a problem on how will I create a large matrix to be solved using numerical methods. Say ...
[2 replies] Last: I do not know how to insert L1, L2 and L-infinity as an exit criterion... (by Smith010691)
OpenGL crosshair, 3rd person, and laser beam
 
Hello. I'm at the point in a game I'm developing where I am ready to implement crosshairs and laser...
[2 replies] Last: Or if you want it to get in just the general direction... you could c... (by htirwin)
by meesa
[C++] How to tell function which part of struct to use (1,2)
 
As an explanation, I'll use a very simple example. Say I have a structure defined as such: st...
[21 replies] Last: In any case I think it's quite an elegant solution to a rather inelega... (by Lachlan Easton)
SNAKE PROGRAM HOW CAN I MAKE GLOBAL VARIABLE .. PRIVATE??????
 
//******************************* //THIS IS THE HEADER FILE #include <iostream> #include <ctime> ...
[3 replies] Last: Yea, I'd be cool if you used code tags. It's even worse when the answ... (by closed account N36fSL3A)
C++ noob
 
ok so i am a complete noob to c++ and programing in general, but what i am good at is artwork. So i ...
[9 replies] Last: The problem with many first time game programmers is that they think e... (by closed account N36fSL3A)
by xismn
sin() - unexpected results?
 
Hey, I'm working on a project where I'll be writing many PCM .wav files. Each .wav file is of a sin...
[5 replies] Last: Disch is right. sin & cos will take any real value & produce a resu... (by TheIdeasMan)
Finding the Median
 
I am trying to find the median of an array in c++. Can anyone help? This is the array that I wo...
[5 replies] Last: the median is the numerical value separating the higher half of a dat... (by JLBorges)
will i keep my programs?
 
I went on Code::Blocks and it said I need to re- install it for it to work because something got mes...
[1 reply] : You shouldn't lose them; but play safe. If your programs are in a subd... (by JLBorges)
Overloading operators
 
I am reading book c++ for 21 day by jesse liberty and I didn't understand overloading operators espe...
[5 replies] Last: Thank you very much! (by Kristiano 96)
Loan related C++ help needed.
 
I was given a sample program to calculate Total Repayment. Which is as follow: #include <math.h>...
[1 reply] : http://easycalculation.com/mortgage/loan-payment-amount.php You can us... (by ats15)
maintain size of pointer in 32bit to 64 bit machine
 
I have very legacy code which migrate from 32 bit machine to 64 bit machine.During my analysis we do...
[3 replies] Last: Thanks for reply and share useful link (by agoswami)
Question about short-circuit evaluation in C++
 
Consider the following line of code. if ( a || b || c ) //other bits don't matter My question ...
[4 replies] Last: > does the compiler know in advance that there's only logical ORs in t... (by JLBorges)
I have this problem about queues. :(
 
So this is my problem. Given an array of characters of specified size, store a string into the ar...
[2 replies] Last: assuming that you are supposed to be implementing the queue, i think t... (by Jaybob66)
return matrix in function
 
Dear all, I have found a lot of solutions using Google but no solution did work. Could you please t...
[7 replies] Last: I am using Visual c++ 2008. (by HeavyRain)
Templated class inheritance
 
Hi guys, I've just created a main frame for a statistical tool in C++. Following is my code: ...
[3 replies] Last: Careful with you terminolgy: you're never going to link a .h or .cpp f... (by andywestken)
by ajh32
sockets - send HTTPS HEAD command
 
Hi, I've not really used sockets in my many years of programming, and now I'm in need of send'ing a ...
[2 replies] Last: In case anyone is interested, I have worked out how to do a socket HTT... (by ajh32)
July 2013 Pages: 1... 2829303132... 34
  Archived months: [jun2013] [aug2013]

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