Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
0 Endorsements
Ranked #1K
~12.9K People Reached
Member Avatar for myk45

Hello. i was trying to solve this problem: [B]You’re given an array containing both positive and negative integers and required to find the subarray with the largest sum (O(N)). Write a routine in C for the above. [/B] i was able to find the largest sum. However,i had little trouble …

Member Avatar for VIKAS REDDY
0
720
Member Avatar for happygeek

DaniWeb has looked at Network Attached Storage in the shape of the [URL="http://www.daniweb.com/reviews/review308073.html"]myDitto server which offers excellent value in terms of both cost and capacity[/URL]. DaniWeb has looked at a personal cloud device in the [URL="http://www.daniweb.com/reviews/review260663.html"]very pink format of PogoPlug which is great for anytime and anywhere sharing[/URL]. DaniWeb has …

Member Avatar for PeterM88
0
649
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
330
Member Avatar for onus

Hi, here is a simple puzzle to which I have made a program, A C program to take bondectory name as command line argument and print last 3 directories and 3 my_files in all subdirectories without using api 'system' inside it. suppose directory bond0 contains bond1, di2, bond3, bond4, bond5 …

Member Avatar for Trentacle
0
205
Member Avatar for yuri1969

Hi, I'm fighting with [B]make[/B] for hours and I rly don't know where is my problem. I need to have a static lib libxml.a and an application (make.c) which uses it. I tried to compile it under GCC 4.4.5 and 4.5.0 and the compilation run fine. But under GCC 4.3.2 …

Member Avatar for Martin B
0
2K
Member Avatar for civirol02

Input rows and columns manually. Like this: input column: 3 input row: 2 then the output must be: 1 2 3 2 4 6 it's continuous. so if I enter new number in columns and row, it will display the numbers included. What is the code applicable for this. I …

Member Avatar for Adak
0
137
Member Avatar for JDevelop

Dear all, First of all I must say that I have just started with C. I've been doing some Java and C# as well but not very much of them too. In my new course of C, which goes on much rapidly than one can catch something, I am given …

Member Avatar for JDevelop
0
319
Member Avatar for comsians

hi i wannt ot make a programe in C inwhich user input current date and date of birth, output shows age in the number of years, months, days, etc., PLease help me!!!!!!!!!!!!!!

Member Avatar for comsians
0
345
Member Avatar for myk45

Hello, i have a small doubt regarding the FILE structure. i looked it up in the header file (i have VC++ 2008). In this implementation, it was declared as: [CODE]struct _iobuf { char *_ptr; int _cnt; char *_base; int _flag; int _file; int _charbuf; int _bufsiz; char *_tmpfname; }; typedef …

Member Avatar for myk45
0
207
Member Avatar for CleanSanchez

My assignment is to make a program that can perform a card trick. You may be familiar with the concept of the trick, but here is a [URL="http://www.youtube.com/watch?v=0LrUy8W5RnQ"]video link[/URL] from my instructor. It is a fairly long program, but everything works as planned EXCEPT for my "PickUp" function, which is …

Member Avatar for CleanSanchez
0
149
Member Avatar for ktsangop

Hi everyone! My function UsbID uses the libusb library ([url]http://www.libusb.org/[/url]) to get a flash disk's serial number. Libusb needs for some reason a Window created or else it doesn't work properly for me. So i created a CWnd inside my UsbID function which is invisible. My problem is that if …

Member Avatar for ktsangop
0
135
Member Avatar for USC_Megoy

Hi everyone...Can ask some help with you guyz..I want to study cursor-base but I cant find it in the internet...can anyone help me to explain what is a cursor-base implementation and what are the functions..I saw virtualheap, Mymalloc and myfree function... Thanks for the explanations...More power...

Member Avatar for Martin B
0
123
Member Avatar for gahhon

[CODE]struct NamesAtt { char student_Surname[20]; char student_givenName[50]; char gender[100]; }Summary; ... void Students_Absence_Report() { system("cls"); printf("Student Presence/Absence Report\n"); printf("===============================\n"); printf(" Name \t\t%%Presence %%Absence\n"); for(i=0; i<student; i++) printf("(%d) %s %s\t %.2f\t %.2f\n", i+1, Summary.student_Surname[i], Summary.student_givenName[i], Presence_percentage[i], 100.00-Presence_percentage[i]); printf("\n"); printf("------- END OF ATTENDANCE REPORT -------\n\n"); system("pause"); system("cls"); } void Barred_Students_List() { system("cls"); …

Member Avatar for N1GHTS
0
211
Member Avatar for DrueY

Can someone explain this short paragraph concerning wave file analysis (what exactly is the input and output?): The default input to this program is a text file containing a uniformly sampled time series, presented as a column of numbers. The default standard output is the magnitude of the discrete Fourier …

Member Avatar for DrueY
0
96
Member Avatar for Rahul.menon

Please check out This Output required [CODE] Aa Cc Bb Dd Ee Ff jj Ii Hh Gg [/CODE] [CODE] #include<stdio.h> #include<conio.h> void main() { char a = 'a',a1 ='a',A = 'A',A1='A'; int i,j,n; clrscr(); for(i =1;i<=4;i++,printf("\n")) { if(i%2!=0) for(j = 1;j<=i;j++) { printf("%c%c ",a,A); a++; A++; } else { a1 …

Member Avatar for Rahul.menon
0
103
Member Avatar for quietcity2012

can anyone help me with following bit-wise manipulation.thanks! /* * copyLSB - set all bits of result to least significant bit of x * Example: copyLSB(5) = 0xFFFFFFFF, copyLSB(6) = 0x00000000 * Legal ops: ! ~ & ^ | + << >> * Max ops: 5 * Rating: 2 */ …

Member Avatar for N1GHTS
0
357
Member Avatar for upendrap

hello all, actually i am working on sipmle work inwhich i need to import one file whic is of .hex extension, so i need to import a file which should be exactly same name with .hex extension. how should i implement such that it should take that file name with …

Member Avatar for Martin B
0
74
Member Avatar for Bozog

i'm being able to call my text file from my c program but when coming to count the number of paragraphs in the text i can't find what i have to do so that my c program increments my counter by 1 it has to find and empty line. this …

Member Avatar for Martin B
0
1K
Member Avatar for brendono978

Hi everybody. I decided to make an account here because I could use some help writing some code. This is what I need to do: Write a C program that will read in two lines of data. The first data line contains an integer N and the second data line …

Member Avatar for brendono978
0
180
Member Avatar for Knome

I've searched all over google and this site. I've found a few hints here and there but after i make the changes either my compiler throws a fit or it doesn't produce the desired results. Here's what i want: I want to create a linked list in the main function …

Member Avatar for Martin B
0
4K
Member Avatar for Perry31

Hi friends, I'm new to this community. i just want to read string from a file excluding punctuations like ',' ';' or newline character. Is there any way to read the string by specifying the terminate character.

Member Avatar for Martin B
0
125
Member Avatar for paresh5221

Hello everybody, specially for php [COLOR="Green"]How can i extract hyperlink URL from exel sheet[/COLOR] I dont know what should I have to do, so plese tell me how can I extract hyperlink URL form exel sheet cell.....

Member Avatar for Martin B
0
84
Member Avatar for Ogakor

Hello, I've been having problem with understanding merge sort for linked list. I understood merge sort for array though, I think. I've googled it and all I can find are codes. I need to understand the algorithm first before I can understand the code. Please help me understand merge sort …

Member Avatar for Martin B
0
194
Member Avatar for zhuangdeyouxian

[CODE]/*Task: Two ordered linklist contain number. eg.1->2->3-> and 2->3->5 **Print** union of them eg.1->2->3->5 ,remove duplication, can't change linklist Problem : 1. append() might need to be modified. 2. dnot't know how to use append() to complete the task. */ #include <stdio.h> #include <malloc.h> #include <string.h> #include <stdlib.h> typedef struct …

Member Avatar for Martin B
0
122
Member Avatar for devesh2222

how can i write code in c that the two programs are run one after another whithout the use of threads.

Member Avatar for myk45
0
73
Member Avatar for devesh2222
Member Avatar for livesinabox

So I had posted a thread here called "Exception Handling" asking for help excuting this program. Then I discovered CodePad! ( So if any of the moderators could help me delete that thread it will be great! ) So I cleared up most of my errors. And I got an …

Member Avatar for livesinabox
0
145
Member Avatar for onus

I am making a program to do a breadth first search. The code which I am posting here just makes a que of the nodes visited in a binary tree in inorder fashion,so this implementation is not yet complete. While developing I got a segmentation fault which I was not …

Member Avatar for Martin B
0
156
Member Avatar for starkz_123

[CODE] #include<stdio.h> #include<math.h> #define min(a,b) (((a)>(b))?(b):(a)) #define abs(a) (((a)>(-(a)))?(a):(-(a))) void convert( int bod, int *x, int *y, int *z ) { int a; int b; int c, str, zb; if( bod==1 ) { *x=0; *y=0; *z=0; return; } a=(bod-2)/6; b=(-1.0+sqrt(1+8*a))/2.0; c=bod-1-3*b*(b+1); ++b; str=(c-1)/b; zb=c-str*b; switch( str ) { case 0: …

Member Avatar for digital29
-1
223
Member Avatar for caraie

Hi!, im new in this forum (and programming in c :)) (and sorry, my english is not good enough, I speak spanish) I have a problem trying to release memory from a Matrix structure. When I try to release a square matrix there is no problem, i can do it, …

Member Avatar for Martin B
0
120