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
~25.2K People Reached
Favorite Tags
Member Avatar for priyanka raj

Would you please help me in writing a c code to read data from a file and perform 1)numeric sort, 2)alphabetical sort. the file may contain data of any kind.Like it may contain only numbers,only names or a database of employees of a company.(which contains their employee id,name,designation and salary,....in …

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
457
Member Avatar for deepak.fugo

Hi All, We have website on Shared hosting. I am a newbie. i have installed PHPUnit testing framework on the server. When i try to run a test case in command mode(phpunit --help), i am getting error as attached screenshot. Kindly help me in executing PHPUnit. Regards,

Member Avatar for ahmedhamdy
0
256
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

Just looking for third set of eyes on this. I am getting this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to, from, payload, amount, route, majcom, event, type, admin) VALUES ('', …

Member Avatar for ahmedhamdy
0
208
Member Avatar for ngonix

Hello, I have a php script with 3 textboxes that is supposed to search for and retrieve records using the following criteria: Policy Number, First Name and Last Name. The code is as follows: search_page.php <table width="1076" align="center" bgcolor="#eee"> <tr> <td height="10" valign="top"> <p> <div align="center"> <form id="form1" name="form1" method="post" …

Member Avatar for broj1
0
1K
Member Avatar for ThatBitchYeah

I have no idea hw to approach this... i need to end my program, shown below by the user pressing the letter Q on the keyboard. Help? #include <stdio.h> #include <stdlib.h> float subtract(float x, float y); int main (void) { float x, y; printf("Please enter a real number:\n"); scanf("%f", &x); …

Member Avatar for ThatBitchYeah
0
329
Member Avatar for ThatBitchYeah

I have an assignment in which i have to add, subtract, multiply and divide two complex numbers and i am very confused as to how to create the program. This is what i have got so far.. #include <stdio.h> #include <complex.h> int main (void) int real, imag; { complex a, …

Member Avatar for ThatBitchYeah
0
1K
Member Avatar for Bchandaria

Any one can help me out i want to display a spiral of n*n size with out using arrays? out put when n=2 should be 3 2 0 1 when n=3 should be 8 7 6 1 0 5 2 3 4 when n=4 should be 15 14 13 12 …

Member Avatar for ahmedhamdy
0
3K
Member Avatar for nitin1

#include<iostream> #include<algorithm> using namespace std; #define MAX 10000000 #include<stdlib.h> #include<string.h> char s[MAX]; int p[MAX]; int bucket[MAX],nbucket[MAX]; struct suffix { int idx; }pos[MAX]; int H=0; bool cmp(struct suffix i,struct suffix j) { if(H==0) { return s[i.idx]<s[j.idx]; } else { if(bucket[i.idx]==bucket[j.idx]) { return bucket[i.idx+H]<bucket[j.idx+H]; } else { return bucket[i.idx]<bucket[j.idx]; } } } …

Member Avatar for deceptikon
0
611
Member Avatar for yawbiney

Hi people, I am a beginner C learner and I'm having a bit of trouble checking a structure to see if its empty or not. I am writing a program for a phonebook/contact book and I have everything working actually but I want my program to check all arrays in …

Member Avatar for ahmedhamdy
0
1K
Member Avatar for tomz6

Why do some people put main(int argc, char ** argv) not main() ? What's the difference? When is it needed? Thanks in advance, Tom.

Member Avatar for ahmedhamdy
0
579
Member Avatar for IwalkAlone

Q.Write a function to concatenate to input strings into one large string and display the result. I know how to do this using strcat but not without it. Also can't use pointers. Please help!!

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

The following short program is taken from a book in numerical analysis (by Mircea Andrecut). It's about bisection (very simple): #include<stdio.h> #include<stdlib.h> #include<math.h> double f(double x) { return x*x-3; } double bisection(double f(double), double a, double b) { double epsilon = 1E-7, x; int kmax, k; if (f(a)*f(b) > 0) …

Member Avatar for nitin1
0
297