15,912,400 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by James kingswell (Top 10 by date)
James kingswell
7-Nov-13 11:47am
View
Thanks :) sounds perfect. How would I go about renaming the destination file? does fstream have the capability? what would I use? I haven't really used file storage much.. :/
James kingswell
5-Nov-13 22:17pm
View
And it was as simple as that.. the problem resided in my assignment of lCrd -_- I feel slightly embarrassed.. oh well lesson learned, if I've managed to find the local area of the bug simplify the area down to it's components before posting a question.. Thanks again, best advice I could've gotten. :)
James kingswell
5-Nov-13 21:30pm
View
A very good point sir. I just get used to doing things like that as I shorten my code.. Perhaps it's a bad habit and should probably always do things this way before hand. Thanks :)
James kingswell
5-Nov-13 14:53pm
View
nice to know there are people like you around :) revives my faith in the human race. Keep up the good work sir, I salute you! :D
James kingswell
5-Nov-13 14:07pm
View
well here's the weird thing.. using the debugger stops the crashes.. :/ I don't know why but it does.. it's also stopped some other issues I've had with fstream.. thanks.. I guess.. I've never used the debugger before because I use my own tools in each program.. cheers though.
James kingswell
5-Nov-13 9:26am
View
thanks, you truly are a very helpful person.. I'm just curious as an off topic question, what draws people like you to even answer people in such places? Do you enjoy teaching or 'solving puzzles'? just curious, it seems everyone I know in real life would just have a lot of other things they would consider higher priority and never bother helping people out on line. :/
James kingswell
5-Nov-13 9:21am
View
Ok :) thanks for the clarification.. perhaps this is not the subroutine causing the crash after all.. :/ I'd just assumed it was due to my lack of understanding.. :/ I'll have a browse. Note that your time was not wasted if this is the case, I know now what this type does and can use it properly. knowing this isn't causing an issue is a step forward :D
James kingswell
5-Nov-13 9:15am
View
I'm assuming based on the low predictability it has something to do with memory
James kingswell
5-Nov-13 9:14am
View
there is no error message the program simply closes once I call this function, sometimes it runs through the first time, sometimes it crashes strait away.. :/
I could give examples of the strings I would pass to it if that helps but I doubt that has anything to do with the actual issue.
James kingswell
5-Nov-13 7:45am
View
So I looked up null-terminating strings and am a bit more clued in now and understand why I had to use c_str() but that doesn't solve my problem. :c
Show More