- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 23
- Posts with Upvotes
- 21
- Upvoting Members
- 19
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
is there any alternative for wavread (in matlab) in c. i want to get the samples, sampling frequency and bits per sample??? |
|
Re:
Plz..guys i want to know is there any function that can give ASCII value of character? and do i need to use any header file to use that function |
|
Re:
Hello, I was given a question a few few days back to write a program that lets a user enter a value for an angle and quadrant in which the angle lies is printed using switch statement. I was able to make this program using if-else very easily but making … |
|
Re:
I just have a quick question. Say I have a struct for the purpose of commenting in which it could be filled up or left blank depending on the user. Therefore, I need to dynamically allocate memory to the array comments. [CODE] typedef struct userComments { char comments; } name; … |
|
|
Re:
I'm trying to create an array of structs, of which the array size is defined by the user in the program. eg. p[0], p[1], p[2]..... [CODE] typedef struct { int score; }player; void main() { int numPlayers; printf ("\nEnter number of players (1 - 4)\n"); scanf ("%d", &numPlayers); }[/CODE] The … |
Re:
Programming in PHP is fun and easy. It is a very powerful scripting language that takes simple HTML and turns it into a fully-interactive experience for the web user. Let's get started! Note: These tutorials assume that you have a working web server that's capable of displaying PHP code and … |
|
Re:
I'm looking for a very simple forum script such as the forum scripts they use on Ning.com (ex: [url]http://handofwin.ning.com/forum[/url]). Where can I get a forum script such as that? |
|
So I have a table containing various software and a table containing various features. Each software entry need to have a list of features. Here's where it gets tricky: In my application, I need to be able to select a software entry if it has all the features in a … |
|
Re:
You’ve been given an assorted set of gears. Each gear has a different number of teeth – the notches on a gear that interlock with notches on another gear to transmit speed. You have a couple of belts one coupled to an input and the other for the output. You … |
|
|
Re:
[B]I've tried out suggestions from several posts related to BGI Error (on daniweb n innumerable sites)but it just doesnt get solved.. Whenever i try to execute (after compiling successfully) a graphics program it either exits out of C and into DOS mode or it gives an error "The NTVDM comp … |
Re:
how to write a program for raising a number to a power(integer only) (e.g 2^2=4 ; 3^3=27 etc) [COLOR=Blue][B]without [/B] [/COLOR] using a precompiled C function(ie pow()). [COLOR=Blue][B]but [/B] [/COLOR] only used addition, substraction, while loops,if statement and/or for loop. |
|
Re:
hi I was wondering if anyone knows how to create a dictionary using ANSI C. I really Dont know where to start...any help is appreciated... Thanx in advance |
|
Re:
Hi all, i have a variable in a JFRAME that i need to use in a JPANEL. How can i do that. Example: MainProgram that launches Java Application. Window1 that is a JFRAME Window2 that is a JPANEL In Window1 I have a variable declared example int X = 0; … |
|
Re:
Hello I am new to Java and I have no idea where to start with this program. Can somebody please start me off or display how you would execute the code. Thank you. This is what I have so far, but it is just the basics: [code] /* * For … |
|
Re:
[CODE] #include<stdio.h> #include<stdlib.h> int **transpose(int **x,int m,int n); main() { int nrows=2,ncolumns=2,i,j,k=0; //memory allocation for array x int **array; array = malloc(nrows * sizeof(int *)); if(array == NULL) { printf("out of memory\n"); return 0; } for(i = 0; i < nrows; i++) { array[i] = malloc(ncolumns * sizeof(int)); if(array[i] == … |
|
Re:
create a Report of Customers and my database are MicroSoft Access 2000 Coding are Following Plz somebody hlp me in my project [code=java]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class FrmCustomerReport extends JDialog{ public static JTable JTExpTable; //Start create variables JButton JBSearch = new JButton("Print",new ImageIcon("images/print.png")); JLabel JLPic1 = new … |
|
Re:
[CODE] vowels = wordcount.vowelNum(); //counts the vowels consonants = wordcount.consNum(); //counts the consonants, this is not working properly. [/CODE] the consNum() method: [CODE] int length = word.length(); for(int i = 0; i < length; i++){ if(word.charAt(i) == 'a' || word.charAt(i) == 'u'|| word.charAt(i) == 'i'|| word.charAt(i) == 'e'|| word.charAt(i) == … |
|
Re:
Hello! So this is pathetically easy as programs go in the C language (i hope). I am working on a variation of the Hello World program (as I am just starting to learn C, solo). I am using the C All-in-One for dummies book, and I got a little ways … |
|
Re:
Hi guys, I'm trying to write a recursive method that checks if the first elements of an array of integers are sorted in ascending order but it didn't work for me !! [CODE] public static Boolean isSorted(int [] a, int n){} [/CODE] I tried to copy elements from array a … |
|
Re:
Hi, I am currently doing a project on remote object communication between Flex 4.1 SDK and Java using Flerry API.I need a Java program that can capture the user keystrokes while the user enter's text in the action-script text-area. i.e I need Java program that captures the keystrokes as user … |
|
Re:
Ok, I have the ever popular Inventory Program in a JAVA class going on. I have successfully created a new class to hold the GUI information. I have the window sized and the title of the window placed. When I run the program the GUI shows up. Next I need … |
|
Re:
[CODE]#include<stdio.h> #include<conio.h> #include<dos.h> #include<stdlib.h> void main() { clrscr(); while(!kbhit()) { struct time t; gettime(&t); textcolor(random(15)) ; gotoxy(23,3); printf("%d:%d:%0d",t.ti_hour,t.ti_min,t.ti_sec); sleep(1); clrscr(); } getch(); }[/CODE] |
|
I just wrote a program that plays various drum sounds when certain keys are pressed. It works for the most part but, when two keys are pressed at the same time, only one sound plays. Both key presses are received, however. I am using the Clip class which allegedly supports … |
|
Re:
Well, after searching through some old posts here, I found that there were different ways to go about playing general sound effects in C. Can anyone help me figure out how to play sounds in my programs? I'm making them in C ( hence this sub form) and I'm on … |
|
Re:
I'm new to scripting. I'm trying to find out how to target my cout to a field in a gui. Any direction will be greatly appreciated. |
|
I'm not all that familiar with the C syntax rules, I've mostly worked with C++, and I'm having some weird problems working with Visual C 2008. Here's my code: [CODE=c]#ifndef IFF_H #define IFF_H #include <stdio.h> #include <stdlib.h> #define IDS_GROUP "" #define IDN_GROUP 1 #define IDS_CAT "cat " #define IDN_CAT 2 … |
|
Re:
i am new to C and i am trying to learn more as i am taking a basic class. we started out with basic programs and now we are making a tic tac toe board. i was wondering what a 8 bit binary counter would look like. i know the … |
|
Re:
Help! Im trying to overwrite a certain record in a text file (basically a log in log out file). Im using Random Access File. I tried to write the updated record using writeBytes but what happens is that it was APPENDED after the record i wish to overwrite. from 150.20.111.0&2010062216:06:31 … |
|
Re:
Hiieee...der I am writin a somethin where I require to get string from the user anr then tokenise it.Can some1 give me some ideas on how to get started.I need the string to be in a loop as well. |
|
I can't find, within my project directories, any option to specify where I want my .exe to start in. I want to do this for that sake of .dll and other file references. Any help? |