
please wait
by abdalimran
How to erase all non alphanumeric characters from a string?
|
I want to erase all non alphanumeric characters from a string. I've tried the following way using erase() function. But it erases all the characters from where ... |
Nov 25, 2014 at 10:20am
[6 replies] Last: Thank you all! :) (by abdalimran)
|
by DrJones
Create a 2d vector of pair ints
|
How would i create a 2d vector of pair of ints, and how do i iterate through the positions? |
Nov 25, 2014 at 9:45am
[8 replies] Last: class Test{ public: vector<vector<pair<int, int>>> Objects; }; v... (by keskiverto)
|
by skimmer001
random num gen
|
Why am i getting random numbers in between 100,000 and 120,000? I have all the required #includes and seeded the time to NULL. I want to get the numbers random... |
Nov 25, 2014 at 6:22am
[1 reply] : #include <iostream> #include <random> // http://en.cppreference.com/w... (by JLBorges)
|
by aj3423
question about split compiling
|
Hi, I used to like all-header style, I mean write the definition and implementation all in single .h file, I thought it's convenient. But now I got a pro... |
Nov 25, 2014 at 5:19am
[2 replies] Last: Indeed, but it's still slow.l (by aj3423)
|
by lonelylense
class with operator overloading , read and write in file
|
this is a project for my class, and I am having a lot of errors. It is supposed to be done through class and Scheduler should be able to import a list from a fi... |
Nov 25, 2014 at 5:09am
[no replies]
|
by lordzedd
Character Converter Class (1,2,3)
|
I need to create a character converter class. Here's the instructions: Create a CharConverter class that performs various operations on strings. It should ... |
Nov 25, 2014 at 4:56am
[46 replies] Last: I'm glad you have this figured out. (by swp147)
|
by speakerboy
Reading chars into an array
|
I am hoping you can give me a little insight into my programming errors. This program should compare user entered answers to the correct answers. It should th... |
Nov 25, 2014 at 4:55am
[6 replies] Last: SOLVED! Here is the correct code: #include<iostream> using namespace... (by speakerboy)
|
Undefined Reference To.... Error |
I'm not quite certain how to tackle this. The following code is part of what I'm trying to compile. I've included the prototypes.h, the .cpp file for the erro... |
Nov 25, 2014 at 4:10am
[2 replies] Last: Sonofa.... Yeah, that was the issue. I knew it was something basi... (by Blackwell7six)
|
by Extreme112
RNG Won't Initialize
|
I feel stupid right now cause I'm copying the exact code my prof posted and it won't work. It say's 'time' is not declared in the scope. Using codeblocks with... |
Nov 25, 2014 at 3:16am
[1 reply] : You need to #include <ctime> he probably can compile without it beca... (by giblit)
|
by gabrielzin
Expression arithmetic with cell
|
I need help with arithmetic expression with cell How to make a push and pop function? |
Nov 25, 2014 at 3:08am
[7 replies] Last: You may want to read up on postfix-infix and vice versa conversion. It... (by giblit)
|
the game of life |
I have 3 errors on my game of life program: 2 of the sort "a function- definition is not allowed before '{' token " 1 error expected '}' at end of input I woul... |
Nov 25, 2014 at 1:10am
[5 replies] Last: thanks man (by NickNingaba93)
|
by fourkawhell
QuickSort - Recursion Problem !!
|
In Function QuickSort.When I call recursive QuickSort, it's happen somethings wrong. #include<iostream> using namespace std; void input(int *a, in... |
Nov 25, 2014 at 12:46am
[no replies]
|
by Schwarz
Help with 2d array
|
Hi i need to create program to change posiion on 2d array's. ex.I need to change postion on a00,a01 to b00,b01. Ex. a00=1 a01=2, b00=3 b01=4, and i need to cha... |
Nov 24, 2014 at 11:39pm
[1 reply] : Anyone to help ? (by Schwarz)
|
by koko82
Recursion array is it right?
|
Hi All, I am doing an excersise with recursion having correct return codes. If it matches or not matches an array element. I have managed to do it using a glob... |
Nov 24, 2014 at 11:32pm
[1 reply] : It would be nice to have some descriptive symbolic names for your cons... (by tcs)
|
by klanier
ennumeration/namespace code
|
I am a new member, and have been taking c++ classes since January of this year. I am trying to create the program that generates a student status report from th... |
Nov 24, 2014 at 11:16pm
[4 replies] Last: I might of overdone it when changing the deriveClassLevel(...), thanks... (by klanier)
|
by JackHawk
Code compiles but input and output is incorrect
|
So my code is compiling but not inputting or outputting the way that I am looking for. My As always any and all help is very appreciated thanks so much. #i... |
Nov 24, 2014 at 10:37pm
[2 replies] Last: This is helpful for sure thank you I figured out some other problems i... (by JackHawk)
|
by koko82
Recursion perception help.
|
Just trying to learn recursion but a little bit confused got loops in my head but it looks like recursion works in a very different way. In the example jumping ... |
Nov 24, 2014 at 10:29pm
[4 replies] Last: Thanks for the help, got to the part of stack, but when I did a cout o... (by koko82)
|
by jdougherty
Problem with file input.
|
The program will open my file but there is no output to the screen. Here's the file: Mike Sullivan, 443-207-1111, 123, 0 Mary Surber, 401-682-2222, 234, ... |
Nov 24, 2014 at 10:29pm
[2 replies] Last: So how would I print it out? I think I have tried just about everythin... (by jdougherty)
|
c++ how do i create a adjacency matrix from 2 files |
i have a program to calculate the MST using prims algorithm but the only way i have it working is if the input is the actual adjacency matrix. the input we are ... |
Nov 24, 2014 at 9:47pm
[no replies]
|
by geonightmare
Geometric nightmare
|
Hello, this is driving me crazy. I am trying to make an elementary geometric calculation, the length of arc of a semicircunference, and I am not getting the M_P... |
Nov 24, 2014 at 8:19pm
[4 replies] Last: Ok, it's very embarrasing. Now I see it. Let's say x = cos (theta). ... (by geonightmare)
|