15,551 Topics
| |
Please i want the code of the function which could get the serial number of the Hard-disk of any computer Please Can anyone help ? | |
How do you limits employee display where you enter the department for all the employee within that department be displayed and if lets say they are 100 or so and you have to limits 10 employee per page before entering anything to display the next 10 again? | |
Ok Yes I admit it I'm a student with a homework problem but I'm using this forum as a last resort. I've already written the code and I can't find the error no matter how many times I look over it so I really just need a second set of … | |
hi guys...... i have a problem in writing a program of "how to delete the duplicate elements in an array" for example....if i enter an array like: 10 20 30 40 30 then it should print: 10 20 30 40 so could plz help me out????? :cry: i have attempted … | |
Hey Everyone, I need to write a program where the first half builds what is basically a file directroy tree. Files and their paths will come in from file in the form... /program/file/whatever ... and be read into a string. Problem is I don't know how to manipulate strings very … | |
Hi... Does anybody know the CYK algorithm? If o plz help me out.. This is basically testing the accetpance of languages.... | |
[code] // function prototype - print accepted transactions void transAccepted(ofstream&, int&, string&, int&, float&); // function prototype - print rejected transactions void transRejected(ofstream&, int&, string&, int&, string&); //function call transAccepted(outputFile, count, accept, weight, cost); //function call transRejected(outputFile, count, reject, weight, fill); //prototype header void transAccepted(ofstream &outputFile, int &count, string &accept, … | |
hi "this program is for adding 2 tables with 3 rows and 4 columns" .... so i have done like this...... #include<stdio.h> #include<conio.h> void main() { int a[3][4],b[3][4],c[3][4]; int i,j; clrscr(); printf("\nENTER AN ARRAY:"); printf("\n\nFIRST TABLE:"); for(i=0;i<3;i++) { for(j=0;j<4;j++) { scanf("%d",&a[i][j]); } } printf("\nENTER AN ARRAY:"); printf("\n\nSECOND TABLE:"); for(i=0;i<3;i++) { … | |
here is the code: [code] struct Vertex { Vertex(){} Vertex(float x, float y, float z) { _x = x; _y = y; _z = z; } float _x, _y, _z; static const DWORD FVF; }; const DWORD Vertex::FVF = D3DFVF_XYZ; [/code] firstly, does the word static in the struct Vertex … | |
I need help writing a for-loop that will achieve the following pattern a certain number of times. In the example below, the number is 4 (determined by the leading | in pattern: *****************| 222222 *****************0 2 ****************0 0 2 ************| 222222 ************0 2 ***********0 0 2 *******| 222222 *******0 2 … | |
:-| Hi I'm new to this daniweb... can anyone suggest me how to implement an ADT tree using pointers...or where i could find the code for it... | |
This is what I have so far, but I must incorporate the fgets, strtok, and strlen, to meet my professors requirements. [code] #include "stdio.h" #include "string.h" main() { char word[40], latin[40], temp[40], vowels[6] = "aeiou"; char *foundat, *i, *j; int where; printf("Enter a word\n"); gets(word); foundat = '\0'; i = … | |
Im writing a program that when given a date in the form of mm/dd/yyyy will calculate how old the person is in years... right now im stuck at getting the data as i cant figure out how to separate the data when it's entered in mm/dd/yyyy format... any suggestions? | |
I was wondering if anyone here knew, or could tell me where to find out....how much (estimated) would it cost me to get a professional software company who specializes in custom software to make me a piece of software (Chat program) with the following capabilities and specs: - Sign on … | |
I'm trying to understand how to write a function to fill an array of strings using gets(array_name[i]),i being the row index. Ihave no clue how to even start this I have created a driver that declares a 2-D array that is a list of strings with one string per row. … | |
hey buddies, plz help me in getting a new project idea for my college project...i wanna do sumthg with oracle at the backend of the dbase and asp.net in the front end...any senoirs or peers or even juniors have any good idea??? plz lemme know !!! | |
I have been given an assignment to calculate complex numbers being, added, multiplied, divided and subtracted however it is much more advance than the first assignment i was given, to calculate the surface area and volume of a rectangle. I don't even know where to start on this one as … | |
below is what im talking about: int d3d::EnterMsgLoop( bool (*ptr_display)(float timeDelta) ); i don't understand the bool (*ptr_display)(float timeDelta) bit i think its a function pointer parameter type, so that it must point to a function that returns a value of type bool, and it must contain a single parameter … | |
i've referred a couple of datastructure books and both give different definitions for width of a binary tree. one says its the no of nodes at a level,while another says its the longest path that can be traversed in a binary tree. can any one help me with a recursive … | |
:rolleyes: This is a program where the user enters how much they owe, then they enter how much they are gonna pay, like (30 dollars for a $25.63 amount), and their change is calculated back to them in ten dollar bills, five dollar bills, one dollar bills, quarters, dimes, nickels, … | |
hi below is my save function that is used to placed data from the C program to a text file for future usage. [code] [COLOR=Blue]void save() { FILE *save; int i = 0; save=fopen("employeerecord.txt", "a+"); do { if(strcmp(record[i].ID, "")!=0) { if(i!=0) fprintf(save, "\n"); fprintf(save, "%s %s %s %s %s ", … | |
Hi I got one assignment to submit within 2 days.I am suppose to build scanner(lexicle analyser) in c,which will take input from standard input stream and print its class. for example if I input + it will displya "plus",- "minus" I have to run this program in unix environment. program … | |
Can someone out there help me with this prog. ?? I have been trying to get this for the past 2 weeks !! The question is: Write a program to input an array having n integers. Display the array. Input a number x. Perform the following functions: 1)Delete all the … | |
can someone explain to me what does below code do?? [PHP]keybd_event(VK_MENU,0x38,0,0); keybd_event(VK_RETURN,0x1c,0,0); keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0); [/PHP] | |
I have a long and confusing problem (to me) I'm new to C. I was wondering if anyone could help me with my problem. File: Prime.h #include <stdio.h> #include <stdlib.h> int is_prime(int n); File: is_prime.c #include "primes.h" int is_prime(int n) { int k, limit; if (n == 2) return 1; … | |
Hi, I've downloaded the MS Agent and some sample codes. They worked well but I don't understand the code much. In my dialod-based application, I insert an ActiveX Control (MS Agent Control 2.0) and that's all, I don't know what to do next. :confused: Please. tell me what I should … | |
hi guys...... i have a problem in writing a program of "how to delete the duplicate elements in an array" for example....if i enter an array like: 10 20 30 40 30 then it should print: 10 20 30 40 so could plz help me out????? i have attempted little … | |
[B]Dear all I have what same body to answers this three question PLZ :sad: (1) The brief history of evolution of 'c' language. :sad: (2)The advantages of this language among other available languages :sad: (3) Why it was given the current name 'C' PLZ nooooooooooowwwwwwwwwwwwwww[/B][COLOR=Red]undefined[/COLOR][SIZE=5]undefined[/SIZE] | |
Im stuck on these functions. How does one start to write a function to print out a set of 4 different patterns? So far ive gotten to the point where im using void PrintPattern(int pattenrsize, int patternnumber, char patterncharacter) now im lost as to how I read in the size … |
The End.