345 Posted Topics

Member Avatar for Aeonix

Write some scripts that hammer the site and all the underlying services involved with work to do. At some point there will be something in the chain that can't keep up. A denial of service attack on your own site. Hopefully you can find that breaking point and figure out …

Member Avatar for AssertNull
0
416
Member Avatar for Thomas_36

Well I see the keyword "string", so you are using C++. So don't limit yourself to C, which you are doing. Stringstreams, containers, and algorithms are available in C++. If this a bunch of numbers separated by commas, go through your string and replace the commas with spaces, create a …

Member Avatar for rubberman
0
1K
Member Avatar for Saboor880

If you know what you're doing (which I don't), you can integrate MS Excel with MS Access and MS SQL Server, Visual Studio, etc. etc. and get the best of both worlds (spreadsheet that connects to databases). Again, I don't know how to do that, but I've seen folks that …

Member Avatar for Taywin
0
323
Member Avatar for Reverend Jim

> As when it comes to the topic, designers are paid to make website beautiful not visible for everybody. When I'm looking at faraway board, I can't really complain at my myopia (near-sightedness), people tell me to get glasses. I guess we live in the world where we need to …

Member Avatar for AssertNull
0
403
Member Avatar for roop_world

> what a pity, I can really need some help. Not a good way to get help. > I guess you didn't get the hint Ray. So here it is, no offense intended. Post your question as a new post. If you are looking for testers, go ahead and say …

Member Avatar for AssertNull
0
227
Member Avatar for nana_1

Seems like a job for getline using a comma as the delimiter. http://www.cplusplus.com/reference/string/string/getline/ Another way to do it is to read a line at a time, then use the one of the find functions in the string library along with the substr function and split the line into strings delimited …

Member Avatar for AssertNull
1
300
Member Avatar for Gabriela_2

> Why not use loops? Is there something you haven't told the forum such as this is a homework assignment or a code challenge? Has to be. Lots of teachers intentionally start off by making students do things a ridiculously difficult way by adding needless constraints like "no loops". Then …

Member Avatar for ddanbe
0
673
Member Avatar for joanelaine

> C:|User\Joan's Computer\new\new\jaAKSp This is certainly an odd path for Java or anything else. Agree with the others regarding you need to provide more details, one of which is whether this path actually exists on your computer or your registry. If it does, you should probably delete it. I can't …

Member Avatar for joanelaine
0
178
Member Avatar for happygeek

> watching from over the pond it looks like there are going to be some very short fingernails by tomorrow... Bizarrely enough it feels to me that non-Americans are more stressed out over our election than we are, our normally unflappable friends to the north in particular. My Canadian friend …

Member Avatar for AssertNull
2
994
Member Avatar for Michelle_8

Regarding the due at midnight part of your post, I won't give you the "You should have started sooner" lecture. We've all been there. That said, forums usually don't work in a way that allows that. People respond in their own time and it may not be before midnight. For …

Member Avatar for AssertNull
0
969
Member Avatar for Mr.M

You'll probably need to refine your question. You have it tagged with two different languages. You don't "read a file to get its bits". You "read a file to get its bytes". So to "read a file to get a bit", you do a few things in order... 1. Figure …

Member Avatar for AssertNull
0
663
Member Avatar for JamesCherrill

> Or, you could write a similar walker but for arbitrarily nested Collections Is there a difference between your "walker" and an "iterator"? "Walk", "traverse", "iterate", these seem like synonyms. Just thinking about naming conventions and a standard way of doing things. I note that you are not using/extending any …

Member Avatar for JamesCherrill
1
462
Member Avatar for Lorraine_2

> @OP. Reinstalling browsers and most apps keep settings. This means a reinstall is not a reset in the case of say Chrome, Firefox and other apps. Yup. However, the good news is that you can go into the settings and clear the cache, cookies, saved passwords, and there's often …

Member Avatar for Lorraine_2
0
348
Member Avatar for ELife

> heh heh - you can almost write the script by now :) Yep, this thread definitely pinged my Troll Detector. Note "Troll Detector", not "Spammer Detector". A pure spammer wouldn't bother to make that intro, then do the exact opposite, specifically targetting and praising the very people (Admins) who …

Member Avatar for AssertNull
0
172
Member Avatar for Zorrro

> I don't want to do anything with him. He is just very close to rest of my family. So I just want to make an excuse and I thought legal issues will be a good excuse. Like they say, you can choose your job, but you can't choose your …

Member Avatar for diafol
0
471
Member Avatar for Aeonix

> it doesn't care about social engineering If you're in the security business, you had better care about social engineering. That goes for all Operating Systems, all hardware, all applications, all programming languages. Computer security, like all security, takes time, effort, and commitment. Whenever you get a lazy or greedy …

Member Avatar for Reverend Jim
0
390
Member Avatar for Avishai_1

Verbatim copy/paste of homework doesn't fly here. Post a precise question when you're actually stuck."Stuck" means you've done everything you can do so far, which you'll post along with the question to show you've put in effort. No one gets an assignment like this off the bat, so you should …

Member Avatar for tinstaafl
-1
246
Member Avatar for Bryan_5

I'm thinking your problem has little to do with enumerated types versus integers and converting between the two. Instead it probably has to do with using pointers incorrectly. Assuming `VoidPtr` is typedefed as `void*`, `VoidPtr*` would be `void**` and thus `animalArray[i]` would be a `void*`. Thus your comparison of whether …

Member Avatar for tinstaafl
0
299
Member Avatar for FarrisFahad

> If this theory is true, how can a brand new website over rank an established one? Since the established one is ranked on 1st place and gets a lot of visitors, how can the brand new site beat the established one? Can some one explain, or confirm theory? I'm …

Member Avatar for AssertNull
0
321
Member Avatar for Ami Abdul

> No one uses Pascal any more I was thinking about that when I saw Jim's post about homework. It appears to be homework to me too. I can see PASCAL potentially being used occasionally to handle some legacy code written in PASCAL, but even that seems far-fetched by now. …

Member Avatar for AssertNull
-2
216
Member Avatar for Dani

> Looking for ones that are optimized for **this sorta thing**, and will easily accept some large font writing on them **while still being readable**. What exactly is "this sorta thing"? I ask this in all seriousness as I'm generally out of the loop when it comes to design issue. …

Member Avatar for diafol
1
496
Member Avatar for Brandon_9

> Could some of you give me your opinion on the site and what I should change/add? > I make money off of ad revenue Why would I pay you money to advertise on your site? Note, this is not intended as combative, it's the question that I would ask …

Member Avatar for AssertNull
0
307
Member Avatar for Peter_36

> What language is this being coded in? Tagged as C++. > How do I make a line of code that would go back to a part of a program without making it a loop? C++ has the goto statement. I know it's blasphemy to many to use goto, but …

Member Avatar for ddanbe
0
360
Member Avatar for nitin1
Member Avatar for i.

You are no longer in the world of pseudocode with this question. Converting/displaying is going to be software-specific. I actually took the time to install this Flowgorithm software. If there is an option to directly copy/paste the code you posted and run it, I don't see it. Looks like you …

Member Avatar for AssertNull
0
386
Member Avatar for i.

If flipCoin == tails Then Set flipCoin = tails Look at this code. Does it do anything? If not, take it out. Look at all your code. You need to stick some comments in there. Figure out how you would do it without a computer. Then code. What do you …

Member Avatar for AssertNull
0
552
Member Avatar for Jim_14

A few things jump out at me. "Access denied" might not mean this is a corrupted file. Try this... DOWNLOAD the file (download, don't open) to somewhere you definitely have full permissions (ie Desktop or Documents folder). Scan with antivirus. Check file permissions on file. Change if needed. You might …

Member Avatar for happygeek
0
314
Member Avatar for David W

> 1. Easiest possible use for a complete Java novice (e.g. require no knowledge of error handling). > 2. As bombproof as possible (e.g. deal sensibly with malformed input, unexpected eof). > 3. Unrecoverable errors fail hard and fast with a good explanation (e.g. throw an unchecked exception with an …

Member Avatar for JamesCherrill
0
1K
Member Avatar for johans22
Re: bits

Ditto the question regarding "changes on the fly". That could mean a lot of things. It could mean [this](http://stackoverflow.com/questions/6211429/callback-on-memory-access) or something else. You might need to provide an example. For example, what is supposed to happen when I do this? s1 instance; instance.Val3 = 7; I just changed Val3. If …

Member Avatar for AssertNull
0
260
Member Avatar for glao

> I would expect the : Exit from function to be executed only one time See Jim's post. > There is only one way to exit from the function and that is by falling through to the end. void message(int numbers) { cout << "Entry to function #" << numbers …

Member Avatar for glao
0
495
Member Avatar for AssertNull

Just submitted a reply to https://www.daniweb.com/programming/threads/506291/recursion-call-on-exit at roughly 3 pm California time (15 minutes ago) using Windows 10 Chrome. It's either lost or there is an extremely long delay. I was watching carefully. I know I pressed the right button ("Submit Your Reply"), I know there was no error message …

Member Avatar for Reverend Jim
0
378
Member Avatar for i.

Year 0 tuition = 6000 Year 1 tuition = Year 0 tuition times 1.02 Year 2 tuition = Year 1 tuition times 1.02 Year 3 tuition = Year 2 tuition times 1.02 Year 4 tuition = Year 3 tuition times 1.02 Year 5 tuition = Year 4 tuition times 1.02 …

Member Avatar for AssertNull
0
4K
Member Avatar for JamesCherrill

> They"unlicence" covers my personal position perfectly. Mine too. I understand the need to cover our bases with something like this with this boilerplate. In this particular case, I wouldn't imagine there's anything to worry about. It's a couple of levels above "Hello World" and intended to be. Thus there's …

Member Avatar for JamesCherrill
0
309
Member Avatar for lytonia

On my mobile, somehow I keep losing my post... Concur with RProffitt. You need to make it clear that you're expecting to do the bulk of the effort yourself. Learning to program involves banging your head against a wall trying and failing over and over again, to a point. Banging …

Member Avatar for ddanbe
0
384
Member Avatar for Dani

> defeat ad blockers and load anyways? Wouldn't this be a textbook definition of malware/spyware? If somewebsite.com is getting paid by someads.com to deliver ads to me when I browse somewebsite.com and they want to know how/when/where I am using somewebsite.com in order to optimize the ads delivered to me, …

Member Avatar for AssertNull
0
187
Member Avatar for glao

You first have `next` defined as a `Point*`. 11 is not a `Point*`. Then you redefined it as an `int*`. 11 is not an integer, not a pointer to an integer. So you have next defined as a pointer, not an integer, in both definitions. That is your error. I …

Member Avatar for glao
0
436
Member Avatar for can-mohan

> You are never calling the member a() and b() functions to initialize the variables, so they contain random data. a() and b() are the default constructors. They are called when the objects are created on lines 26 and 27. var is initializized to 0 and 12 in those default …

Member Avatar for AssertNull
0
470
Member Avatar for Nol_1

public static void Main(String[] args) "main" is case-sensitive. You have "Main". It's looking for "main". Change "Main" to lower-case ("main"), recompile, and give it a try.

Member Avatar for Nol_1
0
404
Member Avatar for AssertNull

See this thread. https://www.daniweb.com/programming/software-development/threads/506236/may-i-please-have-help-with-a-cannot-find-symbol-error The first line of my response is code and I did not forget to indent. I also used the `</> Code` button. It turned green like it should, so it looked fine. Then I hit submit and the code was in regular text. Edited it a …

Member Avatar for AssertNull
0
455
Member Avatar for laurel.jackson.12

You're close. Using ! as factorial as is used in mathematics and assuming i is the number of iterations here, if i is 5, e is approximated to 1 + 1/1! + 1/2! + 1/3! + 1/4! + 1/5! (so the ith term is 1/i!). e is the sum of …

Member Avatar for AssertNull
0
3K
Member Avatar for Tony_18

Your post is a little vague. You say you are a beginner and attempting to solve this problem using arrays and if-else statements and having difficulty. However, you do not specify what in particular you understand and what you are having difficulty with. In addition, there are overall approach to …

Member Avatar for AssertNull
0
161
Member Avatar for samsons17

> here is an offline version I made it using c# I see exe files, but no code. This is a programming forum. Are you going to share the code?

Member Avatar for AssertNull
0
1K
Member Avatar for Bryan_5

I'm seeing this for the getline spec. istream& getline (char* s, streamsize n ); http://www.cplusplus.com/reference/istream/istream/getline/ So you are providing an argument of type Title and the function expects a `char*`. Seems to me you need to declare a character buffer, then write a function that takes a `char*` and returns …

Member Avatar for tinstaafl
0
182
Member Avatar for Charizardly

> I looked up https://www.google.com/search?q=ikd and can't tell what you meant there. Wow, one of those cases where your mind subliminally reorders the letters. Didn't even notice "ikd". I read it as "idk" / "I don't know". > Ikd what the error is telling me as when it compiles, no …

Member Avatar for AssertNull
0
356
Member Avatar for zzQwerty

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 for David W
0
510
Member Avatar for AssertNull

I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those …

Member Avatar for AssertNull
0
379
Member Avatar for Douglas_5

> Your follow up gives me the feeling you are afraid to try things. Not necessarily a bad thing if one is not confident in one's ability to make controlled experiments that one can fix if those experiments don't work. When my brother's internet went down, he was not comfortable …

Member Avatar for Douglas_5
0
820
Member Avatar for Saif_3

It's not obvious to me what you intend for this code to do. On lines 10 and 18, your comment suggests you intend to remove multiple elements on these lines. However, I see ONE argument given to the erase function. According the the spec, supplying ONE argument will remove ONE …

Member Avatar for AssertNull
0
588
Member Avatar for phphp

> 5 years ago! Two months ago as far as I can tell from the link you posted (July 20, 2016) and two months ago the same thread is started here (actual date unknown, any way to view the actual date/time stamp on posts? "Two months ago" is a bit …

Member Avatar for diafol
0
284
Member Avatar for AssertNull

I am developing a Graphics package in Java that allows the user to draw triangles, squares, circles, etc. and group/move/manipulate them in order to make animated stick-figure movies. I have an interface that allows users to add figures with GUI buttons, drop-downs, mouse-clicks and the like, and also a text …

Member Avatar for AssertNull
0
1K

The End.