We're a friendly, industry-focused discussion community of 1M+ developers and IT professionals learning and sharing knowledge. Ask us a question …

Member Avatar
119 Replied To a Post in Java output
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … Article by PulsarScript in Software Development
Also ... I have been thinking about a simpler class for beginning students to use to handle console io, for begining student type io problems taking in numeric values via line input, (as in Python.) You may like to see the demo below: // this version: 2016-09-28 // import java.util.Scanner; …
Member Avatar
119 Replied To a Post in Java output
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … Article by PulsarScript in Software Development
Great points James for Java students to utilize :) Also ... I meant to ask you to clarify more your suggestion above ... about and alt 'InputStream' constructor ... Perhaps you could give an example of it ... and it's use?
Member Avatar
320 Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
That means it's time to check your settings. I don't know what email you use so you have to tell more or decide to go back to the place/person that set it up.
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
I'm seeing an fstream object defined on line 31 without a filename or any parameters specifying how to open it, then used on lines 33 and 34, and I'm seeing an ofstream object defined on line 32 with a filename and opening parameters specified, but used nowhere. I'm guessing that's …
Member Avatar
Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
It came set up with the computer. I use explorer and chrome.
Member Avatar
320 Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
So let's talk about setting up emal apps. Sorry for the "just just" typo above. Tell me what web page you used to setup your email in your system. It's not automatic.
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
Member Avatar
320 Replied To a Post in Adding to an existing binary file
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
I see issues with that code. For example on line 44 you close the file. OK, but up a few lines you open it so you'll read the first thing in the file. Since you don't read later values, you'll get the same item each time. Now about writing. Lines …
Member Avatar
Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
I've run the program and I know there are jimits to what I can send but I cant send any type of email and when I try to open windows live mail it just says 0 of one comleted and wont open.
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … Article by zzQwerty in Software Development
Member Avatar
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … First Post in Article by zzQwerty in Software Development
Member Avatar
Joined the Community
Member Avatar
320 Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
That appears to be one of those 844 support numbers that is NOT Microsoft. Here's the other things to scan with: http://www.cnet.com/forums/discussions/how-to-remove-pup-option-603542/#post-f742c795-5881-433b-a29b-6d758efe5cd3 But being unable to send a picture is NOT a sign of a virus. I'm running into new users that want to send many megabyte images and well, …
Member Avatar
I have a database to manage students 1. I want to Select students that are in level 1 fom the students table 2. Select the subjects from the subjects table 3. and echo the matching results on am html table any help? Article by eternalcreator in Web Development
Member Avatar
I have a database to manage students 1. I want to Select students that are in level 1 fom the students table 2. Select the subjects from the subjects table 3. and echo the matching results on am html table any help? Article by eternalcreator in Web Development
There seems to be much duplication in these tables, e.g. subjects and enrol. I would imagine you want a tables: students classes (id | FK: subject_id | FK: teacher_id) subjects teachers enrol (id | student_id | class_id) - no need to duplicate teacher or subject as these are in classes …
Member Avatar
I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried … Article by gentlemedia in Web Development
Member Avatar
I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried … Article by gentlemedia in Web Development
Thanks, Diafol! I know I go wrong with using `name`, because the radio buttons do have of course the same `name`, but I couldn't figure out what to use instead for the them. Your solution works well for me too, because I've tried long enough :)
Member Avatar
Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
I have not been able to send an email with a picture so I called Cox Cable. They checked and I was able to see my email so they gave me the number to windows live mail. 1-844-641-0027. He checked and found lots of my microsoft programs shut down and …
Member Avatar
I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried … Article by gentlemedia in Web Development
Member Avatar
I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried … Article by gentlemedia in Web Development
Here's my feeble attempt - seems to work, but I'm sure I'm missing something simple: http://codepen.io/anon/pen/amwrVv#anon-login
Member Avatar
320 Began Watching
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
320 Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Who or what told you that? I'm seeing web pages that tell anyone that along with CALL THIS NUMBER NOW scams. Tell more.
Member Avatar
Revoked Solved Status for
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
Revoked Solved Status for
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
Revoked Solved Status for
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
Marked Solved Status for
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … Article by pcmic in Microsoft Windows
Member Avatar
Replied To a Post in Loaded with viruses!!!!
Just was told that my computer is loaded with worms , trojans, and spyware. Any program to clean, it is shutting down all my microsoft programs--I cant send an email from windows live mail. Thank you in advance. Here is my hijack this: Logfile of Trend Micro HijackThis v2.0.5 Scan … First Post in Article by pcmic in Microsoft Windows