15,552 Topics
| |
Please help me out in making the program to play the music file in c. i did tried to search a lot on web but couldnt get any clue about it. | |
First of all, let me just say that, this is the 1st time I have ever programmed in C, so please be gentle :S (although it shouldn't be that bad). With regards to the program, I have been set a scenario to create a sales system where the user enters … | |
[COLOR="Green"]Hi, I am new member in this location. I wanted to quaering about format the date in the computer system . in our class we study C ++ language. and learned this build in function : strtok ( , ) that take the variable in first argument , until see … | |
Hi everybody!! I would like to save a text file in Shift-Jis format but by default the file is always save in UTF-8. I'm using fopen, fput and fclose to create and work with that file, but I don't think that there is any parameter for those functions which can … | |
Dear all , I have one shared library in "/usr/lib/ast/mod/quad.so" where the functions "X1" and "X2" are defined. In header file "quad.h" it is declared. I have created a "test.c" where X1 and X2 are called I have used the following commads for compiling and linking #gcc -c test.c #gcc … | |
Hi everyone. I was just wondering if anyone could help me with how to play a sound (from a file or directly specifying the frequency doesn't matter) on a Mac. I would prefer doing this directly from C but if there is no way to do that then i found … | |
Hi, I was thinking about implementing piping and redirection in some of my programs. But I'm having difficilties getting started. Does anyone know were to read up on this area, or just what to google. Google only gives my tutorials on basic unix commandline usage. thanks in advance | |
i just want to know, if you are using an argv statement in your code, and you are defining two files (one for input one for output), called inFile and outFile, and you open the first in "r" mode and the second in "w" mode...... can you apply it to … | |
Yesterday I created a thread called "File Handling Problems!!"..... today within the first half an hour I have moved forward a bit (which is a relief)..... but I still have a problem..... [CODE] 1.#include <stdio.h> 2.#include <string.h> 3. 4.int main() 5.{ 6. int week = 0; 7. int units = … | |
hello, i'm seeking for an implementation of singular value decomposition whith power methode to get severals eigen value of a big sparse matrix in C. thank you. | |
Hi,I want to try out speech recognition with my robot.Like I say move and the robot moves forward.I want to do this in C (DevCpp)? Windows XP.I have used Open CV for Image Processing.Is there a speech recognition SDK like the Open CV?Please guide me. | |
Hi Can anybody tell me What is the usage of Static functions and where we can use what is the advantage of Static functions over Normal functions Advance Thanks for helping | |
when i try to do the following, [code] double root_value, c; int d; d=0; printf("%.0f", root_value); for(c=2; c<root_value;c++) { if(c !=root_value) { if(fmod(root_value,c)==0) { d = 1; } } } if(d == 1) { printf("not prime\n"); } else printf("is prime\n"); [/code] now its part of a program to determine if … | |
plz explain how to do this the proper way. [CODE]main.c ===== struct names{ // definitions ----- ---- ---- } struct names x; function1(&x); file2.c ====== function1(struct names *x){ ---- ---- ---- }[/CODE] am getting warning: [B]'struct names' declared inside parameter list[/B] | |
im trying to right align data that i have written to file with fprintf, but im not sure how i would do so in C. ive looked around and there are many solutions for C++ and C# but havent found one for to right align in regular C. | |
All right, so I have a final exam due that consists of four problems. I'm currently working on the first problem. I understand the algorithm of the problems, but I am very, VERY weak with syntax and the entire C language in general. In the first problem, I just indexed … | |
anyone know how to add your program to start up on windows xp/vista and regardless of user admin guest or normal user...any bit of source code available will be helpful.. | |
hi. actually i hv to read lines from a file which is getting updated at the same time( new lines are appended at the end of the file). plz suggest a way to implement it in c. thx. | |
This is the problem, when I run it, there are no errors. However when I check the reportfile, I end up with the wrong numbers from the calculations. The calculator: [CODE]void AddDetailToAccumulators(float *totfedtax, float *totssitax, float *totstatetax,float *totrate, float *totreg, float *totovt, float *totgross,float *totpay,float *totdeferred, float gross, float federaltax, … | |
This is a cursor-based implementation of list inserting at the end. In the program below, the output the program will show me is the last element of my input. It is suppose to show all elements from the first input to the last. Also, after two inputs, when inserting, it … | |
I need to list the files in my current directory and have them packed into an array of chars, in Linux. I use system("ls > temp_file"); to write them one per row in a temp file, and then I copy from this file to my string. Is there a more … | |
How could i establish a wifi connection between PDA and desktop using C,Windows SDK?? | |
hey...i want to understand how following code works : [code=c]int x=1; printf("%d%d%d",x,++x,x); [/code] [code]OUTPUT: 222[/code] also [code=c]int x=1; printf("%d%d%d",x,++x,x++); [/code] [code]OUTPUT: 221[/code] actually these o/p are produced when i use [B]visual c++[/B] compiler but when i wrote the same commands in [B]turbo c[/B] they gave perfectly understandable o/p as [B]221[/B] … | |
Where do I locate the logical or on my keyboard? Thanks for your help in advance. | |
Hi Guys, i am pretty new into C. I read a book and made some examples. So all this is just precedural programming. Nothing special. I want to read all the Hardwareinformation i can out of my system. (Windows XP System). I can already read via Registry, CPUID and SYSTEM_INFO … | |
Hello Everyone!, This Forum has helped me very much in understanding different solutions in C-language . Before I post my query i would like to thank everyone for there help in the past. Q: I have a text file say "input.txt" which contains a table in the following form NAME … | |
O.k My teacher game me a take home exam which will be submitted on monday..... and also I have to defend what I composed so I will ask you many questions so that I will understand this program..... my teacher said Never use C... do it in your own ideas.... … | |
Hi all, I have a code to read the records using a file,also the file has got unnecessary stuff that needs to be ignored. I am able to read and write only the first record,next am able to read and write only the second "record name" but not the whole … | |
hello,can someone help me? I must make a program which contains: Deck (the data in it must be integer(numbers)),(if possible,in header file). Sort the elements by the method of Shell Find the elements that can be divided by 5, and smaller then the largest number that can be divided by … | |
Hello, I'm trying to find some help with code that I've been maintaining and currently trying to modify. Basically, I am working with a single array of length "m", call it the "max" array. Other than knowing that each entry in the "max" array is nonnegative, I have no other … |
The End.