• Member Avatar for rproffitt
    rproffitt

    Replied To a Post in return the address from a function

    In short when it's big. Longer answer at http://www.learncpp.com/cpp-tutorial/74a-returning-values-by-value-reference-and-address/
  • Member Avatar for rproffitt
    rproffitt

    Began Watching broken laptop connector to replace

    Hi guys, I have a dell xps 17 and the connector is broken. I've found what I need on ebay http://www.ebay.co.uk/itm/DELL-XPS-17-L701X-L702X-POWER-SOCKET-JACK-CABLE-RMD72-R7DCGM7PB000-PJC237-/271230139718?clk_rvr_id=932028979691&rmvSB=true but I was wondering if anybody knows whether an …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in broken laptop connector to replace

    Here's what I do. I order it on Ebay since a call to Dell costs more than the part. As to Dell in your country, hit dell.com and check where …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Anyone Else Seeing DaniWeb Activity Dropping?

    As the title says, anyone else noticing the activity on DaniWeb suddenly dropping? I usually check the Database and Software Developing sections in the morning. The Database one for awhile …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Anyone Else Seeing DaniWeb Activity Dropping?

    Well there are things that distract folk from getting here like, ahem, Fallout 4. Then I'm seeing too many ask for solutions to say ["How to play video on jsp...](https://www.daniweb.com/programming/web-development/threads/501216/how-to-play-video-on-jsp)" …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Quick Question(s)

    I honestly have no clue how to go about this. Need some assistance on the following questions: 1. Modify the program to subtract (num1 – num2). If num2 is greater …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Quick Question(s)

    That question 2 looks like it's straight out of a book on programming C++. In fact the one I looked up had it on page 321. To me a quick …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How to remove duplicate values from two lists

    Hi guys, could you tell me how to solve this problem. This is what i've done. The result show : [9, 2, 6] [3, 9, 5] l1 = [4,9,2,6] l2 …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How to remove duplicate values from two lists

    Since j doesn't start from 0 but one time. Try moving line 4 to after line 6.
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to COKEDUDE in strlen in for loop

    BESIDES having to do a bunch of unnecessary iterations in a for loop with strlen doesn't it also produce weird behaviors? http://www.cprogramming.com/tips/tip/dont-use-strlen-in-a-loop-condition The documentation uses size_t instead of int. I …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching strlen in for loop

    BESIDES having to do a bunch of unnecessary iterations in a for loop with strlen doesn't it also produce weird behaviors? http://www.cprogramming.com/tips/tip/dont-use-strlen-in-a-loop-condition The documentation uses size_t instead of int. I …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in strlen in for loop

    This is one of those "it depends" questions. If you compile with GCC and other compilers, well, not to give away the answer so read: http://ridiculousfish.com/blog/posts/will-it-optimize.html There's another issue with …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Wifi slower than ethernet

    I have an arris cable router that supports both 2.4 and 5 GHz bands, I used tools to find out which channel for each I should be using in my …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Wifi slower than ethernet

    I thought we dove into this. My bet is you didn't want to read up on channels and why I never use channel 1. Posting again? Let's hear what you …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Windows 10 start menu not working

    I put W10 on my daughter's laptop, and everything was fine at first. Now when you click the window icon for the start menu, nothing happens, so she can't get …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Windows 10 start menu not working

    Happened once to me. Not a hard lockup so I did a Ctrl+Alt+Del and used the Sign out option. Then the power down and that got me out. On the …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Wifi slower than ethernet

    I take it you didn't read the noted material. For a test run, try 20 for OFDM. And let's hope you figure out what I don't set these to channel …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Wifi slower than ethernet

    If you don't have 802.11a gear, that's a good move. As to OFDM, you can read the Wikipedia on WiFi Channels to see that plus see why channel 1 and …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Wifi slower than ethernet

    I have an arris cable router that supports both 2.4 and 5 GHz bands, I used tools to find out which channel for each I should be using in my …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Wifi slower than ethernet

    But what WiFi is that? 802.11n, g, ac, ??? And what about the ODFM? Finally, given WiFi Channels (google that for the Wikipedia) isn't 1 or the highest channel a …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in Allow user to resize the height of the editor

    > Have I mentioned how much I like it (now that I've given it a fair shake)? Were you one of the people who disliked it at first? I can't …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in Allow user to resize the height of the editor

    > Have I mentioned how much I like it (now that I've given it a fair shake)? Were you one of the people who disliked it at first? I can't …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching whats wrong in this code ?

    hi guys . i run this code but when i input the password it dosent show star against password . whats the problem ? #include <iostream> #include "conio.h" using namespace …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in whats wrong in this code ?

    I've done that on many systems over the years and how I do that varies if I'm on Windows, Android and Linux. I'm sure you looked up priors at https://www.google.com/#q=show+stars+password+in+c%2B%2B
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How to make Flappy Bird Clone in Java Console?

    Hello guys, so im new to programming, but i've been given task by my school to create a simple games(flappy bird clone) in Java Console, without using java swing. my …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How to make Flappy Bird Clone in Java Console?

    So something like https://studio.code.org/flappy/1 ?
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in C: Problem with removing specific record from a text file

    @negru. "it is not working" means I would have to work very hard. Sorry but you'll have to do that work for me. You can add printf statements aroung the …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Hassam_1 in Video chatting application in java

    And I have to do the same project within 2 weeks..
  • Member Avatar for rproffitt
    rproffitt

    Began Watching same Countdown on all forms

    Hey I am making a quiz containg 20 questions for which i have to set the countdown form1 contains 10 questions and form 2 contains next 10 questions and i …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in same Countdown on all forms

    @meghajatana, This is a great intro to a programming and system issue of "What time is it?" You may think your question is simple but most systems I know pull …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in C: Problem with removing specific record from a text file

    @negru, so it does appear your code hacks out items but doesn't rebuild the tree. Sounds like more work to be done. Keep in mind there are so many articles …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array Search Pseudocode help

    The assignment looks to be more than what you gave in your post. 95% of your post is a dump of the assignment. Where's your work and where is your …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Array Search Pseudocode help

    Hi, I need help if my Pseudocode is correctCreate and load an array with the following 7 values. Then add one more word (of your own choosing) to the array …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array Search Pseudocode help

    I looked this up at http://pastebin.com/3TGy9Pmi and this looks like the same as your post. The assignment seems to be fairly open ended. That is, there is more than one …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching C: Problem with removing specific record from a text file

    I am having a problem when trying to delete specific record from a text file. Data structure is as follows: typedef struct { char id[9]; char name[50]; float amount,price; }PRODUCT; …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in C: Problem with removing specific record from a text file

    It looks like you started with the concept of a linked list with left and right then in your delete decided to serially read in the file but skip over …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Sole Sad & Invisible Hack

    My friends website got hacked by the Sole Sad & Invisible malware. I'm not sure how or where to go to find how to remove / clean all the files …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Sole Sad & Invisible Hack

    In the past this hack was simple defacement. Clean it up, lock down your site and try a scan with https://sitecheck.sucuri.net/
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Finding the product without the (*) multiplication sign

    I have nothing to start with.. *sigh&
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Finding the product without the (*) multiplication sign

    @all. The debate of whether to be a fish store or a store that has tackle and bait has been kicked around for some time. So while sharing a C …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Xethiro in Array printing out squares instead of numbers

    Holy heck! I finally get what you are saying now and I actually just found out why my code wasn't working. Which was would honestly be more efficient, my professor …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array printing out squares instead of numbers

    Line 50 where you write output += (char)('0' + count) is as if you are thinking C code. I see Java in the tag and I'd use the Java's own …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching C program

    Hi, there's any way to shorten my code using making own functions?
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in C program

    There are many thoughts about shortening code. There the academics where code must be "just so" and no more. There is practical where the code met the spec (did the …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching I don't know where to go, and I think here is a beyond my skill level

    I'm looking to get back in to help desk support and have been out of the loop for five years. Is there some place out there that I can find …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in I don't know where to go, and I think here is a beyond my skill level

    There are so many help desk support jobs that are you asking about Nuclear Reactor Support or Windows or something else? Windows really didn't change too much in 5 years …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array printing out squares instead of numbers

    @Xethiro. I gotta ask now. Didn't a google of that find the document and maybe examples like: http://www.tutorialspoint.com/java/lang/integer_tostring_int.htm I don't mind all this but as a programmer I think you …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array printing out squares instead of numbers

    @X, with a little rework, line 53 can vanish. That is, just System.out.format instead of lines 45 and 50. That tosses out the need for the output array. But let's …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Array printing out squares instead of numbers

    The purpose of this assignment was to get a phone number and print out how many digits of each were in the phone number. Ex: phone number = 555-3311 1 …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Array printing out squares instead of numbers

    So why bother with those pesky number to character conversions (line 50) when we have System.out.format? https://docs.oracle.com/javase/tutorial/java/data/numberformat.html

The End.