15,539 Topics
| |
I have to write an algorithm that decides if two structs are structurally equivalent. This is more theory that real programming so pseudo-code in something that sort of looks like C would be fine. Basically I have to compare scalers, arrays, pointers, and structs. So if anyone can provide any … | |
I have a lab to create a loop to determine the positive divisors of an interger and then determine if the interger is a perfect,deficient, etc. I am having trouble determining how to write the statement to determine the divisors of the numbers. I believe the % operator is used. … | |
[FONT=Arial]undefined[/FONT]how to make a program than can run the "*" 1.from left to right 2.right to left 3.up to down 4.down to up? 5.combination of all.... pls... help me... :-| | |
The program to compute the area and perimeter of an arbitrary triangle using the formula: Area=sqrt[(s)*(s-a)*(s-b)*(s-c)] where a,band c are lengths of sides ands is the semi perimeter. s=(a+b+c)/2. I m making a lot of errors where i dont know what to do. | |
I,ve been on this page for only a week, and I got help from some one that took it upon Himself to go way beyond to help Me, His Name is clartsonly on on DaniWeb.His Rep is a lot high than what it is and if I had it my … | |
Hi, I have to complete a project as the part of my curriculam. The Title is[b] "INTELLECTUAL PROPERTY & HUMAN RESOURCE EXPERTISE DATABASE FOR A SOFTWARE COMPANY"[/b]. If anybody knows nything abt this then pl let me know. I want to know the how should I integrate 2 topics IP … | |
hi all , i have to create an ellispe the inputs are major axis , minor axis , and the angle of the major axis the ellipse needs to be tilted. thanks aviral | |
need to do the conversion as said above. eg. "one thousand five hundred" --> 1500 1500-->"one thousand five hundred" upto billion.. tried using this logic.. separate billion, million, thousnd, units..made std fn fn_conv(){ convert to hundredth place.. then store to var.. million, billion ..} then print in format.. ("%d,%d,%d,%d",billion,million,thousnd,units); but … | |
I want the user to use the four cursors up,down,right,left. i tried to use getch() but it didnt work because the four have the same ASCII code which is 224, so i cant diffrentiate between them plz any one tell me how to make the user use them aam and … | |
online address book to keep track of names, addresses, phone numbers, and date of births of family, friends and business associates. the program should be able to handle any amount of entries by using linked list and pointers. :rolleyes: | |
My program is reading the last line of data from an infile twice. When I execute the program, the last line of data is being displayed twice. Please Help! | |
I'm having problem writing code for a program that estimates the value of the mathematical constant e by using this formula e= 1 + 1/1! + 1/2!... I just cant get this to work. Can someone please help | |
NEED some one to help me Access a Primary Key in SQL for MS, with the primary Key Being ST with a AutoNumbering of 23, HOW can I :cry: ? SEE code from YESTERDAY Chester1 at 09-28-2004-05:02pm.Thanks for the help! | |
#define ENDFILE "CTRL-Z" this end the file whenever the user enter CTRL-Z what i need, i want the user 2 enter CTRL-X to end the program #define ........ "CTRL-X" ( what could i write here) so the program end whenever the user press CTRL-X | |
Need HELP! This Program that accesses a data base will not print out information from Data Base.I think the Problem is in the SELECT statement.The Primary Key is ID1, I want to Access Primary Key 2, Field Father but when I run it, it will only print out Quote: " … | |
i am new on file(c) if i copy fscanf(nom du file,"%d",&a); from where i want copy th value of a plz send for me a example use fscanf plzzzzzzzz realy i need help :cry: :cry: | |
Hi guys, itz my that projectile game in C which used to be in code snippets sections. Well, as u can see no one was able to compile it and as a consequence it's been thrown out of the snippets :rolleyes: Well, here is the complete program, no codes -- … | |
The aim of this assignment is to write a program that simulates a small collection of computers on a Lan sending messages to another small collection of computers on another Lan. There is a Wan connection between each Lan. This introduces the concepts involved in simulating a simple Lan-Wan-Lan connection … | |
This code works to access the whole file, but need to access the primary key. Please help! Thanks! :mrgreen: #include <windows.h> #include <stdio.h> #include <conio.h> #include <iostream.h> #include <tchar.h> #include "ODBCWrapper.cpp" //make sure you include the namespace using namespace ODBC; int main(void) { MDBConnection link; if(link.Connect("C:\\Documents and Settings\\Chester Mayle\\My Documents\\My … | |
Hi, I am very new to C, and also to this forum, so please bear with me. :!: :o I am trying to create a console astronomical program, and I need to know how to convert radian numbers to degrees. I would appreciate any help. | |
I don't how to description this puzzle, just like this: [code] int *fun_num() { int b = 123; return &b; } char *fun_char() { char *b = "123"; return b; } int main(int argc, char *argv[]) { int *pfun; char *pchar; pfun = fun_num(); pchar = fun_char(); cout << *pfun … | |
I am to write a program to read a non-negative integer n and call function add_it() to calculate the sum ... If n is 5, the sum 1+2+3... would be computed. n must be less than 8943923. Use a for loop, rather than the summation formula. I am to put … | |
just a quick ques :P lets say i hav five names in my input file. i wanna read the 3rd name in my program. how do i do it? (remember i dont wanna read the whole file..i know how to!) | |
Hi, I just started a program containing every single prog we have done for school so far and added some private stuff. Searching through my older files I found a prog which lists all Integers between 1 and 255 and their respective ASCII char, so I decided to include it … | |
hey! ....i'm creating a lo0p program right now. and i'm on the finishing touch part. i want the program to ask "[B]press any key to continue[/B]" and when the user inputs any key, it'l return to the top of the loop( a while lo0p). hope you can help me ... … | |
Hi, I want a generate a node that consists of three integers but I want to store these three integers in bits and not bytes e.g if the node has the values 4,3,2 in integers it will be stored as 00000100-00000011-00000010 but if I store them in bits then they … | |
Hey Everyone Right now I am writing a file that needs a queue defined as a class. The queue has a function called 'front' that should return a reference to the front element of the queue. Needs to be a reference so the element can be altered. Bloc is a … | |
Hello, I am new to this site, found reference through google.com. I am attaching a sample code. The variable “file_nm | |
i want to make a matrix with specified numbers and the time of occurance of the the number is also pre-selected. i cant find a way, please help me. |
The End.