15,539 Topics

Member Avatar for
Member Avatar for hansamurai

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 …

Member Avatar for Narue
0
114
Member Avatar for tonja1196

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

Member Avatar for tonja1196
0
107
Member Avatar for felcris_pf23

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

Member Avatar for FireNet
0
98
Member Avatar for tkeineetse

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.

Member Avatar for Cain
0
112
Member Avatar for Chester1

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 …

Member Avatar for alc6379
0
81
Member Avatar for Him3

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 …

Member Avatar for Narue
0
136
Member Avatar for aviral82

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

Member Avatar for alc6379
0
189
Member Avatar for plasmafire

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 …

Member Avatar for plasmafire
0
149
Member Avatar for dooda man

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 …

Member Avatar for Narue
0
366
Member Avatar for Minky

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:

Member Avatar for alc6379
0
81
Member Avatar for Erica

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!

Member Avatar for Narue
0
289
Member Avatar for ellas747

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

Member Avatar for Narue
0
1K
Member Avatar for Chester1
Member Avatar for Chester1

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!

0
123
Member Avatar for matika

#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

Member Avatar for matika
0
189
Member Avatar for Chester1

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

Member Avatar for sergio
0
102
Member Avatar for mohammad

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:

Member Avatar for Narue
0
142
Member Avatar for Asif_NSU

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

Member Avatar for Asif_NSU
0
108
Member Avatar for krishcrush22

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 …

Member Avatar for alc6379
0
195
Member Avatar for Chester1

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 …

0
73
Member Avatar for ray96

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.

Member Avatar for Dave Sinkula
0
134
Member Avatar for XianBin

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 …

Member Avatar for XianBin
0
138
Member Avatar for Ginger

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 …

Member Avatar for frrossk
0
150
Member Avatar for ohnbabygal

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

Member Avatar for Dave Sinkula
0
84
Member Avatar for Anu

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 …

Member Avatar for chound
1
123
Member Avatar for h3rtz

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

Member Avatar for Narue
0
100
Member Avatar for raar

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 …

Member Avatar for raar
0
173
Member Avatar for jasweb2002

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 …

Member Avatar for jasweb2002
0
70
Member Avatar for hiunnati

Hello, I am new to this site, found reference through google.com. I am attaching a sample code. The variable “file_nm

Member Avatar for Dave Sinkula
0
173
Member Avatar for ari_4u

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.

Member Avatar for ari_4u
0
72

The End.