
please wait
My Wildcard Anagram Finder Has a Few Bugs |
There is an error with my code, but I am not sure how to fix it. I am suppose to create a program that will check if the inputs given are anagrams, meaning that... |
Jan 12, 2017 at 9:55pm
[3 replies] Last: #include <iostream> #include <string> #include <cstring> #include <al... (by lastchance)
|
by stat1c
Print concepts that have no spaces in them
|
I have an assignment to read from a file and to print only the names that have no spaces in them. This is my text file: Arkansas California Colorado Connect... |
Jan 12, 2017 at 6:40pm
[4 replies] Last: The difference between "with" and "without" could be just a single cha... (by Chervil)
|
by Arui
Problem with sorting struct
|
So my program is working until it get to sorting part and then it crash. #include <iostream> #include <algorithm> #include <string> #include <c... |
Jan 12, 2017 at 5:56pm
[7 replies] Last: Something like this will probably do: // sort by x, then by y bool so... (by dhayden)
|
by DesmondLee
Deduce output.
|
Can anyone explain to me how to get this output? :D #include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { int p,q,r; f... |
Jan 12, 2017 at 1:09pm
[2 replies] Last: @integralfx Thank for the reply once again. okay I got it. Thanks a lo... (by DesmondLee)
|
by clustercpp
accessing private variables
|
If I have 2 classes, person and hair for example, is it possible for person to access the protected pointer variable color_ ? and what would that code syntax lo... |
Jan 12, 2017 at 12:32pm
[3 replies] Last: Why Hair should only be a different class and not also an attribute of... (by gunnerfunner)
|
by zhiqiang1993
Input and output of files with calculation
|
Im trying to read a file, calculate some value in the file, and output in a new file. I couldn't get it to show the first line(Miller Andrew). Need some guidanc... |
Jan 12, 2017 at 10:02am
[3 replies] Last: But would also like to know why my getline would not work. This lin... (by Chervil)
|
by MackieJ
Unhandled exception at 0x010B3FF0 ???
|
Whenever I run my code I get this error "Unhandled exception at 0x010B3FF0 in Assignment 2 of 2 ASCII.exe: 0xC0000005: Access violation writing location 0x00000... |
Jan 12, 2017 at 9:32am
[19 replies] Last: although I still haven't gotten my ball to work What does that mean?... (by coder777)
|
by shree081502
Palindrome with phrases
|
For some reason my program only works if enter phrases. when i put in a single word, it terminates #include <iostream> #include<string> using namesp... |
Jan 12, 2017 at 9:25am
[3 replies] Last: (Deliberately) ignores upper/lower case and any blanks, punctuation et... (by lastchance)
|
by stat1c
Print concepts that have spaces in them
|
I have an assignment to read from a file and to print only the names that have spaces in them. This is my text file: Arkansas California Colorado Connecticu... |
Jan 12, 2017 at 7:47am
[4 replies] Last: Thank you both so much! These worked perfectly I really appreciate the... (by stat1c)
|
by DesmondLee
Deduce output
|
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { int num=8; while(num>=0) { if(num % 5 ==0) { num++; continue;... |
Jan 12, 2017 at 7:05am
[2 replies] Last: @AbstractionAnon Thanks for the reply. Thanks a lot :D (by DesmondLee)
|
by sancr963
I am very new to C++
|
I believe this is totally different from C#, I was enjoying taking C# C++ is another animal entirely, but I want to learn it so can someone help me answer / und... |
Jan 12, 2017 at 5:22am
[2 replies] Last: > why text isn't a simple variable datatype. Text (a sequence of char... (by JLBorges)
|
by tatai
Joining data from two files
|
I am trying to join two files based on the DSL score. I am using the following code, but it si not working int DSL_1 , sl , NCT , state , RU ; int DSL... |
Jan 12, 2017 at 5:13am
[2 replies] Last: the output is dumping some error data, sometime it is following only o... (by tatai)
|
by originator01
3-dimensional arrays
|
can you help me with 3-dimensional arrays int i any help would be hot major ways to use them |
Jan 12, 2017 at 3:08am
[3 replies] Last: for integer arrays of multiple dimensional arrays (by originator01)
|
by stat1c
Numbering concepts into a list
|
I've gotten my text file to read alphabetically in the output window and am now trying to list them into a numbered list. Like so: 1.Alabama 2.Alaska I have lo... |
Jan 12, 2017 at 2:39am
[2 replies] Last: I just changed it and it worked perfectly! Thank you so much for your... (by stat1c)
|
by stat1c
Grades calculator trouble
|
I have an assignment where I need to write a grades calculator for two tests, the tests average for each student, as well as the letter grade. What should I a... |
Jan 12, 2017 at 2:01am
[4 replies] Last: I tried to work on it some more and it does build but now will not sta... (by stat1c)
|
by crb8v2
Allowing user to choose number of variables.
|
Trying to keep the brain active between semesters and am writing a program that rates girls. I am having trouble finding a way for the user to choose how many g... |
Jan 11, 2017 at 9:52pm
[10 replies] Last: Appreciate it guys. (by crb8v2)
|
by Fajsdie
Get pointers instead of numbers
|
I am writing a code for this http://www.programmr.com/challenges/matrix-multiplication-0 programmr challange and can't find the error in my code. I soppose the ... |
Jan 11, 2017 at 6:29pm
[6 replies] Last: There is no compiler error It doesn't give an error, since the code ... (by Chervil)
|
by alx119
Passing an array to a constructor
|
Hi, I have my code here: // #include "stdafx.h" #include <iostream> #include <string> using namespace std; class Author { private: string aut_name; s... |
Jan 11, 2017 at 6:08pm
[10 replies] Last: I don't know why I thought that on that site I had to use inheritance,... (by alx119)
|
by imohamme5
Accessing my class from a queue
|
Hi guys the question I am attempting is The elements stored in a Queue object can be of any type, including other objects. Write an application to simulate a ... |
Jan 11, 2017 at 4:35pm
[8 replies] Last: Cheers, (by imohamme5)
|
by ggk1298
Structure required on left side of . or *
|
Structure required on left side of . or * #include<iostream.h> #include<conio.h> #include<stdlib.h> class box { float length,breadth,height; pub... |
Jan 11, 2017 at 4:23pm
[3 replies] Last: Please use indentation and think about the logic of the main while loo... (by lastchance)
|