Posts
 
Reputation
Joined
Last Seen
Ranked #803
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #13.9K
Ranked #2K
~2K People Reached
Favorite Forums
Favorite Tags
c x 15
Member Avatar for ZeRo 00

your request are so general. Please specify yr requirement to get a detail help.

Member Avatar for ALi Nuces
0
94
Member Avatar for dinklebaga

[QUOTE=dinklebaga;798840]Hi All, I am getting confused as to how to get this data into there in the start (wether to use a struct or what) and also how to output the data and in what form (%c, %d, etc.). If you could offer any advice it would be greatly appreciated. …

Member Avatar for dinklebaga
0
205
Member Avatar for priyankasaini

[QUOTE=priyankasaini;798907]please write a programme to sort array of integers using quick sort[/QUOTE] Read Quick sort algorithm at [url]http://cprogramminglanguage.net/quicksort-algorithm-c-source-code.aspx[/url] And try to write a simple function yourself. Good luck, xitrum

Member Avatar for Salem
0
78
Member Avatar for ruri

I think you have to define two arrays and two mutex as global variables such as: two arrays: 1st_array, 2nd_array two mutex: 1st_mutex, 2nd_mutex and we will have three functions as below [code=c] void ReaderThread(....) // 1st thread { .... lock 1st_mutex; if (1st_array is empty) { read info from …

Member Avatar for ruri
0
105
Member Avatar for Logi.

Please take your time to study curl library (source code) where you can find a simple example to understand how to post a http request with C programming.

Member Avatar for xitrum69
0
248
Member Avatar for arunprabhu.1
Member Avatar for me_ansh
0
80
Member Avatar for the reaper

I think the libcurl can help you [url]http://curl.haxx.se/libcurl/[/url] if you want to talk to a website. If you want to launch a web brower, you can use system() function to call IExplore.exe program.

Member Avatar for the reaper
0
275
Member Avatar for plike922

in the main function, you have to replace the [B]displayArray (numbers)[/B] with the [B]display (numbers)[/B] function. Have fun.

Member Avatar for Aia
0
82
Member Avatar for wussa

Yes, you missed the closing bracket of the function sort and wrong in sort algorithm. Here is your function [code=c] void sort(int num[],int i) { int k,k2,temp; for (int k=0; k<N-1; k++) for (int k2=k; k2<N; k2++) if (num[k] > num[k2]) { temp = num[k]; num[k] = num[k2]; num[k2] = …

Member Avatar for paragt
0
162
Member Avatar for me_roy

Here is your code [code=c] int main () float M[3][3]= { {0.01, 1.02, 2.05}, {2.01, 0.00, 5.00}, {3.01, 4.00, 0.40} }; float mn, mx; for (int i = 0; i < 3; i++) // change the column for testing only HERE // for (i=0; i<1; i++) to get max = …

Member Avatar for WaltP
0
433
Member Avatar for soppyhankins

I suppose that you are using C language. Here is your function [code=c] #include <stdlib.h> int RunSystemCmd(char *pfilename) { char buff[512] = {0}; if (pfilename == NULL) return -1; sprintf(buff,"HandBrakeCLI -i /dev/hdc -o /root/%s -b 1024 -B 128 -R 48 -E faac -f mp4 -w 368 -l 208 -m", pfilename); …

Member Avatar for soppyhankins
0
93
Member Avatar for prog77

I think you should change your code as following: [code] #include<iostream> #include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> using namespace std; main() { // char *filenames[] = {"file1","file2","file3",NULL}; int n; char buf[256]; FILE *fp = NULL; cout<<" enter number of input files :"; cin>>n; for(int i =0;i < n;i++){ sprintf(buf,"file%d.dat",i+1); fp = fopen …

Member Avatar for prog77
0
176