15,742,384 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 Javascript questions
View C++ questions
View Python questions
View Java 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 KarstenK (Top 200 by date)
KarstenK
30-Aug-23 1:36am
View
Google finds the ilmilf.lib here. What have you done?
https://github.com/Wizapply/OvrvisionPro/blob/master/3rdparty/opencv/build/x86/vc11/staticlib/IlmImf.lib
KarstenK
28-May-23 14:59pm
View
Not a great idea, but a violation of SOLID-principle. (L)
Best is to use some enum value and a common class or disable some properties.
KarstenK
5-Mar-23 13:29pm
View
you missed the else and error handling. This wouldnt pass my code review ;-)
KarstenK
7-Feb-23 4:01am
View
I guess it is a relict from some previous code. Dig into your repo ;-)
KarstenK
26-Jan-23 10:44am
View
it is better to split such "code worm" in pieces for maintainability and bug hunting.
KarstenK
18-Nov-22 9:04am
View
absolut correct.
KarstenK
4-Nov-22 8:10am
View
the "boring stuff" is often called "work". Learning the basics is KEY in ANYTHING for survial or what is sometimes called: "success". ;-)
KarstenK
4-Nov-22 4:37am
View
some young and lazy dude not really interested in coding, but getting a homework. "The youth of today" ;-)
KarstenK
4-Oct-22 2:56am
View
WTF??? Didnt expect that. Can you explain. Didnt help me at: https://en.cppreference.com/w/cpp/language/do
KarstenK
3-Oct-22 3:30am
View
Are you serious? Not in the original code with do-loop.
KarstenK
2-Oct-22 4:55am
View
wouldnt while(--p); do the job?
KarstenK
1-Sep-22 5:17am
View
I remember that Visual Studio was allowing it in earlier versions.
KarstenK
31-Aug-22 13:05pm
View
You are right and it is standard. But some compilers are "allowing" this.
But using it is silly.
KarstenK
30-Aug-22 11:40am
View
Ok: why are your worrying about that? A library should do its job, so the coder can develop his code.
KarstenK
30-Aug-22 9:18am
View
your instinct will evolve with "experience". That is telling me my 20+ years instinct ...
KarstenK
29-Aug-22 2:00am
View
You cant have all. Normally library which are targeting a system are suitable for it. That also includes size. Maybe it has some release or compact mode.
Dont waist your time on incidental issues. You will loose!!!
KarstenK
15-Aug-22 1:43am
View
It is obvious, but I think he is asking because he has the choice. Maybe part of the homework is the decision which language to use.
KarstenK
2-Aug-22 9:21am
View
use a counter of that. Dont ferget to reset it in success case.
KarstenK
18-Jul-22 10:44am
View
You must inserted all elements but the output is in the owner drawing. Best is to use some data model for getting the correct informations what to draw in the elements.
KarstenK
13-Jul-22 4:16am
View
Because you have an 0 termination that data isnt a string per definition. You are jiggling around with the chance of nasty bugs.
KarstenK
29-Jun-22 3:22am
View
at most: it is bad style becaus hardly to undestand and easily an issue for compiler bugs and changes. So avoid it better.
KarstenK
12-Jun-22 3:59am
View
ich könnte Dir helfen, wenn Du in Englisch geschrieben hättest ...
KarstenK
26-Apr-22 8:46am
View
This is a "step for step" cookbook task for beginners. So do every step and use the tips from solution 1. Show some code when further questions.
KarstenK
25-Apr-22 1:57am
View
giving better var name would always help. Maybe you are looking at the wrong code.
KarstenK
24-Apr-22 14:52pm
View
Where is the problem? Have you tried some debugging?
KarstenK
21-Apr-22 4:18am
View
Try your luck with: https://www.codeproject.com/Articles/13601/COM-in-plain-C
but I would dive into the easier C# language. Discuss my advice with somebody who has the skills and you trust. Good luck.
KarstenK
21-Apr-22 4:16am
View
I know a way, but I wont go it. ;-)
COM interop like: https://www.codeproject.com/Articles/13601/COM-in-plain-C
KarstenK
21-Apr-22 4:13am
View
C isnt the best tool for that job, but works fine with hardware. I recommend c# for such tasks.
KarstenK
21-Apr-22 3:37am
View
Shame on you for being to lazy to do such a basic homework. You wont have success in life when being so bloody lethargic.
KarstenK
8-Apr-22 10:43am
View
a) you can try to use that code to write a (specially named) picture file which you can load in the C++ code. Create some small exe which you can execute from C++.
But anyway: if it is VBA you wont have good chances, but with VB.net would be better. But I think it is better and faster to rewrite that code in C++
KarstenK
27-Mar-22 13:56pm
View
First thing I see is that the path to the database is a relative path. Use a full path and than try it again with the debugger. What is your first error code?
KarstenK
14-Mar-22 3:35am
View
The 3 areas are leaking. wtf???
KarstenK
4-Mar-22 9:10am
View
You better use for the year loop 0 to 3 and add for the display the 2018 offset.
PS: remove the empty lines and correct the ident. Some IDE have commands for that.
KarstenK
14-Feb-22 2:56am
View
and best is to use #define to include the mocking instead of the socket header.
KarstenK
8-Feb-22 11:24am
View
I think he should separate input from output. And write a print function which only prints the first character. But that is one of his "last" problems ;-)
KarstenK
26-Jan-22 13:08pm
View
the picture maybe to big for the small item. Check the return codes!!!
KarstenK
9-Jan-22 4:55am
View
never ever write passwords in code. You will get grilled for that.
KarstenK
6-Jan-22 6:40am
View
products are a one dimensional array. Best is to use class design as alreaedy written.
KarstenK
3-Jan-22 9:54am
View
I wont use such implementations. Hash is for lookup and I wont risk false positives.
KarstenK
31-Dec-21 4:26am
View
The string calculation doesnt look sound.
KarstenK
30-Dec-21 13:12pm
View
fix your indentions to understand the code. You missed some braces in the else.
KarstenK
30-Dec-21 13:09pm
View
Plz write it as answer to close the Q&A.
KarstenK
29-Dec-21 3:07am
View
in real world such operations are a bad idea because it is often the cause of annoying bugs which are stopping the development of the important features. Always remember the KISS principle: "Keep it simple stupid"
KarstenK
9-Dec-21 2:02am
View
You shouldnt rely on your tutor, but ask him what to do. Maybe it is your homework.
KarstenK
3-Dec-21 12:52pm
View
Then you must search the complete code for this data type and figure out how to get it. Maybe some define must be activated. See in this forum is more for you: https://www.microchip.com/forums/m1111266.aspx
KarstenK
3-Nov-21 5:24am
View
Fix the bug. Start with a detailled description and Google for causes. ;-)
KarstenK
18-Oct-21 14:00pm
View
the ConfirmBooking belongs in the Customer class. Some poor design which leads to your bug. Think about it ;-)
KarstenK
9-Oct-21 12:45pm
View
It has to be mentioned that the allocated memory has to be freed when done, else it is leaking.
KarstenK
7-Oct-21 12:02pm
View
write a clear answer to close that q&a
KarstenK
7-Oct-21 5:01am
View
Learn to respect the compiler as it knows a lot of coding and is most smarter than the person sitting in front of it ;-)
KarstenK
6-Oct-21 14:14pm
View
For the sake of performance I would use sprintf and strcat to create a result string at first. Use a big enough buffer for that.
KarstenK
21-Sep-21 4:53am
View
the first too :-O
KarstenK
3-Sep-21 14:10pm
View
Thats why it is best practice to only write one command at one line ...
KarstenK
3-Sep-21 2:44am
View
You are right: copying complex data is always bad for performance and energy!!!
KarstenK
17-Aug-21 9:00am
View
plz write answers as solution to close the q&a.
KarstenK
12-Aug-21 10:58am
View
when you are too lazy to use the debugger than you shouldnt code. I was debugging these days some internet socket code ...
KarstenK
10-Aug-21 2:15am
View
My tip are some security settings, so the server dont get the request at first. I guess you have to dig trough some dirt ;-)
KarstenK
6-Aug-21 4:22am
View
Oh, thats bad but no problem. He can implement an own compare in his class. But he can use vector.
KarstenK
3-Aug-21 10:58am
View
Sounds like legacy M$ product from the pre internet era. :-O
KarstenK
3-Aug-21 7:36am
View
Sounds like you need to implement some workarounds or end using that component. I recommand to explore the options and costs to use other software. It maybe some man month but would end pain in the ass and lower downtime. It is always a great talking point and also updating your personal skills.
KarstenK
2-Aug-21 10:15am
View
You need to concentrate on the real issues. Maybe you write more verification code to exclude error causes.
Or you contact the vendor of your libraries to get debug version. They should also be interested in finding the bugs in THEIR OWN code. So you havent as bad cards as you might think. Best is to drill down to their development team.
BTW: sometimes it helps to turn off release optimization. It sometimes is changing the errors to the real cause :-O
KarstenK
19-Jul-21 13:46pm
View
Then you need to make it visible by including the declaration header. I dont understand how than the sendtheData is working when it doenst know WHAT to send.
KarstenK
13-Jul-21 11:46am
View
read the documentation VERY carfully and respect it completly because there isnt ANY safety net between your code and the operating system. ;-)
KarstenK
29-Jun-21 2:03am
View
you missed the free() :-O
KarstenK
27-Jun-21 13:43pm
View
maybe you havent provided the args. Use the debugger.
KarstenK
25-Jun-21 11:24am
View
totally agree, a source of nasty bugs :-/
KarstenK
25-Jun-21 4:29am
View
you get an error because something has gone wrong or you made a mistake ;-)
KarstenK
24-Jun-21 11:22am
View
that alcohol abuse and forbidden ;-)
KarstenK
20-Jun-21 3:22am
View
Use such define with great care, because compilers arent good to yell at errors, so you main earn strange errors. Better is to think about other solutions like const values.
KarstenK
20-Jun-21 3:20am
View
important: what do you do, when some element of array 2 is equal to a element in array 1!
KarstenK
15-Jun-21 2:11am
View
Did you use the debugger?
KarstenK
14-Jun-21 13:40pm
View
when you really want that than use command line for configuration. Example: "udptalker.exe /server" and parse the args to start as server. And vice versa ...
KarstenK
12-Jun-21 13:41pm
View
learn to use the debugger to find the problematic code line.
KarstenK
12-Jun-21 13:40pm
View
No, normally your coding tool is using some project template which does it.
KarstenK
10-Jun-21 11:07am
View
ask som dudes in the net: "plz gimme code" ... ;-)
KarstenK
10-Jun-21 10:13am
View
int main() {
/// TODO
}
plz gimme code :-)))
KarstenK
4-Jun-21 8:59am
View
You are absolutly right about commenting the usage of braces.
KarstenK
4-Jun-21 7:56am
View
Maybe you can haggle with such guys: https://www.codeproject.com/Questions/5279074/Convert-Cplusplus-code-in-Python
KarstenK
30-May-21 13:06pm
View
converting isnt correct, you must replace the handy c++ classes with C code.
KarstenK
30-May-21 4:49am
View
tip: very important to count down the instances in the destructors. Or you count ALL created instances - with some already gone!!!
KarstenK
28-May-21 6:59am
View
Download and install Visual Studio or gcc.
KarstenK
27-May-21 11:27am
View
Isnt the vector <bool> nov only needed to calculated ONCE?
Other point: nov[i] isnt needed this way, but a start value and recalculated when a "hit" was done?
KarstenK
26-May-21 2:38am
View
Do the print after the loop. (not in it)
KarstenK
10-May-21 13:22pm
View
best is to do some basic stuff, so all students are learning some thing. Best is to pick some C++ stuff, because it is widely used. Learning using some IDE and debug a bit helps more than some fancy code which are writing only some crack.
KarstenK
5-May-21 13:40pm
View
isnt too hard, when you have learned the basics and that piping stuff. Google for some tutorials and move on.
KarstenK
4-May-21 12:54pm
View
you need to allocate some memory for the data fetch. Try to learn the language when you want to talk to the computer ;-)
KarstenK
24-Apr-21 12:58pm
View
C++ is supoorting only one parameter in a switch statement.
KarstenK
23-Apr-21 14:30pm
View
maybe that is some codestyle for that programming.
KarstenK
19-Apr-21 13:25pm
View
The question isnt clear. Write a check function which verifies the sorted array for correctness.
tip: use longer variables names to make code better readable.
KarstenK
13-Apr-21 2:36am
View
tip: such format has always the pitfall that the delimiters break the format when in data. Like: "New" Coke as brand name.
KarstenK
12-Apr-21 3:00am
View
when you dont understand the task and dont want to engage in the solution you should consider change something in your life ;-)
KarstenK
2-Apr-21 4:45am
View
Think about the instruction and its implication of every line. Write an example app and use the debugger memory view to look at the details.
KarstenK
28-Mar-21 13:32pm
View
I prefer using braces when dividing integers to make the compiler really clear what the result should be.
percentage = (sum * 100) / total_marks;
KarstenK
23-Mar-21 9:32am
View
plz use english and visit at start some tutorials to learn the basics.
KarstenK
18-Mar-21 8:02am
View
polite answer, but better is use of global ONLY WHEN NO OTHER SOLUTION is possible. It is a common origin of trouble.
KarstenK
18-Mar-21 8:00am
View
this insert(bstNode_t* root, int data) declares the local var and so "hides" the global var.
KarstenK
16-Mar-21 3:37am
View
so the code isnt "perfect" (but has a severe bug and possible security issue) ;-)
KarstenK
14-Mar-21 14:29pm
View
the normal way is to use a get function, to ensure capsulation standards
KarstenK
13-Mar-21 4:28am
View
Consult somebody who has the knowledage to rate your affords. I think that you are going the wrong way and waist your time.
KarstenK
11-Mar-21 1:24am
View
What is your plan?
KarstenK
3-Mar-21 13:42pm
View
please learn the basics. It also lets you ask better questions which will lead to better answers for you ;-)
KarstenK
23-Feb-21 2:30am
View
Creating a copy is solution which is providibf you less headaches.
KarstenK
21-Feb-21 13:44pm
View
There is some bug in the code and this is poorly coded for some review like naming and return points and usage of braces.
KarstenK
18-Feb-21 10:29am
View
Not needed, but maybe a beginner, some code changes or for clarity.
KarstenK
17-Feb-21 14:13pm
View
"bad idea" a polite description ;-)
KarstenK
17-Feb-21 7:52am
View
read the error message en detail and start with the FIRST. This is very important, because some errors triggering other errors.
KarstenK
8-Feb-21 6:48am
View
Like in "All Users", run as extra thread with some credentials or permit some file access manually.
KarstenK
1-Feb-21 7:35am
View
Do you want to cheat? Does it comply with your personal values?
KarstenK
31-Jan-21 3:35am
View
C is in common use when you are programming for hardware like embedded devices or chips for smart home or cars. As you see in the task of computing resistance.
KarstenK
23-Jan-21 4:49am
View
yes you can, but using the built in functions are bullet proof and long used, so use them and implement your own features.
KarstenK
22-Jan-21 5:09am
View
the teacher may be also be more clever by NOT asking to much avoid discrimation issue. (that is reality in germany)
KarstenK
19-Jan-21 5:39am
View
Python is using EXTREME STRICT idention to structure code. If you dont respect it, you will suffer.
KarstenK
13-Jan-21 8:01am
View
The best way is stay in tocuh with the developers, second best is to try it out with coding and the worst is to consume the marketing fluff ;-)
KarstenK
12-Jan-21 11:15am
View
Fully agree and good idea would be to sort that in an array with that vector, so an easy and flat access is possible.
KarstenK
11-Jan-21 10:14am
View
The code may be valid, but the types of both loops are different. This isnt an issue, because no code is in them. So write some code into the loop and you will see that the & makes a difference.
KarstenK
5-Jan-21 10:34am
View
There are only disadvantages in creating copies, esp when complex objects.
KarstenK
3-Jan-21 13:25pm
View
Shouldnt Point ppb also be a pointer?
KarstenK
29-Dec-20 5:13am
View
it is better to use files for every class.
KarstenK
29-Dec-20 5:12am
View
it is better to structure the code by putting a class into an own file with header and implementation. Than you only have to include the Node.h header at top of the main file.
KarstenK
23-Dec-20 4:37am
View
tip: write some test code to easier check your code.
KarstenK
22-Dec-20 3:58am
View
rethink the code completly it looks like severly mistyped and so not usable.
KarstenK
18-Dec-20 13:20pm
View
you better search for some tutorial and videos to aquire basic knowledge. That also would help you to understand some advice.
KarstenK
17-Dec-20 10:21am
View
you can optimize the code by checking at first for 28, 29 (in february), 30 and 31 days.
KarstenK
16-Dec-20 6:57am
View
you need to check both input values.
KarstenK
16-Dec-20 6:56am
View
I think it will add only a :-O
KarstenK
8-Dec-20 2:17am
View
What about using the debugger? :-O
KarstenK
4-Dec-20 14:02pm
View
Never change input data. It makes debugging ass in the pain. :-O
KarstenK
2-Dec-20 12:30pm
View
only have to read the compiler message carefully and think about it. It is my daily bread over 20 years in coding ;-)
KarstenK
28-Nov-20 3:50am
View
one reason for libraries are that give solutions which arent yet available. So the existence of a library is often the solution for an existing problem. :-O
KarstenK
23-Nov-20 3:18am
View
Hire a code or learn coding ;-)
KarstenK
21-Nov-20 13:10pm
View
Are you serious? Have you used the debugger once? :-O
KarstenK
20-Nov-20 13:40pm
View
The compiler is already talking to you: "Where is that comparator?". It like your "better half" demanding to clean up the kitchen ;-)
KarstenK
20-Nov-20 12:29pm
View
consider learning the basics for coding C from the link I provided you some hours ago. You also cant drive a car without a licence which certicies that you have the needed skills and knowledge ;-)
KarstenK
19-Nov-20 4:52am
View
The main challenge is to find a high performing algorithm. So you need to find such a algorithm.
KarstenK
18-Nov-20 8:25am
View
some people ask til the get the wanted answer like children ;-)
KarstenK
12-Nov-20 11:08am
View
tip: write some tests to verify your algorhitms.
KarstenK
11-Nov-20 12:58pm
View
you only need to think about the message. It says that some invalid token are before that {-brace. ...
KarstenK
11-Nov-20 12:53pm
View
This solution shouldnt be ONLY from someone who can "explain" it to his teacher ;-)
KarstenK
11-Nov-20 12:52pm
View
Not at all: it can be solved via pointers or ref syntax :-O
KarstenK
11-Nov-20 12:50pm
View
The question is unclear.
KarstenK
7-Nov-20 13:41pm
View
plz check your Remove(). I think it isnt correct :-O
KarstenK
21-Oct-20 13:15pm
View
you must organize your code with functions and structs so you can read and access the data from both files. These operations are in the milliseconds time frame.
KarstenK
16-Oct-20 5:34am
View
converting isnt the correct word because you MUST create an new BSTR as the fellows answered.
KarstenK
10-Oct-20 13:17pm
View
you need to learn the basics from some tutorial to understand the details.
KarstenK
9-Oct-20 9:24am
View
I would define the 19 as size_array to avoid future changes.
KarstenK
8-Oct-20 3:21am
View
you are mixing "business logic" and "ui" - that is bad style.
maybe you understand it someday. Til then ;-)
KarstenK
5-Oct-20 12:42pm
View
ComplexNum& operator + would be perfect ;-)
KarstenK
4-Oct-20 13:10pm
View
you should see it when using the debugger :-O
KarstenK
3-Oct-20 4:34am
View
write it as answer ;-)
KarstenK
1-Oct-20 4:04am
View
plz reformat the text it looks like copied from some HTML :-(
KarstenK
25-Sep-20 5:48am
View
the code is confusing. You need to improve the check and the code flow on an error.
KarstenK
25-Sep-20 5:42am
View
Bold words, if he comments out the line a q.pop() will be missing and the code wont run correctly. :-O
KarstenK
11-Sep-20 6:00am
View
you have some typos in your code. This doesnt like the compiler.
KarstenK
5-Sep-20 4:43am
View
did you try to use the debugger with its memory view?
KarstenK
4-Sep-20 7:55am
View
your code is messed up with ="" and other tokens.
KarstenK
2-Sep-20 13:23pm
View
a book isnt the best way to learn, but to practice in work on a project. I will do some socket programming in Swift in the coming days. ;-)
KarstenK
2-Sep-20 2:32am
View
sounds like linear algebra with 5 vectors (workers) and the side condition that all 5 are working. But I am not good in that ;-)
KarstenK
1-Sep-20 12:58pm
View
you have the side condition that every person needs to do a job while the others are working.
I think its ends with matrice to solve.
KarstenK
1-Sep-20 3:20am
View
Best is to create a working copy for strtok().
KarstenK
29-Aug-20 12:38pm
View
I think that your recursice function call has some flaws. I would use a const int for the 10000 and start to debug it with a 3. ;-)
KarstenK
29-Aug-20 4:33am
View
tip: your handling of a is improvable
KarstenK
24-Aug-20 4:55am
View
you need the precision ONLY for the formatted output. This is normal an aspect of "beautifying" the UI.
KarstenK
21-Aug-20 2:41am
View
it is better to compare name and password seperatly, to inform the user about the result.
KarstenK
20-Aug-20 6:12am
View
post it as answer.
KarstenK
18-Aug-20 2:30am
View
it is better to use a pointer, here cahr *s.
And best is to use the correct data type, because it helps other coders and the compiler. ;-)
KarstenK
16-Aug-20 13:12pm
View
often a problem of some bit flags like in "Translation".
KarstenK
16-Aug-20 3:44am
View
@ Rick: post answers as answers to close the Q&A.
KarstenK
15-Aug-20 3:38am
View
read this to learn: https://www.ingenere.it/en/articles/tina-tata-solidarity-economy-and-women
KarstenK
14-Aug-20 5:12am
View
Nice, now start implementing your tasks in some function. tip: use functions to give your code some structure.
KarstenK
6-Aug-20 2:24am
View
as Garth wrote the correct way is to store a file somewhere else and only store the file name with path components in the database.
KarstenK
3-Aug-20 7:37am
View
and the question?
KarstenK
3-Aug-20 2:19am
View
OriginalGriff is right. Always remember: the compiler is the only friend in coding which tells you: "dont do that because you'll get trouble" ;-)
KarstenK
23-Jul-20 1:24am
View
Less than 4 GB RAM is pain in the ass. Even 8 GB and 16 GB are making some difference. Be aware that such a slow machine is costing your time and hinders you to develop your code.
KarstenK
19-Jul-20 3:46am
View
You only swap the pointers to the string - not the string memory content.
KarstenK
14-Jul-20 3:43am
View
or he remove the virtual qualifier :-O
KarstenK
10-Jul-20 12:10pm
View
Rick is right, it best to build all dll with the same VS version. Another way is to make a static build.
KarstenK
9-Jul-20 8:34am
View
tip: you only need to check the division of all smaller prime numbers less than half of the number.
KarstenK
6-Jul-20 13:32pm
View
But I wont leave this newbie with some stuff to learn and solve his problem.
KarstenK
5-Jul-20 3:21am
View
try www.hirecoder.com
KarstenK
4-Jul-20 4:51am
View
A computer is a machine which deals with 1 and 0 as "on" and "off". Every higher abstrayction is a model of humans. Read about "Touring machine". We as human use programming languages to tell the computer what it should do. It starts from "add 1 to 1 and print that number" ;-)
KarstenK
3-Jul-20 10:57am
View
Arent all pointers the same size depending on compiler settings? (But the memory to which they point should be different)
KarstenK
2-Jul-20 6:07am
View
Maybe you have to try harder and learn coding for your assignment. Maybe even for understanding the advice of seasoned coders ...
KarstenK
30-Jun-20 3:18am
View
using the term objects is misleading.
KarstenK
29-Jun-20 3:18am
View
encryption is the holy gral of computing. For that you need really a lot of knowledege. So learn about it in depth.
KarstenK
22-Jun-20 5:23am
View
try double flyLevel = 0;
KarstenK
20-Jun-20 12:36pm
View
it isnt a solution, but a problem.
KarstenK
16-Jun-20 13:41pm
View
I like openhpi.de but it are mostly beginner courses, but sometimes in german.
KarstenK
13-Jun-20 13:35pm
View
Sounds really too weired to be true. Plz check that you didnt misunderstood something. W98 is from the stone age and really not a good operating system. And this combination for a homework sound like a bad joke :-/
KarstenK
13-Jun-20 4:33am
View
a possibble solution is to use TCHAR array of a fitting size. And for for loop limits are looking strange.
KarstenK
9-Jun-20 2:56am
View
Thats not a primers task. Your procrastination is ending soon. Consider learning C++ or look for other chances in life :-O
KarstenK
6-Jun-20 13:36pm
View
Nice tip - if I write files I do it similar.
KarstenK
5-Jun-20 3:50am
View
Solution 4 has really some valuable links for your homework.
Sounds like your procrastination comes to an end ;-)
KarstenK
4-Jun-20 13:53pm
View
Use the debugger and make some print output in the second for loop to see your mess.
KarstenK
4-Jun-20 6:43am
View
it doesnt sound like a C++ homework. Ask your teacher what he want to see to not kick you out of his class ;-)
KarstenK
3-Jun-20 2:41am
View
Start by learning coding from some tutorials in the internet. The complexity of your assignment tells me that you are in some higher grade. What have you done in your lections?
KarstenK
1-Jun-20 13:12pm
View
separate this statement in 5 (fixe) statements with zero check, to ensure that it doesnt crash. This also helps to debug it.
KarstenK
1-Jun-20 4:34am
View
Your counter will miss the last word, when no space is the last character. And when the user gives more than 40 characters it will crash.
KarstenK
1-Jun-20 4:32am
View
your p hasnt a proper value when compare is called? The others are absolute right about the rest.
KarstenK
29-May-20 6:22am
View
one short addition: the size of pointers depends only on compilers settings, because it is only a memory address. The objects or arrays to which it is pointing may differ :-O
KarstenK
27-May-20 4:28am
View
I guess that this is copied code and pasted from someone who didnt understand it :-O
Show More