248 Posted Topics

Member Avatar for 0-<-<
Member Avatar for recher_14263

Two main methods: * Plug into an existing utility (`wget` or `curl` for example) * Link against an existing library with the level of abstraction you need

Member Avatar for GunnerInc
0
1K
Member Avatar for waleed2564

We don't do your homework for you, and this sounds like a homework assignment. What code have you got so far? Where are you stuck?

Member Avatar for Assembly Guy
0
71
Member Avatar for SuperKingGT

I've got a function for doing that sitting on my PC, but to save me digging it up and to help you through the problem, could you show us the pseudo routine and/or assembly code for your integer to string conversion? Smiley faces are either 0x1 or 0x2, 0x1 being …

Member Avatar for SuperKingGT
0
2K
Member Avatar for Rahul47
Member Avatar for najiawad0

>Should I get ubuntu on my mac? I've never been so unfortunate as to own a Mac, but I'm sure it's possible. Should you? If you want to, go for it. >Is it good for programming? As good as any other distribution of linux. >Does DirectX support linux? As Greg_z …

Member Avatar for Violet_82
0
269
Member Avatar for RandomGuy32

>Mods, since no one has responded, can you take this post down? Look on the bright side, someone might come up with a solution and it may solve someone else's problem many, many years into the future....

Member Avatar for Assembly Guy
0
110
Member Avatar for sh0na
Member Avatar for johnzer21

You sure can ask, but AFAIK you probably won't get a good answer unless you provide more detail and context.

Member Avatar for KushMishra
0
135
Member Avatar for kal_crazy

>Happy New Year! (in advance or belated, depending on where you are!) Belated, seeing as we're UTC+13. Here in New Zealand we're 175°E-ish so 5° of longitude away from being the first in the word to enter the new year.

Member Avatar for kamranali441
1
344
Member Avatar for DjFumon

The cut_str() isn't included in the standard PHP installation, it's probably been written by you or someone else, in a PHP source file. Nobody else has a copy of this function's code because it only exists in your code. Please post the `cut_str` function's code.

Member Avatar for cereal
0
428
Member Avatar for richieking

>It really depends on what granularity you're looking for. More precise timing becomes more and more difficult, as you mentioned, for various reasons. Anyone going to be cheeky and submit a snippet which uses the PIT? Wait, no it wouldn't be portable - it'd be doomed for use on DOS …

Member Avatar for deceptikon
0
2K
Member Avatar for yann.bohbot.9

>Any help? You'll have to be more patient, please wait more than simply 4 hours before bumping like that. Give it at least 24 hours, as some people aren't in the same timezone as you.

Member Avatar for yann.bohbot.9
0
351
Member Avatar for Iikeloa

>how can I hide this error!? You really should use mysqli_* or else one day in the future when you upgrade PHP, your code will just stop working, and you'll have PHP complaining that mysql_connect() doesn't exist. When functions are deprecated, it is a sign that you must begin migrating …

Member Avatar for Iikeloa
0
207
Member Avatar for grahambanes

Would people please **stop reviving this thread**? Can we get a mod to lock it or something?

Member Avatar for pritaeas
1
1K
Member Avatar for pelle12

Ohh crap, here we go with a potential flame/argument/back-and-forward/opinion thread. Oh well, it's been civilised so far, let's keep it that way. I've used both `vi` and `nano` and prefer nano simply because I find it more user friendly. Then again, I never do serious editing in a terminal.

Member Avatar for mike_2000_17
0
379
Member Avatar for subbudaita

You can sort-of dynamically create tuples, for example: name = "Jim" last_name = "Beam" mytuple = (name, last_name) However, you'd not be able to dynamically change the size of a tuple. That sort of thing's hard-coded.

Member Avatar for Assembly Guy
0
111
Member Avatar for glenn_boy13

A whole hour? That's nothing ;) But seriously, good on you for soliving the problem yourself and posting the solution for others.

Member Avatar for Assembly Guy
0
421
Member Avatar for nitin1

>Go to a decent store selling musical instruments I second this. I had a cousin who picked up a $60 electric guitar + amp package from what was basically a supermarket bargain bin simply because it was cheap. He thrashed the whammy bar while playing some band like Burzum and …

Member Avatar for nitin1
0
190
Member Avatar for sarila

>Can anyone help me? You can help us help you by asking your question more clearly and first showing some effort towards solving the problem.

Member Avatar for Assembly Guy
0
68
Member Avatar for ali moh

You agreed to [these rules](http://www.daniweb.com/community/rules) when you signed up. I'll quote from that very page: >Do provide evidence of having done some work yourself if posting questions from school or work assignments

Member Avatar for Assembly Guy
0
65
Member Avatar for ArnoldRich

>I think you can use any compiler which has the ability modify the linker, GNU's compiler has linker scripts which controls this important aspect. No, no, no, no, don't make that assumption. Unfortunately, it's more complicated than that. A toolchain is compiled to handle the quirks and twists of the …

Member Avatar for ArnoldRich
0
179
Member Avatar for pritaeas

>they can increase the tax on it. Thus penalising everyone for a minority's mistakes?

Member Avatar for diafol
0
981
Member Avatar for @di007

In case you don't get it, what deceptikon is talking about is the homework policy.

Member Avatar for Assembly Guy
0
111
Member Avatar for HenryR7
Member Avatar for richieking
0
189
Member Avatar for brian.benner.37

As long as a new HDD can connect to the motherboard, you should be fine on that issue. AFAIK, all new HDDs now have a SATA interface, so your mobo would need a SATA connector. That's the main thing to check just off the top of my head.

Member Avatar for shdwmage
0
263
Member Avatar for theashman88

`set /p` is a `set` command with a 'prompt' flag fed to it, meaning that it will prompt the user for a value to set the variable to. Example (untested): set /p "myvar=Enter a value: " echo You said %myvar% To answer your second question, check out [DosTips](http://dostips.com).

Member Avatar for cuzintone
0
310
Member Avatar for deceptikon

Let's take AD's point to the extreme: >someone can always replace the intended program with his/her own malicious one Okay, what if someone replaces libc with their own malicious one, with all of the original code in there, such that programs will still run, but there will be malicious code …

Member Avatar for Assembly Guy
0
305
Member Avatar for code2cplus

>Hai can any one modify this code to produce the combination that will be able to pronounce? I mean if the input is abc then it should produce cab and bac only. not all of it. To do this, you'd have to sit down and write out pairs (maybe even …

Member Avatar for Assembly Guy
0
685
Member Avatar for princessophia

Also, if you're not explicitly required to write a string length function, you can use `strlen()`. And if you're into optimising your function, you could do something like the following, but if you're only just starting C++, then don't listen to the next bit :) unsigned int Count_characters(const char *string) …

Member Avatar for Assembly Guy
0
255
Member Avatar for 759153

We don't do your homework for you, you must first show us your code/progress so far.

Member Avatar for Assembly Guy
0
381
Member Avatar for NardCake

For a start, some compilers allow a declaration of a variable inside a for loop, eg `for(int i=0;...`. Also, you can cut out comparisons with 0 like `if(i%3==0&&i%5!=0)`. If `i%3` is 0, then it is effectively a boolean with value FALSE, otherwise it's a boolean TRUE. Also, you don't need …

Member Avatar for NardCake
0
622
Member Avatar for Stuugie

Do you mean that Ubuntu set up a tiny partition and is only using that? Maybe post a summary of `sudo cfdisk /dev/your-hdd-or-disk-or-whatever`. You can extend and shrink partitions fairly safely using gParted, remembering to run it from a disk which isn't the one you're changing.

Member Avatar for Stuugie
0
256
Member Avatar for vegaseat

@JeffGrigg the downvoter, this is a code snippet, not a thread. You might like to look a little more carefully before asking what the OP's question is :)

Member Avatar for Nils_1
4
2K
Member Avatar for OWSOME.GUY
Member Avatar for xcarbonx
Member Avatar for Ancient Dragon

While we're on the topic of the buttons, I find them a bit standy-outy. I find them to draw attention away from the post. Maybe if they were more pale? Maybe it's just me.

Member Avatar for Reverend Jim
2
183
Member Avatar for saja.omarii.7
Member Avatar for linhevermind

I'm afraid you'll need to explain more clearly before anyone can help you - maybe provide a screenshot of what these popups look like too.

Member Avatar for Deep Modi
0
101
Member Avatar for v.r.t
Member Avatar for vegaseat
0
158
Member Avatar for saja.omarii.7

We don't do your homework for you. Show some effort or an attempt and come back with a specific question.

Member Avatar for saja.omarii.7
0
381
Member Avatar for Career

Search Engines are smarter than to take 3 links to your website on the same thread and count them as backlinks.

Member Avatar for lalit_burma
-1
223
Member Avatar for asif49

If it's on the 'Deep Web' (ie if it's a hidden ToR service) then no. Otherwise, you might as well have a try at getting it shut down - talk to local authorities.

Member Avatar for Ancient Dragon
0
870
Member Avatar for arifkutty
Member Avatar for arifkutty
0
210
Member Avatar for WEB-REPORTER

>On my end, the load time is 0.28 seconds (further from the server, I guess) AFAIK, (and if you're talking about the thing in the footer), it's how long it took for the page to be generated, before dispatch to the client, so your distace from the server or link …

Member Avatar for diafol
-8
318
Member Avatar for kyle.mace.35

Care to share your solution for people who might have the same problem in future?

Member Avatar for Assembly Guy
0
3K
Member Avatar for nitin1

You're forgetting that the compiler can optimise. Who's to say the compiler doesn't change a multiplication into something like #1, and simplify #2 to #1? There are too many variables here to say for sure which is the fastest when it is put into practice. >The only minus is the …

Member Avatar for rubberman
0
261
Member Avatar for cuivenion

>I understand but I've already deleted it. You could undelete it, then shred it. OR you could use `dd if=/dev/urandom of=filler` to fill up the empty space on your disk with random data. Just to be sure that the file's data still isnt there

Member Avatar for cuivenion
0
236
Member Avatar for nitin1

>If you work at home, then yes you can. That would be omitting the fact that a lot of clients are driven away by people who aren't suit-wearing, conforming pricks. But four posts up, happygeek dealed with that issue.

Member Avatar for BigPaw
0
225
Member Avatar for diafol

Looks fine for me, although I'm running Firefox and Chromium on Linux, not Chrome on Win7

Member Avatar for diafol
0
307

The End.