General C++ Programming - May 2014 (Page 3)

what to learn to be more useful
 
What math's/field should I learn to be a more useful programmer?
[2 replies] Last: If you're going to be just doing business programs however, not much ... (by admkrk)
get two objects to update at the same time
 
Hello, I am doing a remake of the classic game: Frogger. Currently, I have the world set up, the fro...
[16 replies] Last: Loop through the objects of log reading the row and columns and compa... (by Codermik)
Running a same code with different inputs on multiple CPUs
 
Hi. I have a C++ code reading large data from an input txt file, doing some calculation on the data,...
[4 replies] Last: Most operating systems won't know to dedicate entire cores to specific... (by Computergeek01)
C++ Standard and Format Specifiers
 
Where in the ISO C++ standards are the format specifiers defined? Is there a reference to the ISO C ...
[1 reply] : Yes, ISO C++ defers to ISO C in 27.9.2[c.files], and ISO C describes t... (by Cubbi)
call by reference
 
Hi All, Can anyone tell me the difference of these 2 types of function: case1: int& abc(int a...
[4 replies] Last: Thanks for the reply. (by KennyBeginner)
Soduko Game Implementation
 
Hello buddies! I have a crazy request! I'll appreciate if you help me. I want to have some implement...
[4 replies] Last: http://zhangroup.aporc.org/images/files/Paper_3485.pdf You would be in... (by MiiNiPaa)
Access violation reading location 0xFEEEFEEE
 
I'm trying to make it possible to have a 2 dimensional linked list with syntax like with vectors: ...
[18 replies] Last: Thanks so much for sticking with me for over 5 hours MiiNiPaa . I've ... (by GaiusBaltar)
Simple code making monitor go on and off
 
This is an auto clicker I made but for some weird reason it makes my monitor go on and off. #i...
[6 replies] Last: Alright, you guys are a big help ^_^ (by hiei2071)
Hash Question??
 
Does anyone know how to approach this? Not very clear on how hashing works.. Dont have to give me t...
[2 replies] Last: Linear probing is a hashing method where at first you calculate the ha... (by Smac89)
by jakker
Switch statement without writing each case
 
Hi I was just wondering if a switch statement can work without writing each case, for instance: ...
[7 replies] Last: That makes perfectly sense, thank you. This is really helpful (by jakker)
Number parsing ideas (from FORTRAN)
 
I need to read in a lot (~225k) numbers formatted the following way: 1.2340000000000000D+03. I'd lik...
[7 replies] Last: You could just use atof() instead of sscanf(). Way safer and faster. (by MiiNiPaa)
by KTrack
need help or i'm screwed
 
Can someone please help me out here. i'v got an assignment to finish up on C++ and it just doesnt ru...
[2 replies] Last: I would hazard a guess and say the newline is being left in the strea... (by Codermik)
Turning a # symbol into an ascii symbol
 
Im programming a roguelike game using visual c++ Microsoft express 2010 and i made a multidimensiona...
[5 replies] Last: For colours, this post will help you. http://www.cplusplus.com/forum... (by Codermik)
Help With Counting Occurance with Arrays
 
I need help on counting the occurrence of a number in my program. Here's My Code: void sort(...
[3 replies] Last: void sort(int num , int& count) should be void sort(int num , int c... (by fcantoro)
Messed up files...
 
Basically, I am trying to make a personal diary in which there are three profiles: 1.Admin 2.User ...
[9 replies] Last: Okay so I made a character array for the id as well. And know this t... (by abeginner23235616)
Soundfont missing Index Generators?
 
What happens when a SoundFont (.SF2 file) has presets or instruments (linked to presets) with missin...
[no replies]
Banking Classes
 
l
[6 replies] Last: Yes. It replaces lines 22-30. 'string number' was not on list, but ba... (by keskiverto)
EMERGENCY HELP WITH SOME EXERCISES PLEASE ANYBODY WHO CAN HELP AND KNOWS THEM?
 
Question 1 Define a class Products that contains the following information: -Declaration o...
[11 replies] Last: Yeah I usually help everyone whenever I get a chance, but if anyone wa... (by closed account 2UD8vCM9)
Sorting arrays in ascending order
 
// OK this program outputs an array of numbers which are read from two .txt //files which are set1 a...
[2 replies] Last: Sweet man thanks! Appreciate it! (by mistersl56)
how do i diplay characters from array without the wrest?
 
here is my output Enter a sentence. i want the code to stop here-> i want the code to stop her...
[8 replies] Last: @EssGeEich I never said it was optimized best code... I just put it to... (by closed account z1CpDjzh)
May 2014 Pages: 12345... 31
  Archived months: [apr2014] [jun2014]

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