Member Avatar
samiul_1 Joined the Community
Member Avatar
Topic by Joe_32 in Programming
c++
100%100 will not give you the correct answer I presume. Reply by ddanbe
Member Avatar
Topic by Joe_32 in Programming
c++
100%100 will not give you the correct answer I presume. Reply by ddanbe
Member Avatar
Anas_5 Joined the Community
Member Avatar
hridoykhan Joined the Community
Member Avatar
Jagdish_4 Joined the Community
Member Avatar
Topic by mangel.murti in Programming
php
I'm going with no. Since the bid can up by 0.01 there's no reason a bid can't be 0.01 or higher amounts during the 220 bids.

I find it interesting you wrote you are buying bids. That sounds kind of scammy. When I bid on something I don't have to … Reply by rproffitt
Member Avatar
diafol 3,669 Replied To a Post in PHPMail sending email right away
Topic by cainam29 in Web Development
php
Getting a bit of trouble working this out. Is this how it works?

1. User chooses dates in form and submits
2. Data selected from DB and sent to form
3. User manipulates data in form and submits (OR new dates selected and submitted as in step 2)
4. Data … Reply by diafol
Member Avatar
dao_1 Joined the Community
Member Avatar
Let say i have purchase 220 Bids for $30.80 , now i am going to place a bid for a product A, With each new bid the price goes up $0.01. is it meaning that i can place 1 to 220 any value during auction or in a deal when … Topic by mangel.murti in Programming
php
Member Avatar
DAN_22 Joined the Community
Member Avatar
Topic by Joe_32 in Programming
c++
its shows only 1000 , 500, 200 , 100 , 50 , 20 , 10 , 5, 1...
but cents not showing Reply by Joe_32
Member Avatar
Topic by Joe_32 in Programming
c++
still not showing the cents.. :( Reply by Joe_32
Member Avatar
Topic by Joe_32 in Programming
c++
Yes it is! Reply by ddanbe
Member Avatar
Topic by Joe_32 in Programming
c++
thanks..
but how should i make it..

amount * 100;
100%100

is that it? Reply by Joe_32
Member Avatar
Topic by Joe_32 in Programming
c++
For cents multiply by 100 and take modulo 100 Reply by ddanbe
Member Avatar
Hi good day.. i need your help with my exercises..
i need to know how to compute the cents.. in any given amount.. in denominations.. for C programming
Thanks..

Given amount : 1886.25

if (amount>=1000)

x = amount / 1000;
amount % 1000;
printf("%d",&x);

Answer is : 1

but for … Topic by Joe_32 in Programming
c++
Member Avatar
Featured rproffitt 868 Gave Reputation to pty in How to read online text file
Topic by Mr.M in Software Development
c++
Easy to forget how much power you have with the Unix toolbelt at your fingertips.

![Screen_Shot_2017-08-21_at_15_49_23.png](/attachments/large/0/4ef22f2c98e5999150e2ca7b9f168354.png) Reply by pty
Member Avatar
Joe_32 Joined the Community
Member Avatar
Featured pty 292 Replied To a Post in How to read online text file
Topic by Mr.M in Software Development
c++
Easy to forget how much power you have with the Unix toolbelt at your fingertips.

![Screen_Shot_2017-08-21_at_15_49_23.png](/attachments/large/0/4ef22f2c98e5999150e2ca7b9f168354.png) Reply by pty
Member Avatar
Featured Reverend Jim 1,850 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
Glad to help. Reply by Reverend Jim
Member Avatar
Featured Stefan_1 52 Marked Solved Status for Sort Images in Folders
Hello there :), i have bunch of pictures which the title is like this `Name-LastName-year-category-....` what i want to do is sort them all in folders which will have only their `Name-LastName` and all pics with that name go in that folder. Is there some tool for this job to … Topic by Stefan_1 in Microsoft Windows
Member Avatar
Featured Stefan_1 52 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
Since i didnt know the scripting language i downloaded program and added suffix at the end `-asd` and with that i made all images titles `a-b-c.jpg` and runned the script. The script finished its job great! Thank you, you two @rproffitt @Reverend Jim :) Reply by Stefan_1
Member Avatar
Featured Reverend Jim 1,850 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
Let me get back to you with the `a-b.jpeg` variant. The above code won't handle that yet. Before I do that, how does the other file name work? According to your original spec, this allows for something like

john-doe.jpg

Basically, only one file per person. How many files of this … Reply by Reverend Jim
Member Avatar
Featured Reverend Jim 1,850 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
>when i dubleclick the sortfiles.vbs exactly nothing happens

That's because you didn't read the instructions. I told you to run it by

cscript sortfiles.vbs

Apparently I was unclear in that you do this from the command line. vbScript files are executed by either `cscript.exe` (console) or `wscript.exe` (window). The default … Reply by Reverend Jim
Member Avatar
Featured rproffitt 868 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
@Stefen, while I see how, you must dig in a little here as your files, your responsibility. Blindly using scripts is something I don't advise.

Did you notice this line?
` if Ubound(flds) >= 2 Then

That section could be changed to just > 2 and then you could copy … Reply by rproffitt
Member Avatar
Featured Stefan_1 52 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
Okay i got it, but it sems like i have titles with just `a-b.jpeg` is it possible to process like that also ? Reply by Stefan_1
Member Avatar
Featured Mr.M 32 Replied To a Post in How to read online text file
Topic by Mr.M in Software Development
c++
@Thines01. I've tested your code and it does retrieve the data, but the issue that I'm having now is that on my other code that read a file on a local system uses a `getline` and `.find`, `npos` to find the specific data from the file but now I can't … Reply by Mr.M
Member Avatar
Featured rproffitt 868 Replied To a Post in Sort Images in Folders
Topic by Stefan_1 in Microsoft Windows
@Stefan. If you don't want the echo's, read https://ss64.com/vb/echo.html to either set them to not be interactive or comment, remove as you see fit. Reply by rproffitt
Member Avatar
Topic by Var_1 in Programming
Nobody's going to try and decipher/run all that code. What exactly is the problem? Try creating a [JSFiddle](https://jsfiddle.net/) or something. Reply by pty