15,552 Topics

Member Avatar for
Member Avatar for pro2105p

Hi, I am new in OS programming and I need some links for newbie OS programming. With detailed explanation of syscalls (I don’t ask for ready code , just explanation and some example code if exist ) I try google but I didn’t found match things (nothing for a newbie …

0
58
Member Avatar for boshkash1986

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 ?

Member Avatar for vegaseat
0
114
Member Avatar for neeraj
Member Avatar for Narue
0
62
Member Avatar for kimimaro

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?

0
73
Member Avatar for coppernicus

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 …

Member Avatar for frrossk
0
190
Member Avatar for galmca

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 …

Member Avatar for alc6379
0
345
Member Avatar for jasweb2002

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 …

Member Avatar for frrossk
0
95
Member Avatar for beanstalk

Hi... Does anybody know the CYK algorithm? If o plz help me out.. This is basically testing the accetpance of languages....

0
60
Member Avatar for nonconformed

[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, …

0
80
Member Avatar for galmca

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++) { …

Member Avatar for galmca
0
119
Member Avatar for mattcplusplus

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 …

Member Avatar for mattcplusplus
0
107
Member Avatar for Nyika

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 …

0
75
Member Avatar for beanstalk

:-| 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...

0
83
Member Avatar for jamieerr

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 = …

0
69
Member Avatar for phr0stbyt3

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?

Member Avatar for phr0stbyt3
0
127
Member Avatar for mech00

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 …

0
87
Member Avatar for Ginger

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. …

Member Avatar for Narue
0
126
Member Avatar for luvusilly

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 !!!

Member Avatar for jigvesh
0
214
Member Avatar for jcr1

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 …

0
78
Member Avatar for mattcplusplus

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 …

Member Avatar for mattcplusplus
0
89
Member Avatar for cuperman

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 …

Member Avatar for Chainsaw
0
99
Member Avatar for tionik06

: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, …

Member Avatar for vegaseat
0
145
Member Avatar for kimimaro

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 ", …

Member Avatar for Narue
0
93
Member Avatar for vrush

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 …

Member Avatar for vrush
0
122
Member Avatar for Tejas

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 …

Member Avatar for cuperman
0
90
Member Avatar for kakilang

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]

Member Avatar for Narue
0
347
Member Avatar for tyalangan

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; …

Member Avatar for Narue
0
121
Member Avatar for skywing

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 …

0
64
Member Avatar for galmca

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 …

Member Avatar for Narue
0
93
Member Avatar for marwanessa

[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]

Member Avatar for Narue
0
73

The End.