19,876 Topics

Member Avatar for
Member Avatar for felcris_pf23

hi!do you know how to make a program in C that can run the "*" 1.from left to rith? or 2.from rigth to left? 3.up to down? 4.down to up? 5.combination of all... pls...pls...pls....pls...help me.. :sad:

Member Avatar for alc6379
0
122
Member Avatar for jaeSun

i havent been able to find anyone to help me .... i am looking to create a queue .... i cant use a stack, as that is LIFO (last in, first out) ... but i need a FIFO (first in, first out) .... i have some code for a stack …

Member Avatar for jaeSun
1
291
Member Avatar for ray96

Hi! I had 1 problem in C, now I have another one. :o Please bear with me. I am learning the C language. Please run the following calculation in a scientific calculator. When the "=" sign is shown at the end of the calculation, be sure to press the = …

Member Avatar for vegaseat
0
339
Member Avatar for Young Teck 06

[FONT=Verdana]Hello everybody, I am fairly new here. I was banned from another forum because of a false rumor that got to the administration. Anyway, just wanted to welcome myself. Secondly, I am trying to learn C++ and I purchase a C++ book from a local book store. The book is …

Member Avatar for Young Teck 06
0
167
Member Avatar for michal

Hi, I get this message when the program shold exit the main function. I think that the problam could be in that function (that is being called from main): void scanFileToMat( ifstream mFile,int arr[43][43]) { string m ,s; int pos; double sign; int col, value; getline(mFile,m,')'); while(!mFile.eof()) { mFile>>sign; arr[numSV][42]=sign>0; …

Member Avatar for Narue
0
483
Member Avatar for jlopes151

As a long time Windows C++ developer I now find myself with the will/opportunitty to develop on the Linux platform. I'm intrested in multi-thread development, Socket, ODBC development. Thanks for any help James

Member Avatar for Narue
1
125
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
117
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
110
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
100
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
115
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
83
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
142
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
219
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
173
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
372
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
85
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
311
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
124
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
191
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
106
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
150
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
111
Member Avatar for asn_vasan

difference between c and c++ languages difference between templates and class,structures in c language and class and structures and templates difference between java and c++

Member Avatar for Narue
0
148
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
198
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
77
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
137
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
146
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
169
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
94
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
129
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
102
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
178
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
74
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
175
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
77
Member Avatar for Bill T

Im trying to find the circumference of a circle and the area whe i runn the program need help starting and help with area can some one help please Im new and dont have a clue with c :sad:

Member Avatar for Bill T
0
137
Member Avatar for GDFans

Im writing a programme in graphics mode using BGI.I want to get inputs from user and display it on screen,like text mode does.But fuctions such as scanf() cannt work any more.Can anybody give me a solution?

0
130
Member Avatar for elspork

would there be any drawbacks, or would it simply be bad form, to divide the implementation of a particularly large class into several files?

Member Avatar for Chainsaw
0
83
Member Avatar for elspork

What I'd like to know is if there is a way to tell how much space I have available in the stack and put that size into a variable. ie long x = [stacksize] I think I may have a poor understanding of how memory management works, so forgive me …

Member Avatar for Chainsaw
0
172
Member Avatar for scott_6169

I just wanted to post this thread and let you guys know that I really appreciate the help you have given me. Your advice was great!!

Member Avatar for Stack Overflow
0
72
Member Avatar for Tomás

I'm useless at programming so could someone help with simple programes for calculating the aresa under a curve ie "Integral" and one for reading words from an infile sorting them alphabetically and prenting to an outfile??

Member Avatar for kc0arf
1
106
Member Avatar for meirre

troubled about this: i need help on how can i display the number of times a value appear in array ex: number[3][3]={{1,2,3},{2,3,4},{3,4,5}} 1 appeared 1 time(s) 2 appeared 2 time(s) 4 appeared 2 time(s) simple tips would do....thanks

Member Avatar for Dave Sinkula
1
95
Member Avatar for bob123452

i was wondering if there was any difference when you code an application using regular c++ 6 vs c++ .net 2003? Thanks

Member Avatar for C#Coder
0
436
Member Avatar for rdn2113

Just wondering about the best way to capture keyboard input from a CEdit or CComboBox control. Any ideas from those who have already invented this wheel would be appreciated. Thanks!

Member Avatar for rdn2113
0
135
Member Avatar for dhanashree

Hi I want to know... can we able to create array of files and how ?????????

Member Avatar for kc0arf
0
205
Member Avatar for dhanashree

how to increment file pointer .... suppose i want to read the 1st possition in the file and then the 64th position ..how to do that??????????

Member Avatar for frrossk
0
129
Member Avatar for smarkles

Our instructor asked us why its important to be able to replace values in a pointer........Here is what I came up with... By using a pointer, a block of memory is allocated at runtime, therefore a program can be more flexible than one that allocates all its memory at once(read …

Member Avatar for Stack Overflow
0
187
Member Avatar for Shahzad Shakoor

PLzz guide me.....How can i produce MIDI sound through external speakers using sound card..

0
81

The End.