Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
0 Endorsements
Ranked #2K
~26.2K People Reached
Favorite Tags

14 Posted Topics

Member Avatar for priyanka raj

you make struct Employee has(id ,name,salary,....) and make every Employee as node in linked list then save linked list into file after fill some data then read data from file and you can sort data by bubble sort : (if you need numeric sort then sort nodes by id ) …

Member Avatar for aaaymen
1
7K
Member Avatar for ahmedhamdy

javascript code : $("input#input_field[name=brithday]").datepicker({ dateFormat: 'dd-M-yy', showAnim: 'slide', changeMonth: true, changeYear: true, yearRange: '1990:2020' }); jsp code : <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Profile</title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script type="text/javascript" src="JS/javascript.js"></script> </head> <body> <% %> <div> <div class="blackDiv"> </div> <div class="whiteDiv"> …

Member Avatar for ahmedhamdy
0
462
Member Avatar for deepak.fugo

if your operating system is ubuntu sudo apt-get remove phpunit sudo pear upgrade PEAR sudo pear install pear.phpunit.de/PHPUnit sudo pear upgrade pear sudo pear channel-discover pear.phpunit.de sudo pear channel-discover component.ez.no sudo pear channel-discover components.e sudo pear channel-discover pear.symfony-project.com sudo pear channel-discover pear.symfony.com sudo pear update-channels sudo pear update-all sudo pear …

Member Avatar for ahmedhamdy
0
257
Member Avatar for ahmedhamdy

i had make php file into it function [getLink()] make connection with mysqli_connect and return link of connection to use it in another php file to get result from database with mysqli_query() connection.php ` <?php $userName="root"; $serverName="localhost"; $userPassword="*****"; $nameOfDataBase="ITI_System"; function getLink(){ $link=@mysqli_connect($serverName,$userName,$userPassword,$nameOfDataBase); if(!$link){ echo "connection Error".mysqli_connect_errno(); } return $link; } …

Member Avatar for diafol
0
7K
Member Avatar for BrickZ28

mysql_query="INSERT INTO mission (acft, to, from, payload, amount, route, majcom, event, type, admin) VALUES ('$airframeSave', '$icaoT', '$icaoF', '$payload', '$payloadA', '$route', '$majcom', '$event', '$type', '$admin')"; this mysql query take your variables as strings not variables as you forget concatenation of your variables into mysql query <?php sql_query='INSERT INTO mission (acft, to, …

Member Avatar for ahmedhamdy
0
211
Member Avatar for ngonix

because you make sql statement into else statement if ($_REQUEST["name"]<>'') { $search_name = " AND (firstName LIKE '%".mysql_real_escape_string($_REQUEST["name"])."%')"; } else { $sql = "SELECT * FROM tblclients WHERE clientID > 0".$search_policy.$search_surname.$search_name; } sql statement excute only when condition if be false in if ($_REQUEST["name"]<>'') correct is : if ($_REQUEST["policyNum"]<>'' && …

Member Avatar for broj1
0
1K
Member Avatar for ThatBitchYeah

you forget write return 0 into end of main function int main() { return 0; }

Member Avatar for ThatBitchYeah
0
336
Member Avatar for ThatBitchYeah

you can make struct called complex used to represent complex number #include<stdio.h> #include<stdlib.h> struct complex { int real,imag; }; int main() { struct complex x,y; printf("Please enter the two real and imaginary complex numbers (a+jb) :\n"); printf("real number:"); scanf("%d",&x.real); printf("\nImaginary number:"); scanf("%d", &x.imag); printf("Please enter the next two real and …

Member Avatar for ThatBitchYeah
0
1K
Member Avatar for Bchandaria

how you arange output ??? i mean why 8 print as fist element in output when n=2 ?????????????????

Member Avatar for ahmedhamdy
0
3K
Member Avatar for nitin1
Member Avatar for yawbiney

first your code is not readable (this problem you must learn to make your code readable by using spaces and tabs in your code)

Member Avatar for ahmedhamdy
0
2K
Member Avatar for tomz6

i think we use int main(int argc,char**argv) when we don`t need user interface to input arguments if you enter arguments by compiler program with this code #include<stdio.h> #include<conio.h> int main(int argc,char **argv) { clrscr(); printf("\n%d",argc); getch(); return 0; } will output number of your arguments which you input

Member Avatar for ahmedhamdy
0
586
Member Avatar for IwalkAlone

hi iMARUF & deceptikon iMARUF code can used after i change it and make strcat for two strings #include<stdio.h> #include<conio.h> #include<stdlib.h> int xstrlen(char *); char* xstrcat(char *,char *); void main() { char source[]="Sarker"; char target[]="Maruf"; char*TotalName; clrscr(); TotalName=xstrcat(target,source); printf("Source String: %s\nTarget String: %s\n",source,target); printf("Total String: %s",TotalName); getch(); } int xstrlen(char …

Member Avatar for ahmedhamdy
0
2K
Member Avatar for ulrik m.

The End.