General C++ Programming - June 2013 (Page 12)

Bubble sort 2 corresponding array
 
Hi, Just wondering, how can I bubble sort 2 corresponding array? For example, I have an array of string called Items and array of float called price and th...
[3 replies] Last: std::map<float,string> will help you to get it done easily. myMap<p... (by Steep)
Game of Life Minor fixing please help
 
Hello, so I'm working on the game of life and I'm stuck at the part where you're suppose to reflect them when the cells hit either a corner or the edge of the p...
[2 replies] Last: for (int i=0; i<ROWS_MAX; i++) { TempWorld = World[ROW... (by Steep)
Please Help with this link error
 
Every thing was ok till I tried to make an edit function in my program after doing the coding I keep on getting this error which says one of my functions are re...
[5 replies] Last: Oh damn yeah there's no function for updStdDeatils I missed it with th... (by Sinux Sand)
Limits to Map Key
 
What are the requirements for the type of the key of a std::map? On this page (http://www.cplusplus.com/reference/map/map/), I noticed that the key type has ...
[2 replies] Last: Strict weak ordering means that operator< should behave in a certain... (by Peter87)
Error in deleting and renaming a file in c
 
Here is my code i wrote for storing details of my apps but i think i went nuts in logic so please help me with the program #include<stdio.h> #include<conio.h>...
[1 reply] : http://www.cplusplus.com/forum/beginner/1/#msg6680 (by kbw)
Is the book "C++ Primer Plus 6th Edition" Outdated?
 
Hi all, I am a beginner in C++ and I found this book "C++ Primer Plus 6th edition" By Stephen Prata. http://www.amazon.com/Primer-Plus-Edition-Developers-Libr...
[5 replies] Last: AH :) (by mutexe)
Please help me with this Run-Time Cjeck error
 
I've written a program in order to learn C++ but keeps giving me this error when I enter my choice. Run-Time Check Failure #3 - The variable 'stdDetailsStru...
[7 replies] Last: ajh32 Thank you very much for teaching me thank you all for the help I... (by Sinux Sand)
by Niven
Neural Network Training
 
I'm trying to learn about neural networks and AIs. So far, I think I'm understanding most everything but I am having trouble figuring out one thing. How do I te...
[3 replies] Last: Thanks for the replies. I'm going to check out those methods and see w... (by Niven)
Help:Assign value dynamically
 
Dears, I have series issue.i have array of pointers and when i tried to assign values dynamically all array items have the same value which is last value. ...
[2 replies] Last: In the first for loop the output of item from 0 to 4=item(0),item(1)... (by Eng Heba)
What are the best names for the first three prime numbers?
 
I would like to declare an enumeration with the first three prime numbers. For example enum { THE_FIRST_PRIME = 2, THE_SECOND_PRIME = 3, THE_THIRD_PRIME = 5 };...
[9 replies] Last: @andywestken I do think that all-caps is increasingly out of fashio... (by vlad from moscow)
Need help with file's reading (ifstream & fd)
 
#include <iostream> #include <fstream> #include <string> //--------------------------------------------------------------- using namespace std; //---------...
[2 replies] Last: Thank you for your help.:) The reason why the programme didn't work wa... (by Zygimantas)
Loop display problem
 
Hello. I'm working on a MUD from scratch and we're designing the world map now. The map will be a csv file. I've got the csv parsing done. I don't think there a...
[6 replies] Last: My initial hunch would make me dump the hex data in worldmap in a deb... (by cratervanawesome)
whats next?
 
Hello everyone. I'm just about finished with My bachelors of science information systems, I'm almost finished my C++ programming class. I have most of the advan...
[4 replies] Last: Thank you for the advice It really helped. (by Gkneeus)
Help Please
 
First off, I'm sorry if this is in the wrong section. If it is, I'll gladly move this post or paste it elsewhere. I'm going to graduate with a degree in Comp...
[3 replies] Last: Thanks so much for the tutorials and references. I apologize for my la... (by MastrLuigi)
C++ cross-platform script langauge
 
I use lua as C++ script for ios,android,win32 project, but lately I develop windows 8 app, the winApp can't build lua,some methods dosen't support in win 8 a...
[1 reply] : does js work? (by closed account Dy7SLyTq)
Most popular solution for creating webpages in C/C++?
 
What is the most popular solution for creating webpages using C/C++? There are options like Cgi,Fastcgi,CppCms,Wt,C Server Pages,TreeFrog.Are there any other...
[3 replies] Last: i would do it in php (by closed account Dy7SLyTq)
by abirby
problem with reading data
 
Hello, I started programing an application in order to send sms through a cell phone connected via USB port, but I get this wierd problem I can't read info, "ci...
[3 replies] Last: I have almost certainly always had trouble when swapping between old C... (by kevinkjt2000)
Loop Paradoxon
 
Hi, my problem is that I am writing a counter that counts in fractions: eg.: 0/5, 1/5, 2/5, 3/5, 4/5, 5/5 0.0, 0.2, 0.4, 0.6, 0.8, 1.0 But...
[2 replies] Last: To put it simply, never use floats in loop conditions. Use ints & find... (by TheIdeasMan)
Program for following problem
 
Integer V lies strictly between integers U and W if U < V < W or if U > V > W. A non-empty zero-indexed array A consisting of N integers is given. A pair of ind...
[3 replies] Last: @abhishekm71 -- I have implemented it...but in normal way.. So need s... (by prachib)
user input
 
I have a problem that states: age is an int variable and name is a string. What are the values of age and name after the following input statements execute. ...
[1 reply] : After cin reads 23 for age, it's still on the end of the line with the... (by LB)
June 2013 Pages: 1... 1011121314... 28
  Archived months: [may2013] [jul2013]

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