15,554 Topics

Member Avatar for
Member Avatar for needCee

Hi, now i have work on it for a long time it is working but, when it can not find the item any how it will print item not found + item found , i have no idea what is wrong any help welcome, thanks [CODE] .... ... .. if( …

Member Avatar for Ancient Dragon
0
93
Member Avatar for smicer

Greetings, i have been having problems trying to read from files using c programming. i succeeded in reading from .txt files and playing with the contents but i can't read al the contents of any .jpg or .doc file. please how do i go about this. i hve not tried …

Member Avatar for Daishi
0
121
Member Avatar for peter_budo

Explanation is a bit long so please bear with me, solution is short :lol: We got an assigngment from uni to create word dictionary program to read an external file where each line consist of WORD and DEFINITION separated by empty space. If some word exists more than once add …

Member Avatar for Daishi
0
139
Member Avatar for kahaj

Hey all. I'm still trying to get use to how to work with rand. I'm just messing around with it to try and get good and comfortable with it. Working with a variable whose value starts out at 0, I want to try three different paramaters on it. 50% of …

0
98
Member Avatar for POTM-MASTER

The latest POTM contest is underway ... if you haven't participated before, the POTM is purely for fun and presents a programming problem to enjoy every couple of months. We have an active forum and a mix of 1300 participants from novice to expert. POTM winners receive the glory and …

0
135
Member Avatar for gmv

Hi, We are working on an assignment where we have to use haptic interface and VRML file. This assignment also asks us to include a sound of the VRML image which we are using. Could anyone please help us as to how to code in C language to upload winamp …

Member Avatar for SpS
0
133
Member Avatar for ricciola

Hello! I'm a new user of this forum. I'm italian and I work like programmer. I need of some information about C code and I wish you help me! Bye bye :D

Member Avatar for ricciola
0
215
Member Avatar for atrusmre

How to I remove a varible from memory? A friend and I were talking and he seems to think that just resetting it to "" would be enough. Is he correct? If not, how do I remove varibles when I'm done with them?

Member Avatar for Puckdropper
0
112
Member Avatar for nabil1983

Can someone please have a look and help me on making this Binary Search algorithm work. Donmt know what is wrong with it . [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> enum SearchResult {FOUND, NOT_FOUND}; SearchResult binarySearch(int array[], int key, int low, int high, int *comparisons); void fill_array(int array[], int sizeOfData); …

Member Avatar for SpS
0
207
Member Avatar for AhmedHan

I have an URL of a file on the Web stored in a string. I want to start the download dialog box of Internet Explorer in order to download the file. Do you know any APIs?

Member Avatar for WolfPack
0
98
Member Avatar for glamo

[code]/*following is the shortest program that finds whether the entered no. is power of two or not,but i need to add some code(logic) to it. note:- program do not make use of keywords like if ,while ,for ,switch. */ #include<stdio.h> void main() { int n; char c[2][23]={"no. is not power …

Member Avatar for EsMaru
0
166
Member Avatar for calcop

My darn code keeps crashing, what am I doing wrong? I have a class with the follwoing method: [CODE]void BBSNode::AddToBuffer(char *buffer) { //strcat((char*)inputBuffer, (char*)buffer); sprintf("Got Data: %s\n", buffer); }[/CODE] I'm calling the method like this: [CODE]nodes[nodeID].AddToBuffer(sockBuffer);[/CODE] sockBuffer was declared like ... [CODE]char sockBuffer[IN_BUFFER_SIZE];[/CODE] Now, when I run the program and …

Member Avatar for calcop
0
127
Member Avatar for aminura

Today I had an exam and in that there was a question to differentiate between type casting and type conversions...Are they actually different?? I always thought they were same... :?:

Member Avatar for aminura
0
133
Member Avatar for atrusmre

I am working on a project that requires me to recive data from a network application. After I recive the data I'm suppose to break it up. Now I know of a way to sorta do that by using "tokens" and strtok (if you don't know strok breaks up a …

Member Avatar for atrusmre
0
152
Member Avatar for nabil1983

Hello ppl. Ok have to investigate and write a report on the efficiency of the following Linear Search algorithm. But im having problems starting off.... can anyone here help me kick start this 3 page report... would apreciate any information & help you guys here can give. [CODE]// This program …

Member Avatar for Rashakil Fol
0
174
Member Avatar for Micko

Hello, I'm trying to understand how this heap sort algorithm works (how this particular implementation from [url]www.eternallyconfuzzled.com[/url]) works. [code] void jsw_do_heap ( int a[], int begin, int end ) { int save = a[begin]; while ( begin <= end / 2 ) { int k = 2 * begin; while …

Member Avatar for Narue
0
224
Member Avatar for ! !

[color=royalblue][QUOTE][color=royalblue]Codase is the leading source code search company with advanced source code understanding and xml index/search technologies. Rather than treating code as text, Codase understands programming languages, and treats code as code, the way it's supposed to be. This unique and syntax-aware approach provides the most accurate and detailed search …

Member Avatar for SpS
0
134
Member Avatar for !=logical not

I kno there is a way to make a alert message in win32 that goes away after a time delay...Does anyone know the code for this?

Member Avatar for Ancient Dragon
2
89
Member Avatar for !=logical not

Hi...Im trying to make a date reminder type program...But Im looking for something along the lines of If(date == 31102005){*code*....May I please have help with this?? This is what i did...But is totally wrong...I need something that checks the date...where the user does not enter data. [code] #include <stdio.h> #include …

Member Avatar for winbatch
0
208
Member Avatar for mhk_mohsin

I m not getting the link for downloading bluetooth socket api so i f any one knows??? or if any other bluetooth api for easy comunication!!! u can also mail me on << moderator edit: email snipped >>

Member Avatar for Ancient Dragon
0
58
Member Avatar for kyakobi84

I did a "single linked list" header & Implementation & Main files & everything worked very good. But now i must Implementation for the "doubly linked list" & i just need to know what i should add to my functions so they will work good, should i change all the …

Member Avatar for kyakobi84
0
93
Member Avatar for glamo

[code]/*In the following program i have to find the size of structure cal without making use of sizeof Operator but is incomplete, so add minimum line of code accomplish this*/ //note :-do not make use of sizeof #include<stdio.h> struct cal { long double d; float f; char c; }; void …

Member Avatar for SpS
0
80
Member Avatar for glamo

*make sure that this program give correct o/p to corresponding i/p/* [code]#include<stdio.h> #include<conio.h> void main() { char fname[15]; FILE *f; char c; printf("Enter the file name"); scanf("%s",&fname); f=fopen(fname,"w"); while(c=getch()!='#') fputc(f,c); fclose(f); f=fopen(fname,"r"); while(c=fgetc(f)!=EOF) printf("%c",c); getch(); fclose(f); f=fopen(fname,"r"); while(f=fgetc(c)!=EOF) printf("%c",c); getch(); }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][inlinecode][co[u][/u]de][/co[u][/u]de][/inlinecode][/url] tags >>

Member Avatar for Dave Sinkula
0
92
Member Avatar for qazwsxedc

Hi, friends ; When I click on Internet Explorer it will open the home page, after that if I click on any other link it will show the following message, and it will shut down “Microsoft Internet Explorer

Member Avatar for SpS
0
136
Member Avatar for sahil_m

Hi, I've just started coding a simple linked list library and I would like the final implementation to have functions like sorting & searching. My questions are:- 1.I think that my library would need to implement sorting and searching similar to the qsort() and bsearch() implementation's in borland's library. 2.Could …

0
59
Member Avatar for balachandu

hai, i want to print graph nodes and their connections among nodes. how can i print this ? can any give me code? waiting for ur reply,,,,,,,

Member Avatar for Rashakil Fol
0
64
Member Avatar for PeterX

My program prints out Fibonacci_number(0,1,1,2,3,5). The program is ok. My problem:I want to take a number from Fibonacci_number(0,1,1,2,3,5) and multiply whit 10. ex: I want to take 3 and multiply with 10. I tried to write another function and call a Fibonacci_number from fib(int k)and then multiply it whit 10. …

Member Avatar for Dave Sinkula
0
174
Member Avatar for tippytoe

I only get a result of "1.00" for each mileage calc and also for the overall average, regardless of numbers input. Can anyone see where the problem(s) is in my program below? Thanks in advance! [code] #include <stdio.h> void main(void ) { /* Variable Declarations */ /* ---------------------- */ float …

Member Avatar for Ene Uran
0
196
Member Avatar for !=logical not

I was wondering if someone can help me with a code...I want to make a code where when someone opens the .exe an Instant Message in the AIM client is *SENT* not just opened...This Is what I Have So far...This is just a Snippet...Just the part im asking for help …

Member Avatar for Narue
0
219
Member Avatar for aripaka

Hi, I want to know what is the logic used for generating a random number. Can anyone tell me the algorithm for random number generation without using standard library functions? Thanks

Member Avatar for Narue
0
380

The End.