
please wait
by litusahoo
sorting descending in a map of map
|
hi i have a map in the below map of map, with sorting in descending, but the mMap1.insert(pair<string,map<string,string>>("SC-20", m1)) is showing error. ... |
Sep 12, 2019 at 11:59am
[2 replies] Last: Hi Thank you very much, i am such a dumb. (by litusahoo)
|
by Bopaki
I am getting an error in the function empty()
|
I am not sure as to why I get an error in line 36 because it is defined like that in the book? Compiler: Default compiler Executing g++.exe... g++.... |
Sep 12, 2019 at 11:00am
[2 replies] Last: Your linkedList class doesn't (at the moment) have a member called fi... (by lastchance)
|
by Bopaki
My list does not print out the info
|
Here is my list program: #include<iostream> #include<list> using namespace std; struct nodeType { int info; nodeType *link; }; cla... |
Sep 12, 2019 at 8:27am
[6 replies] Last: Thanks lastchance I corrected those errors, and now my program runs fi... (by Bopaki)
|
by CodeNovice01
Assistance writing to a file and removing zeros
|
Hello all, I have this code I've been working on today and I'm stuck. I'm asking for help with, how to write this code to a file while using the 6 inputs I have... |
Sep 12, 2019 at 4:15am
[7 replies] Last: int num_twenties; // <-- the semi-colon should NOT be here! {... (by deleted account xyzzy)
|
C++ HW Error |
Almost done with my a program I have to do. The only thing stopping me is one error. It says: Use of undeclared identifier "insertlist" It is in my readem fu... |
Sep 12, 2019 at 3:58am
[1 reply] : Declare insertlist before you try to use it. And pay attention to t... (by JLBorges)
|
by mivasquez386
Need help with HW for my C++ class.
|
I ran into a wall and want to see what I'm doing wrong. I'm trying to do the last part and find the number with the largest amount of divisors. #in... |
Sep 12, 2019 at 3:10am
[8 replies] Last: Salem, I will do so, sorry about that. I guess I need to find the righ... (by mivasquez386)
|
Java Programming Question |
Working on a hw assignment and I am getting this following error. Please help me understand what is occurring. Thank you! Sandwich.java:5: error: illegal sta... |
Sep 12, 2019 at 2:40am
[4 replies] Last: from your error message public String MainIngredient; from your code... (by ne555)
|
by TheJast
help printing garbage
|
I'm pretty sure my program is almost completely done, i've worked around this problem as long as i can. When i build it builds, when i print though it just pri... |
Sep 12, 2019 at 2:06am
[2 replies] Last: > When i build it builds ¿does it build without warnings? > left onl... (by ne555)
|
by coco28
Random Data Into Txt File
|
When I open the txt file, only one of the numbers is being recorded...but when I remove my file data...the 100 random numbers generate as meant to. I am try... |
Sep 12, 2019 at 12:37am
[11 replies] Last: Learning should be fun, and so should teaching. When I create a code e... (by deleted account xyzzy)
|
by CoolAvocado
Is this code wrong?
|
So here is the code coming from the array tutorial here in this site i try to copy paste it to try and see the output apparently it looks like its broken .... |
Sep 11, 2019 at 10:19pm
[5 replies] Last: Code::Blocks 17.12, and the code works just fine as Ganado mentioned. (by deleted account xyzzy)
|
by tipsy103
bubble sort of full names using operators
|
I cannot for the life of me figure out how to make these names sort correctly. Is my problem in my operator class, or am I just messing up the main function so... |
Sep 11, 2019 at 8:45pm
[5 replies] Last: bool person::operator>(const person &a) { person x = *this; if (... (by tipsy103)
|
by CoolAvocado
may pinoy ba dito?
|
may pinoy ba dito? |
Sep 11, 2019 at 7:03pm
[no replies]
|
Finding Vowels in a String Array |
I have to write a function that will take in a string array and will then return the first vowel found, if none return -1. I wanted to make sure the actual code... |
Sep 11, 2019 at 7:02pm
[4 replies] Last: I was just doing something like this a few days ago, I created a funct... (by orcusb)
|
by clha473
Population function
|
The following is my HW problem for my c++ class. I have to create a function , and just the function for it, but obviously to test its effectiveness I'm writing... |
Sep 11, 2019 at 6:42pm
[6 replies] Last: I suspect your online submission site is using exactly 365 days in a y... (by lastchance)
|
by CoolAvocado
Increment and Decrement
|
difference between this x++ and ++x x-- and --x |
Sep 11, 2019 at 6:34pm
[14 replies] Last: Keighhhh (by CoolAvocado)
|
by deathzine
printing first input out fail - C program language
|
please put three integers: 10 5 100 // this is the input : 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 ... |
Sep 11, 2019 at 6:08pm
[2 replies] Last: thank @salem I appreciate your help been stuck this problem for 2 hour... (by deathzine)
|
by deathzine
stuck from printing the correct output
|
the input: 1 5 the output:1 2 3 4 5 6 the input :10 10 the output:10 11 12 13 14 15 16 17 18 19 20 I been stuck doing this for 5 hours now and I really no clue... |
Sep 11, 2019 at 3:55pm
[5 replies] Last: it really helps a lot @andy and I will keep the variable as the descri... (by deathzine)
|
Read in file with Linked List |
Hi. I'm having trouble being able to read in my input data to my code from a file. I have it organized: last, first id. I need to be able to later output it: id... |
Sep 11, 2019 at 3:55pm
[13 replies] Last: fin is the associated file stream, so std::ifstream fin; fin.open("fi... (by highwayman)
|
by xcxave
Average Score and Letter Grade
|
Hi I am new to coding and I am having a difficult time with my code. My code probably is hard to read due to the lack of comments and spacing but I would really... |
Sep 11, 2019 at 3:23pm
[9 replies] Last: Hello xcxave, You are welcome. Any time. Andy (by Handy Andy)
|
by ElusiveTau
How do you go about reading Notepad++ source code?
|
Notepad++ is open-source: https://github.com/notepad-plus-plus/notepad-plus-plus and I'd like to read the source code to understand how it was written (and ho... |
Sep 11, 2019 at 3:05pm
[1 reply] : I don't think this is the optimal answer, but if you're dealing with a... (by Ganado)
|