- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
10 Posted Topics
I have a table which have some records,i need to loop through selected fields(say 10 to 14 with respect to 10).. if it finds any data from 11 to 14(with respect to 10) the value has to append to the field 10 for each corresponding row, sub fi_macr() dim strsql …
i have matrix which contains first column as index second and third as values in one c file and in other file [index operations] when i call the two files from the main program it should be [1 2 3 ] [1 Add] [1 5] file 1 file2 main program …
Hello all, im quite new to network programming,im writing c code which dealt with transferring files using TCP over Sockets, In my code,client sends the header information(information about the file ) to the server ,the code works fine but received file size is sporadically a small than the file that …
im trying to send image from one system to another(client server model),it works fine when i use loopback ip address(same machine as both client and server) but when trying to send to another system,the gimp doesnt recognize the image and displays an error after receiving the image... here is the …
i need to copy the pixels from one image to another not all the pixels int copy(image2,i,j,image1 k,j) and return the image2 how to write the function completely
just writing and testing the code using arrays, int main() { int i,n; int arr[14]; printf("\nEnter the array ",n); scanf("%d",&n); int lastindex = n-1; int *l; l = &lastindex; for(i = 0;i<n;i++) { scanf("%d",&arr[i]); } for(i = 0;i<n;i++) printf("\n%d\n",arr[i]); printf("%d",*l); //arr[i] = lastindex + 2; //printf("\n%d",arr[i]); if(arr[lastindex[arr]] < lastindex) { …
hetThe code is the executing fine,but i need to keep a pointer variable to return the last index of the array //for eg if i enter n as 20,my lastindex is 19,the pointer will return the lastindex... void sort(int a[],int *,int); void swap(int a[],int *,int,int); int main(void) { int i,n,a[100],b[100]; …
I need to write equivalent 'c' code for vb code......... ImageScreen.Graphics.Pixel(i,j) = cmy(0,0,0) how to write a function for cmy in c language
**i'm trying to sort the number in the ascending order,i have a problem in doing that....im quite new to c ** *my input is a={40,50,20,30};,b={20,30,40,50};my output will be a=20 30 40 50 ,b=40 50 20 30 * sorting all the columns of a data by one of its column int …
#include<stdio.h> #include<stdlib.h> int main() { int **a,r,c,i,j,; printf("\n enter the size of row"); scanf("%d",&r); printf("\n Enter the size of col"); scanf("%d",&c); //allocating memory a = (int**)malloc (r*sizeof(int*)); for(i = 0;i<r;i++) a[i] = (int*)malloc(c*sizeof(int)); //array elements for(i = 0;i<r;i++) for(j = 0j<c;j++) scanf("%d",&a[i][j]); -------- --------- how to fill the array with …
The End.
prathiyus