Difference between “while” loop and “do while” loop

The do while loop executes the content of the loop once before checking the condition of the while. Whereas a while loop will check the condition first before executing the content. In this case you are waiting for user input with scanf(), which will never execute in the while loop as wdlen is not initialized … Read more

What’s the difference between concat and uglify and minify?

Concatenation is just appending all of the static files into one large file. Minification is just removing unnecesary whitespace and redundant / optional tokens like curlys and semicolons, and can be reversed by using a linter. Uglification is the act of transforming the code into an “unreadable” form, that is, renaming variables/functions to hide the … Read more

Desktop: The system cannot find the specified path

I’m trying to run a simple cd Foldername in command prompt for a folder on my desktop and it says The system cannot find the specified path. I’m losing my mind. The same command works on my laptop, but not on the PC. I’ve troubleshooted everything I can think of. Environment variable paths are all … Read more

Question about while(!EOF)

OF is only an integer constant. On most systems it is -1. !-1 is false and while(false) won’t do anything. What you want is to check the return values of scanf. scanf returns the number of successfully read items and eventually EOF.

Categories C

XY Plotting with Java

I have used jfreechart 100 times for different solutions.it is easy to learn as it has a Developer’s Guide and many more easy tutorials on Java2s.com. just google it and you will find much more Here is a demo of XY series

How to uninstall Go?

72 You might try then remove any mention of go in e.g. your ~/.bashrc; then you need at least to logout and login. However, be careful when doing that. You might break your system badly if something is wrong. PS. I am assuming a Linux or POSIX system.

Categories go Tags