15,549 Topics

Member Avatar for
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
132
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
214
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
111
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
206
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
97
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
165
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
132
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
151
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
170
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
88
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
207
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
57
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
79
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
91
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
63
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
173
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
195
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
218
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
379
Member Avatar for jenyin84

1. (a) What is trashing and list possible causes of thrashing. (b) How does the operating system detect thrashing and what can it do to eliminate thrashing? [15 marks] 2. The given program simulates the effect of changing page sizes in a demand paging system. The following sequence of request …

Member Avatar for Dave Sinkula
0
768
Member Avatar for server_crash

I'm trying to pass arguments to my program so that I can store them into an array. For some reason my IDE/compiler is treating the blank space in between arguments as an argument. I'm using bloodshed, but it doesn't say anything about a seperation character. Can anyone tell me what …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for stabule

Hi all. I need some help counting specific numbers in C. The programme should accept two sets of numbers. It should then count how many of the second number is in the first set. For example: First input = 23387 Second input = 3 Ouput = "Number 3 appears twice …

Member Avatar for stabule
0
143
Member Avatar for SpS

Code 1 [code] class Drink { public: Drink( char *name_ ) : name( name_ ) {} char *name; char get(int i) const { return name[i]; } }; [/code] Code 2 [code] class Drink { public: Drink( char *name_ ) : name( name_ ) {} char *name; char & get(int i) …

Member Avatar for Ancient Dragon
0
126
Member Avatar for Asif_NSU

This is probably a stupid question, but i dont get the answer. Plz help me understand. Question: How could a linked list and a hash table be combined to allow someone to run through the list from item to item while still maintaining the ability to access an individual element …

Member Avatar for Narue
0
177

The End.