15,551 Topics

Member Avatar for
Member Avatar for udaykrishnag

the given input as image.....later we have to find which is the storage format like 4:4:4 or 4:2:2 or 4:2:0.... any suggestions plz.....in C

Member Avatar for myk45
0
24
Member Avatar for Benkyou

I was finally able to get the html code from web pages. Just to face another problem! Now I have to extract all the hyper links from the html, i was trying to do this with strtok.. no luck at all. Is there any other function that can help me …

Member Avatar for WaltP
0
45
Member Avatar for wert21

Good day! we have an exercise on how to create a list but i do not know how to do it without an algorithm. Can you help on what is the algorithm to create a linked list?

Member Avatar for vinayakgarg
0
82
Member Avatar for Don_k

Dear guyz, I am creating a file archiver/extractor(like tar), using POSIX API system calls in C. I have done part of the archiving bit. I would like to know if any one could help me with some C source code(using above) to create [B]a file header for a file in …

Member Avatar for Don_k
0
288
Member Avatar for fab2

Hi, I have started to study the C language, and as anyone, problems are on. I am having problems with the for comand for; I do apologise if I am not using the CODE and the ICODE correctly. here an example: [code] #include<stdio.h> int main() { int i; int b; …

Member Avatar for fab2
0
112
Member Avatar for sobi07

hello. i have been studying C++ and i programmed the following. can any one convert this in C language please it is urgent. [code] # include <iostream> # include <iomanip> # include <windows.h> #include <conio.h> using namespace std; void pw (int,int); void swap( double&,double&); void main() { double arr1[10][10],arr2[10][10],arr3[10][10],d,d1,d2,d3,X,Y,Z,x1,x2,x3; int …

Member Avatar for sobi07
0
110
Member Avatar for maubybark

HI the prgram below request a user to enter 3 character id number and interger age. a function must be used that tells the user how many years to retirement. i must pass the age and print a message in the function. retirement age is 65 for persons over 45 …

Member Avatar for uttamclasses
-1
246
Member Avatar for Benkyou

Hi there, hope you guys are having a good start of 2011. I want to download the html code of any article on wikipedia. I am able to find wikipedia's ip and establish a connection, but how do i reach articles? also i tried using send() and recv(), i was …

Member Avatar for Benkyou
0
111
Member Avatar for aplh_ucsc

[CODE] //myMalloc.c #include<stdio.h> #include<unistd.h> #include<stdlib.h> void *newMalloc(size_t vol); void newFree(void *adPtr); void save(); void search(); void *findSpace(); void freelist(); static int buf[12500]; void *newMalloc(size_t vol){ // some code } void save(){ // some code } void search(){ // some code } void newFree(void *adPtr){ // some code } void *findSpace(){ …

Member Avatar for aplh_ucsc
1
124
Member Avatar for nhes2x

what would be the formula in getting the Hundredth's place, tenth's place, and one's place of a 3 digit integer??

Member Avatar for Narue
0
123
Member Avatar for june 200090

hi how are you ? i have project in loop but i dont know how to solve it ? Write a C program to read results of class of 20 students. Each student has 4 results, distributed as follow: • Test 1 25 % • Test 2 25 % • …

Member Avatar for june 200090
0
170
Member Avatar for iwanttolearnc

good day and a happy new year to you folks. im trying to copy the contents of one text file to another text file but i cant seem to get it right. written below is the code im using but it does not seem to work. any help please? [CODE]#include …

Member Avatar for iwanttolearnc
0
214
Member Avatar for DJSAN10

Could anyone please explain what exactly bootstrapping is? As far as i know it is something related to "the compiler for C itself wriiten in C"

Member Avatar for DJSAN10
0
89
Member Avatar for salvador01

hi! iam a newbie how can i get the 10th, 100th, 1000th place for example: the interger is 1235, the ones place is 5, the tenth place is 3, the hundreds place is 2, and the thousands place is 1, please help me and how do you program it at …

Member Avatar for sharathg.satya
0
102
Member Avatar for magaiver

Hi everyone. I am an undergraduate student of mechanical engineer and i am trying to make a program that will convert a decimal number to a binary one and a hexadecimal one using c . The problem is that i am not familiar with c at all. I am only …

Member Avatar for WaltP
0
169
Member Avatar for arlir

hi guys,Iam learning the c language and still a green one really.I have this program am trying to develop using code blocks 10.5.Th code is as follows; #include<stdio.h> #include<ctype.h> #include<stdlib.h> struct secguard { char first_name[40]; char Last_name[40]; char gender; int age; int ID; char start_date; int work_rec; }; void main(void) …

Member Avatar for gerard4143
0
149
Member Avatar for l1ttledb

hey all, first post of a beginner coder ;), I keep geting the following error : conflicting types of 'graphic_choice'.. its not a warning so it wont compile. I haven't finished case 7 so that may have some syntax issues. hope this isn't to big of a code block? i …

Member Avatar for sree_ec
0
270
Member Avatar for Benkyou

Hi there, I was wandering if anyone can give me a brief explanation on how to connect my C application to the Internet. What i would like to do in the end is to access a web page trough the application and have means to read the html code behind …

Member Avatar for sree_ec
0
343
Member Avatar for Benkyou

And yet again here I am asking for help. Thing is, two times I've came to this forum too find guides as answers and since I've always been pointed in the right direction, I humbly ask for guidance one more time. I've been trying to study graph's and been using …

0
60
Member Avatar for ambageo

Hi! I've got this structure struct *cell{int row,int column,int distance, struct cell *next}. By calling a function, I fill a linked list . The problem is that I cannot find how to delete the nodes that have the same row and column.Let me provide an example. Let's say that the …

Member Avatar for ambageo
0
188
Member Avatar for aplh_ucsc

[CODE] /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status [/CODE] Can anyone guess the reason for this error. It is not displayed as an error. But the programme didn't get compiled.

Member Avatar for gerard4143
0
79
Member Avatar for trust_noone

i'm wondering how to use a function named timer(); while executing another function at the same time??? can anyone help me with this?? i researched about threading but it's too complicated for me

Member Avatar for Trentacle
0
90
Member Avatar for hsetaknev

Hey guys,I admit I do commit Mistakes But this piece of code got well executed in my college (USED TURBO C++) But in my home PC (UBUNTU) Its not getting COMPILED [CODE]#include<stdio.h> /*header*/ //#include<conio.h> /*header*/ #include"maths.h" int main() { int rur1,rur2,b,a,c,x,y; int d; //clrscr(); printf( "Enter the value of A …

Member Avatar for Trentacle
0
148
Member Avatar for TomaCukor

hey guys , its my first but hopefully not last post , i have this wordcounter(actually recepie reader) project it looks for the word "csoki" given in input and then if it finds it it asks perfcentage of "csoki"(short for chocholate in my lang) and stores the value in array …

Member Avatar for WaltP
0
262
Member Avatar for iwanttolearnc

im reading a text file that contains data in a fashion similar to this $1.2.3.4.5.6$ %7.8.9.10.11.12% *a.b.c.d.e* what i want to do is read only data enclosed by '$' and skip to the next line if the data contained are not. written below is my code. im kind of stuck …

Member Avatar for iwanttolearnc
0
135
Member Avatar for rtk1865

I have a unit conversion program that needs to take in a float and 2 strings from standard input. My previous solution was: [CODE] float orig_quant; char *orig_name = (char*) malloc(MAX_CHARS); char *new_name = (char*) malloc(MAX_CHARS); fscanf(stdin, "%f %s %s", &orig_quant, orig_name, new_name); [/CODE] However, this only works if the …

Member Avatar for Narue
0
23K
Member Avatar for cuckas

Dear friends, hello to you all as this is my first thread - question to the forum. This is my problem, which is a school exersize: I create a linked list which contains three numbers r,c,d per node From this list I have to create a hash table htable[7] with …

Member Avatar for ambageo
0
333
Member Avatar for fka

I have to read text file line by line to multidimensional array. I have this code: [CODE] char *data; data = (char*)malloc(size_d); while(fgets(data, size_d, fp) != NULL) { printf("[%d] %s ", strlen(data), data); } [/CODE] I want to put every line to char array. Some suggestions?

Member Avatar for fka
0
133
Member Avatar for rtk1865

[CODE]typedef struct{ char *name; bool exists_in_sys; convert_table *data; } unit; float orig_quant; unit *orig_unit = (unit*) malloc(sizeof(unit)); unit *new_unit = (unit*) malloc(sizeof(unit)); printf("Enter original quantity, original units, new units\n"); fscanf(stdin, "%f %s %s", &orig_quant, orig_unit->name, new_unit->name); printf("Original unit: %s\n", orig_unit->name); printf("New unit: %s\n",2) new_unit->name);[/CODE] OK, so I would like to …

Member Avatar for rtk1865
0
203
Member Avatar for prvnkmr194

Hello to all Actually I want to handle the usb interrupt from c program ....... For example when some one insert usb drive in pc then my program call certain function ..... I try too search in google but i did't get any help i know little about software interrupt …

Member Avatar for prvnkmr194
0
105

The End.