General C++ Programming - December 2014 (Page 17)

by dkaip
regex problem
 
Hello,when compile code i have problem compiler say's ... srd::regex_error aborted(core dumped) any idea why????????? Also regex_replace dont recognize ... ...
[13 replies] Last: std::wregex integer( L"\\s[0-9]+\\s" ); // whitespace, one or more de... (by JLBorges)
I'm looking for a piece of code that can...
 
I'm looking for a piece of code that can do this: getline('\n',myfile,string,' '); I want it to read the file, drop down a line, put the word in a string, a...
[1 reply] : Pretty vague request there. . .is this a function call? If so, what i... (by PCrumley48)
user controlled nested loop
 
I'm having a bit of trouble with this assignment. Basically I'm supposed to create a program that lets the user decide how many days they studied for programmin...
[3 replies] Last: total2 = 0; for( day ; day<=daysWorked; day++) { ... (by wildblue)
Good GUI Porgrams?
 
I am looking for a good program to make a GUI program, but I do not know which ones are any good. I have tried Visual C++ and Qt, but I could not figure out how...
[8 replies] Last: I have seen those tutorials before, and I have them downloaded on my... (by tmason)
Any tips?
 
So I posted before asking for help about displaying my results but never got a reply. Anyway, I figured it out, I guess that what I want to know now is if there...
[no replies]
by Felzor
Exam Grader output problem
 
Hello, I'm working on a homework assignment, so far this is what i have: The output I get for student 1 is supposed to be for student 2. What I get for ...
[1 reply] : Please edit your post and make sure your code is [co de]between code ... (by LB)
help finding area and perimeter of given coordinates
 
below is what i have so far. My main issue is outputting the area and perimeter of the given coordinates as i need the final coordinate to connect up to the fir...
[3 replies] Last: If they have the max number of corners (10), the code is going to go o... (by wildblue)
need help with my homework
 
hi guys here is the homework 3. Write a program that inputs a string and then converts each 1st letter of a word in the string into capital case. An example r...
[1 reply] : What have you written so far? By the way, unless the assignment or yo... (by LB)
Returning a pointer to 2-D array from a function.
 
I know how to pass a 2-D array to a function. The prototype for that is void f(int (*p) ) assuming the array is of integers and there are 2 columns in it. ...
[2 replies] Last: Here is an example code using a function that returns a pointer to a 2... (by tanezavm)
Highest Level Of Game Development In C++
 
Hello , i am sure that many of you know games like Far Cry 4 or The Newest Assasin Creed well these games are really good and their graphic is incredible and in...
[2 replies] Last: Probably DirectX. Probably custom library wrapping DirectX calls, th... (by MiiNiPaa)
by halld3
Calculate Time
 
I am finishing up a program that calculates time but there is something about my code that isn't running right. I want the user to input several times and then ...
[3 replies] Last: Your time class shouldn't know anything about the user and certainly s... (by LB)
c++ program needs small addition
 
so im done with my program but i have small problem this is my program #include "stdafx.h" #include "iostream" #include "string" using namespace std; i...
[2 replies] Last: This is a duplicate post I think...anyway Try to use this and if thi... (by tanezavm)
help with a program
 
we need a program that takes three names ( first middle last ) and print it each one at a different line... URGENTT
[5 replies] Last: Try to use this and if this works, try to understand or ask questions... (by tanezavm)
Data Structure for Predicate in STRIPS Planning System
 
I have a school project in which I'm to implement a STRIPS planning system for a "Blocks World". I'm sure many here are familiar with this, but essentially, you...
[no replies]
I need help with some calculations for and if else statement
 
I have this program and i need to put in different calculations for it // if else statement for the locations if(location >= 100 && location <= 199) { ...
[2 replies] Last: A couple of other things from the code - the comma operator doesn't wo... (by wildblue)
Having trouble with if else statement
 
Im having trouble with an if else statement I have a documentation and it says this: Locations 100-199 get paid $10.00 per hour with time and a half for any h...
[4 replies] Last: I think you should understand what is asked to calculate. We can give ... (by tanezavm)
program not returning to choice(after enter the wrong number)
 
program not returning to choice(after enter the wrong number) #include<iostream.h> #include<stdlib.h> #include<time.h> main() { int beginner, int...
[no replies]
Method passes values to a vector, but the vector stays empty?
 
Hi, I have two classes, one class requests another class to populate a vector with some data using getAvailableStreams() method: vector<AutoRefPtr<Mani...
[6 replies] Last: Oh sorry I misread your message. Thanks, I'll try this. (by monday to friday)
define a function with multiple types
 
hello, I have a function, int teleport_to_game(int,float,float); in my class. My question is should I change the int to define a function to a different ty...
[2 replies] Last: Every function is defined by it's name and types of arguments. So you ... (by Konstantin2)
help in my program
 
i need a program that user gives his name middle name and family name ( composed or single to print them ) i want it to be done as strings and arrays . my code ...
[1 reply] : I know that this thread was created before the other, but please don't... (by LB)
December 2014 Pages: 1... 1516171819... 31
  Archived months: [nov2014] [jan2015]

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