rproffitt 2,701 https://5calls.org Moderator

Email so far doesn't allow you to control what you send me. So for now, you know not to send what you don't want shared to the world.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

That's too big a question. My choice of the database varies with my application. If on a web then I go with the usual SQL or what's included with the web host package.
If it's an app I go with SQLite since it's self-contained, embeddable, zero-configuration SQL database engine.

Try refining your question.

rproffitt 2,701 https://5calls.org Moderator

My guess is the font isn't fixed width. I don't have much of your code or device to work with (in fact none) but the most common gaffe is the font used.

rproffitt 2,701 https://5calls.org Moderator

First there are prior discussions on that so I'll keep it short. When you resize you redraw the contents. Most examples have a handler that does this for the object. Pausing here so to not duplicate the web.

rproffitt 2,701 https://5calls.org Moderator

"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
https://www.daniweb.com/community/rules

rproffitt 2,701 https://5calls.org Moderator

Naomi, I've been around the block on such systems before. It's not free. Some of the webinars might be free but tell what's up here. That is, there's always folk that are trying to find a way to create systems without learning to code. These tend to be pretty expensive so let's say you are exchanging dollars for the dev system and it's apps plus likely a fee for the final system on a quarterly basis, rather than paying a coder or your own dev team.

rproffitt 2,701 https://5calls.org Moderator

For me, it's evolution. I used punch cards at first (hey, they are still readable.) Then 8 inch floppy, some tapes then 5 1/4, 3.5 and now USB drives, sticks and optical. The neat part about all this is as time moved forward I could for cheap move my old stuff forward.

If the printed word was that vulnerable, it would not have examples that are centuries old.

rproffitt 2,701 https://5calls.org Moderator

Did you complete the Webinars?
http://www.lansa.com/events/

rproffitt 2,701 https://5calls.org Moderator

I see a LOT of updates at hp.com for this for W10.
http://support.hp.com/us-en/drivers/selfservice/HP-15-Notebook-PC-series/7771410/model/8525054 hopefully gets you there but I see 10 or more items to install. Did you do that?

rproffitt 2,701 https://5calls.org Moderator

For now, the reigning king of archive is the printed word. At about 1 million words you can find works that have been around for 50 and more years.

I'm unsure what more assurance you want on M-disc after reading what's on the web. http://www.pcworld.com/article/2933478/m-disc-optical-media-reviewed-your-data-good-for-a-thousand-years.html is 20 times the time span you asked for. The problem I see is that you already see the ODD (optical disc drive) is going the way of the floppy.

rproffitt 2,701 https://5calls.org Moderator

So line 70. What if divider is zero? Did you print each variable to see if that happened?

rproffitt 2,701 https://5calls.org Moderator

Skip down to "How to draw sequence diagrams" at http://www.agilemodeling.com/artifacts/sequenceDiagram.htm

I think they spell it out quite well and for me pencil and paper are my first cuts at the diagram. After that, when I need the pretty version I use UMLET at http://www.umlet.com/

rproffitt 2,701 https://5calls.org Moderator

I see more tag writers at http://id3.org/Implementations
For some this may mean too many choices.

PS. Sorry if you want source code. You can peruse the list at the link and see if they provide that. Some appear to do that.

rproffitt 2,701 https://5calls.org Moderator

Hmm. I see 5 bids at https://www.freelancer.com/projects/assembly/Mips-assembly-program-read-input/ for this as of now.

Looking for a discount?

rproffitt 2,701 https://5calls.org Moderator

@m. I have 2 Windows tablets here. A 10 and 8.1. But you are not telling all such as I'm new to Windows and not sure about how to configure my WiFi connection. I see 2 more buttons on your picture so what if this is not you creating a virtual hot spot but just new to setting up Windows? I can't tell from your posts so far.

rproffitt 2,701 https://5calls.org Moderator

@m. Sorry but if you can't fix that then time to replace it. I've used the Virtual Router for too many years so it's one of my go to solutions.

rproffitt 2,701 https://5calls.org Moderator

While I'm unsure what you are doing, did you try the free Virtual Router from say this link?

I've used it before and it did what I needed.

rproffitt 2,701 https://5calls.org Moderator

I put that code on an online IDE and the code section starting at line 30 seems to be troublesome. I suggest you rewrite it to use your array and not make assumptions about the array being in contiguos memory and of a 6 byte size.

rproffitt 2,701 https://5calls.org Moderator

Wait, wait, don't tell me. Did you just reveal that you don't have a backup of those drives? It appears that is the first order of business.

rproffitt 2,701 https://5calls.org Moderator

@MarkQ97
If I want to sort a file I can do this with a pipe.
cat file | sort -r > newfile

The sort flags are picked as you wish and my crude example is just that.

Your reply about a directory seems odd but I take it you need a reminder of Linux command lines. One can also not pipe but redirect like:
sort -r < file > newfile

And for more fun you can get the last so many lines with tail then sort like:
tail file|sort -r > newfil

rproffitt 2,701 https://5calls.org Moderator

The way I read your code is that k is 1 and i is 2 on every click of the button. If you meant to increment a number, why Dim?

Nod to Static.

Note: This only tackles part on what you are trying to do, so as to not write it for you, just a little note about one thing and not all things.

rproffitt 2,701 https://5calls.org Moderator

How about

sort -r

MarkQ97 commented: sort -r only sorts the directory, I want to sort the text file +0
rproffitt 2,701 https://5calls.org Moderator

Frankly this sounds like you've confused RDP and routing. I'm going to dismiss 99% of what you wrote and just write you are asking how to route using your linux server. This is not to hold a tutorial or seminar on routing so I'll just share what looks close enough to me. Read http://www.tecmint.com/setup-linux-as-router/

The answer to your topic question is yes. What you need is already in almost all Linux distros but once in a awhile you encounter folk that are looking for a GUI App to make it easy. So far I haven't found that.

rproffitt 2,701 https://5calls.org Moderator

While I do and did write too much assembly language long ago, I've always had to tell those that I want help from what CPU this is for.
In the case of a PC I might have to write that I'll be using BIOS calls for string I/O. But you didn't reveal that so on with a comment how I go from a probem statement to code.

It's a few steps. Mostly trying to write out each step. Like this.

  1. Input a number.
  2. Input a second number.
  3. calculate this.
  4. calculate that.

Notice we try to break it down in small steps that get us to bite size coding. If we have a step that encompasse too much we break it down again.

rproffitt 2,701 https://5calls.org Moderator

@Nick_10. Say do you run Windows 10. It's built in! Watch https://www.youtube.com/watch?v=idyTmk8krKU
Or just press the Windows Key + G then click record. No coding, just does it.

rproffitt 2,701 https://5calls.org Moderator

How about a while loop starting at line 7?

rproffitt 2,701 https://5calls.org Moderator

@Nick_10 I read the top 3 hits and it looks not abstract to me. That is, I do write code so everything looks ready to craft your new solution. This forum is very coding oriented so maybe you really wanted a shrink wrap app instead of Lego brick? (As in code you assemble for your own use.) Let's hope you can toss it to coders in your company.

I appreciate your question since I had meant to swing around to re-explore this later this or early next year. Your question made me check on it earlier.

rproffitt 2,701 https://5calls.org Moderator

This made me research like this.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

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 that takes you. Dell, if they have an office in your country would then be found and called. I don't know if you notice but not all things are on the web or done via email.

rproffitt 2,701 https://5calls.org Moderator

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..." without so much as a single line of code or what they tried.

Here's what I'm seeing here and on another forum. Folk are expecting fish and not a lesson on fishing. Some of those folk get upset and go away if you talk about where to go fishing rather than give them fish.

rproffitt 2,701 https://5calls.org Moderator

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 flip through the book seems to show there's a lot of text and work you had to complete before this exercise was given out. Maybe you need to go back to the chapters before this exercise?

nana_1 commented: True. I totally forgort. Here's all the work I've done. Please help debug. +0
rproffitt 2,701 https://5calls.org Moderator

Since j doesn't start from 0 but one time. Try moving line 4 to after line 6.

rproffitt 2,701 https://5calls.org Moderator

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 strlen() is it is still dangerous at times.

rproffitt 2,701 https://5calls.org Moderator

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 want to try next in your old post.

rproffitt 2,701 https://5calls.org Moderator

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 next power up it worked. This issue seems to happen to a few and it's on the web.

Here's a thing I'm seeing. Folk today are demanding 110% correct operation. But the PC hasn't changed since say pre-2000?

rproffitt 2,701 https://5calls.org Moderator

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 1.

rproffitt 2,701 https://5calls.org Moderator

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 top are poor choices.

While you're there, how many non-overlapping channels are there in 802.11n 40 OFDM?

rproffitt 2,701 https://5calls.org Moderator

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 bad idea?

rproffitt 2,701 https://5calls.org Moderator

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

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

@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 code you suspect or just single step in your IDE.

My overall observation is the design looks like one from decades ago. That is, no one I know would make a database like that. Why not use some SQLite or such? Free stuff without the headaches you are creating.

rproffitt 2,701 https://5calls.org Moderator

@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 time from local time which may be in sync or not with all 20 machines.

I've seen such end in riotious responses as one clock on one machine is plus or minus seconds from the next so your system design needs to figure out if giving one person a few more seconds matters or not before you write your app.

That is, think through the time issue first and how to give all contestants the same time.

rproffitt 2,701 https://5calls.org Moderator

@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 on removing items from search trees that I didn't duplicate that here. That is, you need to reconsider the design if it looks as I see it.

rproffitt 2,701 https://5calls.org Moderator

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 question?

rproffitt 2,701 https://5calls.org Moderator

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 correct answer but most important it must be your answer.

rproffitt 2,701 https://5calls.org Moderator

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 the item to be deleted and finally rename the files.

That would fundamentally break a linked list and is not so much a coding error but a design error.

Time to redesign? If you want to go with linked lists (right and left?) then a routine would be need to rebuild the links (left and right?)
https://www.cs.bu.edu/teaching/c/linked-list/delete/

rproffitt 2,701 https://5calls.org Moderator

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

rproffitt 2,701 https://5calls.org Moderator

@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 code to a Pascal question is like the OP asking for salmon and getting carp. Maybe it will do fine but it would be funny to read the OP complain with the gifts so far.

I've heard the wails about not supplying the answers over time and for coding forums the usual is to lead the person to find the answer or code the project.

If everyone supplied code then what happens when those that code move on? The forums would have to turn back to teaching how to fish?

Maybe "no actual answer" is the answer. How else will they learn?