• Member Avatar for rproffitt
    rproffitt

    Replied To a Post in programming 2 parallel lists for names and grades

    I don't see you ask a question (most use the question mark.) So break down the problem to manageable steps. For example you have lst_stu_names so why not find the …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching programming 2 parallel lists for names and grades

    The purpose of this assignment is to provide you with experience in coding programs that make use of parallel lists. This program maintains 2 parallel lists. The first list maintains …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to JamesCherrill in Rendering an image

    Almost 200 lies of code with exactly one comment: "bad loop" We have import statements inside a class We have zero logging, tracing, debugging info We have at least 3 …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to JamesCherrill in Rendering an image

    Almost 200 lies of code with exactly one comment: "bad loop" We have import statements inside a class We have zero logging, tracing, debugging info We have at least 3 …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Database Forms and logins

    Tell more about how they logged into the database.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Database Forms and logins

    I am looking to create a database to record when students' work has been handed in to the office. I have created the form but it needs to be able …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in New design! Can you give me some feedback, please?

    If it's yours, why isn't this in your profile so this platform works for you?
  • Member Avatar for rproffitt
    rproffitt

    Began Watching New design! Can you give me some feedback, please?

    Recently, we have redesigned our website, https://elogic.co. I will appreciate any feedback. Moreover, it would be interesting to hear if anyone has specific comments on this new design. So what …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to pritaeas in Hello all, again

    Thanks > Also, if you think you are busy now, wait until you have children! Not happening. EVER. I'll stick to pets/animals.
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Jawad_9 in Calculator in C++

    I want a Calculator on c++ contains sin, cos, factorial, log and division
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Jawad_9 in scientific calculator assingment

    Plzzzzzz.... Help me I need coding for scientific calculator consist of sin, cos, factorial, log, tan and division
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How AI Will Take Over the Marketing World

    "Do not post editorial articles that may be published elsewhere" As posted this feels like spam. Also, AI is still not here. Can you show me AI? Machine learning and …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How AI Will Take Over the Marketing World

    Artificial Intelligence (AI) has entered different areas of our world and it will continue to reshape our lives. Many people associate this technology with intelligent machines with a mind of …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    As to not exit etc. menus and such that's basic logic. Example. Something is true. Do this while something is true. Ask the user for input in "this" loop and …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in multiple select option to be inserted into mysql

    So much left unwritten. Go read https://www.daniweb.com/programming/web-development/threads/436218/how-to-insert-multiple-select-option-in-each-row-of-mysql
  • Member Avatar for rproffitt
    rproffitt

    Began Watching multiple select option to be inserted into mysql

    <form class="nice-form" action="" method="post"> <?php session_start(); // echo "<script>console.log('test')</script>"; // echo "<script>console.log(".var_dump($_SESSION) .");</script>"; // echo var_dump($_SESSION); // echo var_dump($_POST); include("../connection.php"); if (isset($_POST['action'])) { if ($_POST['action'] == "assign_user") { $doorId = …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    And real code. Use this at https://www.tutorialspoint.com/compile_cpp_online.php Example sin() code with results in 0 to about 100 integers. #include <iostream> #include <math.h> using namespace std; int main() { cout << …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    Let's get back to basics here. Imagine if the output of sin() is as noted at https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/sin-sinf-sinl?view=vs-2019 So the return value of sin(n) is a float from 0.0 to 1.0. …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    I can't guess which compiler, IDE or such but usually we use a modern one so we know the line that has the error and can examine values. All that …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    What error? Also, I can't guess if there is something about your c++ compiler and conversions between int and floats. So I'll have to leave it here as, you are …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    Not really. You declared integers. So for all cases in the loop, the result looks to be zero. May have to think about how to scale that up.
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    Since you didn't have a sine function, why would you expect a sine wave?
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    That would be in psuedo code about 2 lines of code. for (float x = 0.00; x < 1.00; x += 0.01) { cout << sin(x) << endl; } Adjust …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Drawing Graph and writing to .ppm

    I'll take this is a task and not homework. So my research would be as follows. 1. https://www.google.com/search?q=write+ppm+file+c%2B%2B 2. From 1, I see a favorite site ROSETTACODE. That's https://rosettacode.org/wiki/Bitmap/Write_a_PPM_file 3. …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Drawing Graph and writing to .ppm

    **Task** Your task is to write a program that will draw graphs and output them as coloured image in the .ppm file format and display them using a suitable external …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Reverend Jim in Automate Fibonacci roulette strategy

    That sounds more like the Martingale betting system for roulette.
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Aniket_6 in How to Fix Issues Mozilla Firefox Freezing Up

    Firefox Freezing Add-on My next proposal would be for you to open Firefox Freezing to Safe Mode and determine the status of in the event that you have any unfortunate …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Website is redirects on other spam website?

    Not enough detail. However I've seen malware do that. The PC was hacked, not the web site.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Website is redirects on other spam website?

    Website is redirects on other spam website? How can i comeout. Is my website hacked by someone?
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Jonny_4 in wxPython Boxsizer

    This fundamental wxPython application illustrates the five simple steps you have to complete for every wxPython program you develop: Import the integral wxPython package. Subclass the wxPython software class. Define …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Jonny_4 in wxPython Boxsizer

    This fundamental wxPython application illustrates the five simple steps you have to complete for every wxPython program you develop: Import the integral wxPython package. Subclass the wxPython software class. Define …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Pepe_1 in How to convert my python code into Java ? Need Help .

    Good After. Can you please help. How to convert my python code into Java ? Need Help.. Espcially in Soil Moisture sensor using java language.
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Weird problem with hard drives

    Did you replace said HDD? Sometimes we find oddly failing drives and the owner didn't replace them. Also, be sure to look at the S.M.A.R.T. values. If you find 01 …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Weird problem with hard drives

    Sice a couple of days Im facing a weird problem with some hard drives in my PC. Currently, I have 8 HDDs, one is 5Tb, the rest are 8tb, and …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in If my website gets hacked and the hacker(s) put malware on my links...

    I don't see how you can avoid any possibility of trouble. You could reveal more or decide not to write Jeffrey Epstein didn't kill himself or "Free Hong Kong." Now …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in My Introduction to DaniWeb

    The best reason to pick up the gauntlet is you need some app. That said I've turned to Python for many reasons now.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching My Introduction to DaniWeb

    Hi all, I have just had my interest in C++ rekindled once again, after a long hiatus. I am basically back to the beginning, just a noob looking to start …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Jonny_4 in How To Choose A Best Gaming Laptop

    Asus ROG Zephyrus S GX701. The quality gaming laptop in the world. ... MSI GS75 Stealth 8SG. ... Razer Blade Pro 17 (2019) ... HP Omen 15. ... Acer Predator …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in When you apply the save, an error occurs

    Time to share what error you saw and what line number since VB's IDE and runtime tells that.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching When you apply the save, an error occurs

    Hello, help me When you apply the save, an error occurs Dim c As Integer Dim val As String If cmbfeuille.Text = "" Then Exit Sub xlApp.ScreenUpdating = False xlApp.DisplayAlerts …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in my first time and yaa

    Preachers, teachers, and more are welcome here.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching my first time and yaa

    pleas no presher + i cant spell well
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in If my website gets hacked and the hacker(s) put malware on my links...

    Let's cover a few items. 1. Passwords. If you store passwords in the old bad way of plain text then you deserve the grief and trouble. This area is well …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching If my website gets hacked and the hacker(s) put malware on my links...

    I am thinking about making a website on a VPS. I've read on internet that if someone hacks my website and puts a malware into links or if he steals …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Santosh_23 in Python grade calculator

    ` mark = input("Enter marks: ") if mark >= 80: print("A") elif mark >= 70: print("B") elif mark >= 60: print("C") elif mark >= 50: print("D") else: print("F") ` To …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Santosh_23 in Java question count by any number

    The Java code should look like this: import java.util.Scanner; public class MyClass { public static void main(String[] args) { //final int START = 5; final int STOP = 500; int …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to JamesCherrill in Java question count by any number

    Santosh: Your code contains exactly the same bug as the original. Didn't you read the whole topic before replying? Maybe *you* should visit a good leaning site (eg Oracle's own …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Santosh_23 in Converting C++ Code to Python

    Look like the C++ code is: #include <iostream> using namespace std; int calculate(int values[], int size) { int answer = 0; for (int i =0; i< size; i +=1) { …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Microsoft Edge: How to Open a Page Offline?

    AFAIK, not something Edge does. Another reason I don't use Edge. https://www.tenforums.com/general-support/85925-local-files-ms-edge.html notes we can open a file from WFE (Windows File Explorer.) I've also dragged and dropped a file …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Microsoft Edge: How to Open a Page Offline?

    This is an extremely basic question, but I haven't found an answer yet. I recently purchased a brand-new computer with Windows 10 and at the moment am using the Microsoft …

The End.