Click here to Skip to main content
15,891,708 members

Comments by TangentJay (Top 7 by date)

TangentJay 3-Mar-21 17:31pm View    
I made this from bits I saw on a youtube video and I modified it. I didn't use this code as I redid it all over to get it working. The code wouldn't run in VS anyways, was the reason to see why it wasn't working. If this IS YOUR code then go to youtube and report the video showing how to calculate electric bills.

Also I don't use any of those scam sites, and If you did, oblivious, someone wrote the code for you. SO all in all, you also took the short way home my friend...that's if you are telling the truth.

As I said. I redone all the code myself with tips from the sites I asked for help and bits from youtube. Feel free to do what you want to, as I know I redid the code with help from these sites.
TangentJay 3-Mar-21 17:31pm View    
Deleted
I made this from bits I saw on a youtube video and I modified it. I didn't use this code as I redid it all over to get it working. The code wouldn't run in VS anyways, was the reason to see why it wasn't working. If this IS YOUR code then go to youtube and report the video showing how to calculate electric bills.

As I said. I redone all the code myself with tips from the sites I asked for help and bits from youtube.
TangentJay 2-Mar-21 21:40pm View    
Got ya. Taking notes here haha. Thanks
TangentJay 2-Mar-21 19:06pm View    
After adding <string> the code will run on C++ shell online, but not my Visual Studios. I might be missing an addon or something. Thanks.


Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!

Program: C:\Users\Owner\source\repos\TDU attamp_t\Debug\TDU attamp_t.exe
File: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xtree
Line: 182

Expression: cannot dereference end map/set iterator

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

---------------------------
Abort Retry Ignore
---------------------------
TangentJay 2-Mar-21 18:09pm View    
Deleted
Ok, thanks. Ill redo the code. I followed bits from youtube and been going on my own here and there.

I also checked out stackoverflow. bookmarked that and this site for later use. thanks again ill rework it.