Segsalerty's Posts
Nairaland Forum › Segsalerty's Profile › Segsalerty's Posts
1 2 3 4 5 6 7 8 9 10 11 12 (of 26 pages)
Dolemite: ![]() is that what u think ? well, i learnt from reading / spying peoples codes, that was how i developed myself and got lil advanced . Thats the help am rendering here so, no crime The more people's code u read and understand the logic it takes to solve problem, the more it widen homan memory and make u independent later ! u wont rely on anyone's code again or whatever looking up for codes online, u will then think of one of the 1001 ways of solving any programming task/problem. ![]() and u didnt even give us feedback to the problem u posted here, hope its solved now @Lolade123 Hope ur problem is solved now? |
google will so much help u if u search for a picture uploading php script ![]() |
[quote author=sweet-pawn link=topic=638242.msg8055170#msg8055170 date=1301991263]AH, WORKS LIKE A CHARM! THIS POST WAS LARGELY IGNORED UNTIL I CAME AND FEIGNED IGNORANCE ON ITS SOLUTION. IMMEDIATELY FOLKS RUSHED IN TO SHOW OFF THEIR REMARKABLE TALENTS. ITS EASY TO GET NIGERIANS TO DO WHAT YOU WANT THEM TO DO FOR YOU, ONCE YOU KNOW THEIR PATTERN! ![]() WELL, GOODLUCK TO THE OP. I GUESS NOW YOUR PROBLEM'S SOLVED![/quote] ![]() |
oguntadej:so, u still exist? not even a THANK YOU for the book i emailed u without knowing u ! anyways, thats bad coz of next time ![]() |
lolade123: ![]() are u sure about that ? here is ur solution **************************************** import java.util.List; import java.util.ArrayList; import java.util.Scanner; public class Test{ private List<Integer> listOfNumbers; private Scanner scan; private int negativeCount = 0; private int positiveCount = 0; private int zeroCount = 0; private String negativeString = "Negative Numbers are : "; private String positiveString = "Positive Numbers are : "; private String zeroString = "Zero Numbers are : "; public Test(){ listOfNumbers = new ArrayList<Integer>(); scan = new Scanner(System.in); collectTheInputs(); process_printOutPut(); } private void collectTheInputs(){ System.out.println("Enter each Digits u want to key in and press Enter after each : \t GoodLuck lolade123 !" ;for(int i = 0; i < 5; i++){ try{ listOfNumbers.add(scan.nextInt()); } catch(Exception e){ listOfNumbers.add(0); //since the value entered cannot be classified as an integer, so, make it 0 as default } } } private void process_printOutPut(){ for(int x : listOfNumbers){ if(x > 0){ positiveString += String.valueOf(x) + ", "; positiveCount++; } else if(x < 0){ negativeString += String.valueOf(x) + ", "; negativeCount++; } else{ zeroString += String.valueOf(x) + ", "; zeroCount++; } } //after the loop System.out.println(positiveString + "\t and COUNTS to : " + positiveCount); System.out.println(negativeString + "\t and COUNTS to : " + negativeCount); System.out.println(zeroString + "\t and COUNTS to : " + zeroCount); } public static void main(String []args){ new Test(); } } ************** hope it solves ur problem |
u should have tried putting sample inputs and sample outsputs coz my ENGLISH is bad ![]() That grammer is tough for me, u mean input like 3. -4. 0. 5, 0 output should then be 1 negative value 2 positive value 2 zero value abi ? or output be : Negative Values : -4 Positive Values : 3, 5 Zero Value : 0, 0 abi ? ![]() |
use getch(); before your return 0; in ur main method, ok ? |
three or four months? Kidnapping abi wat ? lolz anyways, am available if u need me segsalerty@yahoo.com |
@dolemite I will like to see ur code , but, anyways, i can guess what the problem might be, ******* after assigning 'response' variable from user , just try tune this into ur code do{ ///ur do response = input.next().charAt(0); //say if(response == $$$your NO value$$$){ break; } }//end of do while(blah blah blah); hope this works your break can exit from the loop as soon as respose = n |
@CodeJava This function : public static String formatValueTo_twoDecimalPlaceString(String s){ String val = ""; DecimalFormat df = new DecimalFormat("##############0.00" ;try{ val = df.format(Double.valueOf(s)); return val; } catch(Exception Ne){ return ""; } } just add it to ur class and use it wherever, the above code isnt add to implement and its okay to put String rep of a double value into ur Ammount Colum(VARCHAR datatype) and if u want to turn it back to double for arithmetic calculations , just say double.parseDouble(****data from database ***); hope this helps |
sorry guyz, let me sharply post the link to the Client UI for Otuabaroku http://www.sendspace.com/file/uk4bs0 Pls, download the client of the Suermarket server from here , Launch the one that has suffic '_localhost' if ur computer isnt connected to the LAN, else , Launch '_LAN' if ur sys is connected to a WLAN or LAN , Launch Server before the client , Create remote server before launching Client Send Critics to my email segsalerty@yahoo.com, it will be highly appreciated ![]() I just woke up, got Class by 10am , i wan sharply go do some necessary stuffs and come and attend to the questions on wall. Please hold ![]() |
codejava:Sorry bro, ur code is so much freaking difficult for me to understand , but, i guess u are trying to convert a Text(String) to an amount value rep as double val (i.e 300.00 and 450.89) right ? if thats it, this is something i cooked up sometimes ago i needed smth like this solution, i just modified it for ur own case , hope it will help u by modify what i did then to what u want to do///////////////////////code starts here, just copy past the class and compile and run like this "java Test 780" or whatever value u put as first arg import java.text.DecimalFormat; public class Test{ public static void main(String []args){ System.out.println("This is the Decimal Value of the input String (GOOD AS IT RETURNS STRING COZ double rounds any .0) is : " + formatValueTo_twoDecimalPlaceString(args[0])); System.out.println("This is kinda useless but for u to see why the method up is preferred : " + formatValueTo_twoDecimalPlaceDouble(args[0])); } public static String formatValueTo_twoDecimalPlaceString(String s){ String val = ""; DecimalFormat df = new DecimalFormat("##############0.00" ;try{ val = df.format(Double.valueOf(s)); return val; } catch(Exception Ne){ return ""; } } public static Double formatValueTo_twoDecimalPlaceDouble(String s){ double result = 0.0; DecimalFormat df = new DecimalFormat("##############0.00" ;try{ result = Double.valueOf(df.format(Double.valueOf(s))); return result; } catch(Exception Ne){ return 0.0; } } } /////////////////////////////////////// sorry that i dont like putting comments inside small java code ![]() i believe u will grab the concept and helps u solve ur problem Wish u Happy Coding ! ![]() |
Sorry,, I forgot to drop the default password. admin its case sensitive, U see how the software created and configured MySql when u launched it? Eachtime the program is running. The app MySql is turned on and when the app exit, The MySql is killed ! Login, register the software, setup ur supermaket to ur taste, add items enough items and add remote users. And wait till tonight when am gonna send the link to the client UI |
@Avasoft Here is the download link for the Server Side of the Application http://www.sendspace.com/file/qppvdi Size : 93MB File Type : Zipped Any other interested person can also download this I will put link for the Client side as soon as i upload am |
u are so much welcome , Hope problem solved? ![]() If u want to see how an Embedded MySQL works, u can download this 93MB file Its a E-Super Market Generic Solutions that i developed implementing the MySQL-mxj Library. see how it works and how its driven, if u have any question, free to ask download link is : http://www.sendspace.com/file/qppvdi |
what i explainded earlier answered ur question.In summary , the best solution for this ur problem is using Microsoft-Access DB or JavaDB or probably make use of a text file ! Here are my reasons **************** MySQL is a program, it needs to be launched/executed before u can access its Resources/Tables by providing its "Host Address" there is no how u can extract tables from this MYSQL without SQL query ![]() Abi, how was ur URL string that u specified in ur java code when u were using ur MySQL driver? what was ur host name ? my previous post are the only 2 ways of using MySQL database packed with ur application setup, else, the person will install MySQL separateley. best bet for u now is using Microsoft Access or JavaDB hope this helps |
Yah Yah Yah ! Read about "MySQL-MXJ" --- with this library by MySQL, u can package ur java application and at launch u can tell ur app to create a MySQL database 'PROCESS' and u can create new database, config / create and access tables data and so on both on LOCALHOST and REMOTELY ![]() The remote accessibility of this library implementation makes java db programming so freeking sweet ![]() Another one is "MySQL-je" --- is an open source library that a programmer developed with the dynamic library ".dll" of MySQL engine to embed MySQL db with ur app and then do same as real "MySQL" but it currently doesnt allow REMOTE ACCESS ![]() if u cant use any of these two, Better u use java db that is default db library that comes with ur jdk Hope u find what u need? ![]() |
Dolemite: Ha, am just a baby newbie, u re making my head swell already! anywayz, anytime ! |
Thumbs up ! This is nice Hommie , ![]() |
csharpjava:true Talk ! ![]() |
so, lets go there Mr Avasoft ! ![]() hey, and lets chat on segsalerty@yahoo.com Just browsed ur site / products, Nice one indeed . lets see if we can probably do things together . ![]() |
Yeah ! Here i come again my fellow Programmers and Developers in the house, I need any of the above to help me with any or all of the following * Standard Scrutunization of My Software both the Server Side and Client * Present a report after testing on what should be added to the design and implementation to make it GENERIC * Ready to design a well Documented Installation Manual and User Manual * Marketting and Broadcasting contribution to make this available for GLOBAL use. (Well, Lets Nigerians use it first) * A devoted researcher to research the area of use where this application can be used and how to make it satisfy users need * A legal practisional to get necessary license for the software to be used legally and securely or whatever thats needed * and Lastly, A programmer to work with the program to drive it WILD , lolz Whats this software? I call it : E-SUPER MARKET UNIVERSAL SOLUTION V 1.0.0.2 Whats it use? From the software name, its friendly enough to know what its gonna be used for. But Technically, This sofware is so designed to solve any BUSINESS that has to do with STOCKs, CASH , SALEs i.e Big/Small Supermarkets, Pharmacies, Warehouses, Fast Food, and e.t.c (wheather they do Wholesales only, Retails only or the do both) This software will drive the BUSINESS flexibly Why calling for the above? Want to take the world of Nigerian Developed Applications to the next level! How? Dont u think its bad development practise to develop different applications to solve thesame problem? Why should you DEVELOP a software for Mr A that sells Suya and later Mr B that also sells suya came to you saying he loved how your application worked for Mr A and wants something like that for his suya spot. but, due to some reasons, he said "He cant use Mr A type of software that u need to do some MODIFICATION!" --- Sure, u can just modify your codes and give to Mr B, what if Mr C to Mr Z now come to u with same ish , what is that ? My people, that should stop happening ! We can do better , i havent really figured out how this is gonna happen, but, i have been reasoning on how to Implement the GENERIC design Method of Software Engineering/ Development . Thats why i need interested people to be with me , sure, there are 1 billion of applications u can think of developing that will be useful to your target users in solving there problems one way or the other, With GOD's GRACE, I have really done alot to make it happen to this Super Market Solution Yeah , Its a Standalone Client and Server Application developed in JAVA . Its easy to install coz DATABASE is embedded (using MySQL-mxj) , Structure & Data Management of the DB is Dynamic- depending on the user's Module. (It handles Wholesales Retail and Both) Secure Authentication and Data Access Management , Admin has its own Priviledge and Clients who are to make the sales have restricted priviledge Well optimized search for Items even if u have millions of items in stock, Dynamic Reciept with easy reference search of a sales reciept. Real-time sales report, stock report and clients report . Real-time DATA BACKUP on removable devices or whatever and can be restored anytime Live update , whenever i come up with an update, Your software will be updated automatically if u grant it! anytime u connect to the internet and many more , Like i said in this post title, i need Help. if u think u are Devoted and ready to Work with me in any of the ffg, Just Holla at me on segsalerty@yahoo.com, 08025481373, 07051830762 Note : This software is FREE ! My intention is to Deploy it for free, am not interested in the MONEY now ! When it meets the target ,, sure, money will start to come. If u join the team, sure, u will have right to install this software for anyone and you can charge your client for installation fee or whetever , the Sales of this application isnt my target now. I bet it, this application is ROBUST and so CLASSIC! Thanks to those interested , if u have any comment, questions or critic Holla here Mustafa Segun A |
i cant understand why whoever is it thats deleting my new created topic 2wice now, the first time, i was banned, whatever implying that its a spam, i sent an email for re-opening , now, they no want am stay ! ![]() i rest my case |
I Need A Devoted Software Programmer, Tester, Or Specialist Yeah ! Here i come again my fellow Programmers and Developers in the house, I need any of the above to help me with any or all of the following * Standard Scrutunization of My Software both the Server Side and Client * Present a report after testing on what should be added to the design and implementation to make it GENERIC * Ready to design a well Documented Installation Manual and User Manual * Marketting and Broadcasting contribution to make this available for GLOBAL use. (Well, Lets Nigerians use it first) * A devoted researcher to research the area of use where this application can be used and how to make it satisfy users need * A legal practisional to get necessary license for the software to be used legally and securely or whatever thats needed * and Lastly, A programmer to work with the program to drive it WILD , lolz Whats this software? I call it : E-SUPER MARKET UNIVERSAL SOLUTION V 1.0.0.2 Whats it use? From the software name, its friendly enough to know what its gonna be used for. But Technically, This sofware is so designed to solve any BUSINESS that has to do with STOCKs, CASH , SALEs i.e Big/Small Supermarkets, Pharmacies, Warehouses, Fast Food, and e.t.c (wheather they do Wholesales only, Retails only or the do both) This software will drive the BUSINESS flexibly Why calling for the above? Want to take the world of Nigerian Developed Applications to the next level! How? Dont u think its bad development practise to develop different applications to solve thesame problem? Why should you DEVELOP a software for Mr A that sells Suya and later Mr B that also sells suya came to you saying he loved how your application worked for Mr A and wants something like that for his suya spot. but, due to some reasons, he said "He cant use Mr A type of software that u need to do some MODIFICATION!" --- Sure, u can just modify your codes and give to Mr B, what if Mr C to Mr Z now come to u with same ish , what is that ? My people, that should stop happening ! We can do better , i havent really figured out how this is gonna happen, but, i have been reasoning on how to Implement the GENERIC design Method of Software Engineering/ Development . Thats why i need interested people to be with me , sure, there are 1 billion of applications u can think of developing that will be useful to your target users in solving there problems one way or the other, With GOD's GRACE, I have really done alot to make it happen to this Super Market Solution Yeah , Its a Standalone Client and Server Application developed in JAVA . Its easy to install coz DATABASE is embedded (using MySQL-mxj) , Structure & Data Management of the DB is Dynamic- depending on the user's Module. (It handles Wholesales Retail and Both) Secure Authentication and Data Access Management , Admin has its own Priviledge and Clients who are to make the sales have restricted priviledge Well optimized search for Items even if u have millions of items in stock, Dynamic Reciept with easy reference search of a sales reciept. Real-time sales report, stock report and clients report . Real-time DATA BACKUP on removable devices or whatever and can be restored anytime Live update , whenever i come up with an update, Your software will be updated automatically if u grant it! anytime u connect to the internet and many more , Like i said in this post title, i need Help. if u think u are Devoted and ready to Work with me in any of the ffg, Just Holla at me on segsalerty@yahoo.com, 08025481373, 07051830762 Note : This software is FREE ! My intention is to Deploy it for free, am not interested in the MONEY now ! When it meets the target ,, sure, money will start to come. If u join the team, sure, u will have right to install this software for anyone and you can charge your client for installation fee or whetever , the Sales of this application isnt my target now. I bet it, this application is ROBUST and so CLASSIC! Thanks to those interested , if u have any comment, questions or critic Holla here Mustafa Segun A |
Yeah ! ![]() Here i come again my fellow Programmers and Developers in the house, I need any of the above to help me with any or all of the following * Standard Scrutunization of My Software both the Server Side and Client * Present a report after testing on what should be added to the design and implementation to make it GENERIC * Ready to design a well Documented Installation Manual and User Manual * Marketting and Broadcasting contribution to make this available for GLOBAL use. (Well, Lets Nigerians use it first) * A devoted researcher to research the area of use where this application can be used and how to make it satisfy users need * A legal practisional to get necessary license for the software to be used legally and securely or whatever thats needed * and Lastly, A programmer to work with the program to drive it WILD , lolz ![]() Whats this software? I call it : E-SUPER MARKET UNIVERSAL SOLUTION V 1.0.0.2 Whats it use? From the software name, its friendly enough to know what its gonna be used for. But Technically, This sofware is so designed to solve any BUSINESS that has to do with STOCKs, CASH , SALEs i.e Big/Small Supermarkets, Pharmacies, Warehouses, Fast Food, and e.t.c (wheather they do Wholesales only, Retails only or the do both) This software will drive the BUSINESS flexibly Why calling for the above? Want to take the world of Nigerian Developed Applications to the next level! How? Dont u think its bad development practise to develop different applications to solve thesame problem? Why should you DEVELOP a software for Mr A that sells Suya and later Mr B that also sells suya came to you saying he loved how your application worked for Mr A and wants something like that for his suya spot. but, due to some reasons, he said "He cant use Mr A type of software that u need to do some MODIFICATION!" --- Sure, u can just modify your codes and give to Mr B, what if Mr C to Mr Z now come to u with same ish , what is that ? My people, that should stop happening ! We can do better , i havent really figured out how this is gonna happen, but, i have been reasoning on how to Implement the GENERIC design Method of Software Engineering/ Development . Thats why i need interested people to be with me , sure, there are 1 billion of applications u can think of developing that will be useful to ur target users in solving there problems one way or the other, With GOD's GRACE, I have really done alot to make it happen to this Super Market Solution Yeah , Its a Standalone Client and Server Application developed in JAVA . Its easy to install coz DATABASE is embedded (using MySQL-mxj) , Structure & Data Management of the DB is Dynamic- depending on the user's Module. (It handles Wholesales Retail and Both) Secure Authentication and Data Access Management , Admin has its own Priviledge and Clients who are to make the sales have restricted priviledge Well optimized search for Items even if u have millions of items in stock, Dynamic Reciept with easy reference search of a sales reciept. Real-time sales report, stock report and clients report . Real-time DATA BACKUP on removable devices or whatever and can be restored anytime Live update , whenever i come up with an update, Your software will be updated automatically if u grant it! anytime u connect to the internet and many more , ![]() Like i said in this post title, i need Help. if u think u are Devoted and ready to Work with me in any of the ffg, Just Holla at me on segsalerty@yahoo.com, 08025481373, 07051830762 Note : This software is FREE ! My intention is to Deploy it for free, am not interested in the MONEY now ! When it meets the target ,, sure, money will start to come. If u join the team, sure, u will have right to install this software for anyone and you can charge ur client for installation fee or whetever , the Sales of this application isnt my target now. I bet it, this application is ROBUST and so CLASSIC! Thanks to those interested , if u have any comment, questions or critic Holla hereMustafa Segun A ![]() |
Oh, Okay, thanks. I appreciate! Hope the poster finds it useful. |
Number of USERS increasing ! |
import java.util.Scanner; public class Lolade123{ public static void main(String []args){ Scanner s = new Scanner(System.in); System.out.println("i want to print five digit input from a user to diplay meaning three spaces between the digits.and also alert if the input is less or more than 5 digits" ;System.out.println("Chikenna : Oya, Enter am !" ;try{ int digits = s.nextInt(); String val = String.valueOf(digits); if(val.length() > 5 || val.length() < 5){ System.out.println("Digit of numbers u provided not valid ooo !" ;} else{ System.out.printf("%s %s %s %s %s", val.charAt(0), val.charAt(1), val.charAt(2), val.charAt(3), val.charAt(4)); } } catch(Exception e){ System.err.println("Exception in imput happen ooo ! Cause ? : " + e.getMessage()); } } } sorry say i no put comment, want to test if u go understand am without comment ! ![]() Note: there are 1 thousand and 1 ways of writing a program to solve a problem , my code isnt the solution coz u can write a beta one! |
Hello Hello , u need me ? ![]() |
Cockyzy:u no even wan do anything for urself at all ooooo ![]() u never ready to learn !!!! |
. Thats the help am rendering here
The more people's code u read and understand the logic it takes to solve problem, the more it widen homan memory and make u independent later ! u wont rely on anyone's code again or whatever looking up for codes online, u will then think of one of the 1001 ways of solving any programming task/problem.

